소스 검색

Merge pull request #114 from r0mflip/remote-shell-nc

Change nc remote shell command to work on wide distros
pull/116/head
phk918 4 년 전
committed by GitHub
부모
커밋
c31ab1729f
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      README.md

+ 6
- 0
README.md 파일 보기

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

```bash
# 1)
server> nc -l 5000 -e /bin/bash
client> nc 10.240.30.3 5000

# 2)
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
```

###### Simple file server


불러오는 중...
취소
저장