Usage Tips:
- Click on a keyword to enable inline editing.
- Click inside a code block to copy (excludes comments).
- Use the button to view examples.
- Click outside to collapse all examples.
Simply catch HTTP request
Catch HTTP request and host a web server
# Start a local HTTP server
python3 -m http.server <LOCAL_PORT>
Sample Output:
$ python3 -m http.server 3000
Serving HTTP on 0.0.0.0 port 3000 (http://0.0.0.0:3000/) ...
# Redirect http request to localhost:<LOCAL_PORT>
ssh -R 80:localhost:<LOCAL_PORT> serveo.net
Sample Output:
$ ssh -R 80:localhost:3000 serveo.net
Forwarding HTTP traffic from https://7ddf32e17a6ac5ce04a8ecbf782ca509.serveo.net
ngrok http 80
Sample Output:
TO-DO
Ref: ngrok
Note: ngrok free will show a warning message and require user accpet to proceed
Note: Not good for XSS