Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mustafadalga/Multi-Client-Reverse-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

___ ___ _ _ _ ______ _____ _ _ _ 
| \/ | | | | (_) | ___ \ / ___| | | | |
| . . |_ _| | |_ _ | |_/ /_____ _____ _ __ ___ ___ \ `--.| |__ ___| | |
| |\/| | | | | | __| | | // _ \ \ / / _ \ '__/ __|/ _ \ `--. \ '_ \ / _ \ | |
| | | | |_| | | |_| | | |\ \ __/\ V / __/ | \__ \ __/ /\__/ / | | | __/ | |
\_| |_/\__,_|_|\__|_| \_| \_\___| \_/ \___|_| |___/\___| \____/|_| |_|\___|_|_|
 
 

Description

A multi-client reverse shell allowing multiple connections from target computers.


Description
➡️ Can be used by converting the ReverseBackdoor script to an exe extension using the setup.py script.
➡️ When ReverseBackdoor.py is converted to an exe, the persistence of ReverseBackdoor is ensured for Windows operating system only, thanks to the persistent method.
➡️ Thus, every time an operating system session starts, ReverseBackdoor disguises itself as a Windows file and begins to run.
➡️ The target computer where ReverseBackdoor is running continuously sends connection requests to the Hacker (Listener). The Hacker (Listener) establishes the connection as soon as it becomes active. As a result, the Hacker (Listener) can connect to the target computer at any time or disconnect the active connection.
➡️ Notifications are sent to the Hacker (Listener) when connection requests come from target computers.
➡️ File download and upload features allow for downloading and uploading files from/to the target computer.

Installation

Module to install to run ReverseShell and Listener scripts

  • For Linux installation
python3 -m pip install termcolor==1.1.0
  • For Windows installation
python -m pip install termcolor==1.1.0

Module to install to use setup.py to convert ReverseBackdoor.py to exe extension

  • For Linux installation
python3 -m pip install PyInstaller==3.4
  • For Windows installation
python -m pip install PyInstaller==3.4

Usage

Listener usage

  • For Linux usage
python3 Listener.py
  • For Windows usage
 python Listener.py

ReverseBackdoor.py script usage

  • For Linux usage
python3 ReverseBackdoor.py
  • For Windows usage
 python ReverseBackdoor.py

Usage Commands

Usage Commands
help Provides information about application usage.
list Lists connected target computers.
select Used to select connected computers. Selection is made according to the index numbers of the listed computers.
quit Used to stop the connection from the active target computer being operated on.
exit Stops the server from running. Exits the application.
upload Enables uploading files to the selected target machine. This command runs after the target computer is selected.
download Enables downloading files from the selected target machine. This command runs after the target computer is selected.

Notes

  • The scripts work on both Linux and Windows operating systems.
  • Python version: 3.7.2
  • The reason I did not convert ReverseBackdoor to exe using the cx_Freeze module in the setup script is that the ReverseBackdoor copied to the appdata folder for persistence with the persistent module does not run. Alternatively, I performed the conversion to exe with the pyinstaller module.
  • The setup.py file converts ReverseBackdoor to an exe extension by using the pyinstaller exe conversion command with subprocess. For the pyinstaller module to work, the path to the pyinstaller module must be added to the Windows Paths.
  • For more information, you can check the following 2 links:

(Hacker) Listener Screenshots - On Kali Linux operating system

3

4

5

AltStyle によって変換されたページ (->オリジナル) /