Skip to content

Instantly share code, notes, and snippets.

@0xIslamTaha
Created June 8, 2018 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xIslamTaha/a43a9c55442f078b8d4538bbb313560c to your computer and use it in GitHub Desktop.
Save 0xIslamTaha/a43a9c55442f078b8d4538bbb313560c to your computer and use it in GitHub Desktop.

Ways to fire a simple servers:

python2 -m SimpleHTTPServer 80
python3 -m http.server 80
php -S 0.0.0.0:8000
apt-get install webfs && service webfs start  # start the webfs server 8000

busybox httpd --help # show available options && busybox httpd -p 127.0.0.1:8080 -h /var/www/  # start start httpd && pkill busybox  # to stop busybo httpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment