Browse Source

change nc remote shell command to work on wide distros

pull/114/head
Ram Damera 5 years ago
parent
commit
b68a2d51e7
No known key found for this signature in database GPG Key ID: 9C0F6368F699F45A
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      README.md

+ 2
- 1
README.md View File

@@ -3235,7 +3235,8 @@ client> tar czvfp - /path/to/dir | nc 10.240.30.3 5000
###### Launch remote shell ###### Launch remote shell


```bash ```bash
server> nc -l 5000 -e /bin/bash
server> rm -f /tmp/f; mkfifo /tmp/f
server> cat /tmp/f | /bin/bash -i 2>&1 | nc -l 127.0.0.1 5000 > /tmp/f
client> nc 10.240.30.3 5000 client> nc 10.240.30.3 5000
``` ```




Loading…
Cancel
Save