Forum Thread: Python [ Bind Shell ]

To connect back i recommend to use netcat command :)

nc serveraddress port

here is my code :

facing any problem with python ? contact me ^.^ :)

Never Miss a Hacking or Security Guide

Get new Null Byte guides every week.

5 Responses

nice script .... thanks for sharing

Help :/ I can't do cd with this. I've tried writing things like this myself but the problem has always been the same and its really annoying. There is no way to run the cd command in python. HALP -.-


you can do this using the is module:

If "cd" in command:
Directory = command3:

Then you can show the current working directory to the server using os:

while True:
cwd = os.getcwd()
conn.send(str (cwd))
data = conn.recv(1024)
blah blah blah...

this script allow to make 1 connection, how modify it to allow more connection

Share Your Thoughts

  • Hot
  • Active