PwnLnX : An Advanced Multi-Threaded, Multi-Client Python Reverse Shell For Hacking Linux Systems

PwnLnX is an advanced multi-threadedmulti-client python reverse shell for hacking Linux systems. There’s still more work to do so feel free to help out with the development. Disclaimer: This reverse shell should only be used in the lawful, remote administration of authorized systems. Accessing a computer network without authorization or permission is illegal.

Getting Started

Please follow these instructions to get a copy of PwnLnX running on your local machine without any problems.

Prerequisites

  • Python3:
    • vidstream
    • pyfiglet
    • tqdm
    • mss
    • termcolor
    • pyautogui
    • pyinstaller
    • pip3
    • pynput

Installing

Download source code

git clone https://github.com/spectertraww/PwnLnX.git
cd Pwn LnX

download and install dependences

chmod +x setup.sh
./setup.sh

Getting PwnLnx up and running

  • Show help

python3 PwnLnX.py –help

  • Listening for incoming connections

python3 PwnLnX.py –lhost [your localhost ip address] –lport [free port for listening incoming connections]

  • Creating/Generating a payload

chmod +x PwnGen.sh
./PwnGen.sh

  • Then follow the procedure to successfully create your payload, the payload is saved in PwnLnx directory. Send the created payload to victim.

PwnLnx Usage

CommandUsage
helpshow help
exitclose all the sessions and quit the progaram.
show sessionsshow all available sessions from connected.
session [ID]interact with a specified session ID.
kill [all/ID]kill a specified session or all to kill all sessions.
bannerhave funny by changing the program banner

Interact With A Session

CommandUsage
helpshow help.
quitclose the current session.
backgroundbackground the current session.
sysinfoget minimum target system information.
create_persistcreate a persistant backdoor.
uploadupload the specified filename to the target system.
downloaddownload the specified filename from the target system.
screenshottake a desktop screenshot of the target system.
start_screensharestart desktop screensharing.
stop_screensharestop desktop screensharing.
start_keycapstart capturing victim’s pressed keystrokes.
dump_keycapdump/get the captured keystrokes.
stop_keycapstop the capturing keystrokes.

NB. you can also execute linux system commands besides those listed above.

Snapshots

R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

1 day ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

1 day ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

2 days ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

2 days ago