I gave it a try but I found some problems when executing the script in Linux.
- The 'quit' command should let the backdoor close the connection and finish its execution, but it was not working. The string 'quit\n' is received and the backdoor sends it to the shell instead of quitting.
- When Control+C is pressed, the netcat listener finishes the execution and this leaves the backdoor hanging in an infinite loop, consuming lots of resources (while(True){} without any sleep).
The modified version can be found here: python_reverse_shell.py
0 comments:
Post a Comment