Guest User

devilzc0de rulez !!! python jumping script

a guest
Feb 2nd, 2012
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # devilzc0de.org (c) 2012
  3. import SimpleHTTPServer
  4. import SocketServer
  5. import os
  6.  
  7. port = 13123
  8.  
  9. if __name__=='__main__':
  10.     os.chdir('/')
  11.     Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
  12.  
  13.     httpd = SocketServer.TCPServer(("", port), Handler)
  14.  
  15.     print("Now open this server on webbrowser at port : " + str(port))
  16.     print("example: http://maho.com:" + str(port))
  17.     httpd.serve_forever()
Add Comment
Please, Sign In to add comment