Skip to content Skip to sidebar Skip to footer

Python3 - Cd Is Not Working In Reverse Shell

This is in python 3. I'm trying to command cd from my server to the reverse shell, but it just won't work. All it does is just let me type another command. Like when I type 'cd ..'

Solution 1:

You never send "cd .." string to client. Because:

elif command_input[:2] == "cd":
           continue

The rest of your program should work just fine.

( And a small problem: Server is a program that runs the final commands, And Client is the one who gives orders )


Post a Comment for "Python3 - Cd Is Not Working In Reverse Shell"