This is a basic bind shell script in python 2 , containing both server and client classes. This bind shell can work on both Windows and Linux OS.
Server mode of script should be started at victim machine by executing bellow commands in terminal of victim machine:
python shaker.py server [port to bind]
This will open specified port and listen for incoming shell commands from a user running this script in Client mode.
Client mode od script should be used to communicate with victim machine running this script in server mode , inshort, we can run this script in client mode to communicate with device running this bind shell in server mode. Two things we should know before running this script in client mode are :
- IP of victim machine.
- Port on which this bind shell is running.
Run bellow terminal command to start client mode :
python shaker.py client [port on which bind shell is running] [IP of victim machine]that will bind a port. Client mode should be
Now If we want to shut the bind shell running on victim machine, then you just have to type "exit" on shell at client side . It will stop the script on victim side and port will go free.
If any issues or comments connect with me at twitter @_j0lt