瀏覽代碼

change nc remote shell command to work on wide distros

pull/114/head
Ram Damera 4 年之前
父節點
當前提交
b68a2d51e7
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 9C0F6368F699F45A
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      README.md

+ 2
- 1
README.md 查看文件

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

```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
```



Loading…
取消
儲存