Localtunnel lets you expose a local webserver to the public internet. During pentesting, when you want to include a remote file into an application for LFI, Cross Site Scripting and remote code execution. localtunnel is very useful.
It is easy to setup, you can make any changes instantly as it is hosted
on your local machine. localtunnel is available for both Windows and linux.
Step 1:-
Install localtunnel using Rubygems.
$# gem install localtunnel
Step 2:-
Run your local web server on any port. Lets say apache on 8080
Step 3:-
First time you need to create your public ssh key.
Step 4:-
Now run the localtunnel passing it the port to share.The first time you run localtunnel you have to point to the public ssh key.
$# localtunnel -k (path to ssh) 8080
Copy the URL generated by localtunnel and paste in browser.
Done!!!
0 comments:
Post a Comment