Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ngrok with netcat

nc -lvnp 87
^^^ Run this command on shell session#1

ngrok tcp 87
^^^ Run this command on shell session#2
^^^ Both sessions should be simultaneously running
^^^ In the shown screen look for domain name and port in "Forwarding"
nslookup <ip address without protocol and port>
^^^ Get its ip through nslookup command

nc <ip> <port>
^^^ On remote computer, execute this command.
 
PREVIOUS NEXT
Tagged: #ngrok #netcat
ADD COMMENT
Topic
Name
9+4 =