Created
July 5, 2018 06:02
-
-
Save fortable1999/ac05437478c4b0bedcdd26b97a7400e6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
### Send file | |
## On the receiving end running, | |
nc -l -p 1234 > out.file | |
## On the sending end running, | |
nc -w 3 [destination] 1234 < out.file | |
### Proxying | |
nc -l 12345 | nc www.google.com 80 | |
### Making any process a server | |
nc -l -p 1234 -e /bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment