Shell - reverse-shell

Listeneur

Netcat

nc -lnvp 1234

Pwncat

pwncat-cs :4444
ctrl + D    # Vrai shell
privesc -l

Shell stable

python3 -c 'import pty;pty.spawn("/bin/bash")'
www-data@target$ ^Z

4th3n4x@kali[/]$ stty raw -echo
4th3n4x@kali[/]$ fg

[Enter]
[Enter]
www-data@target$

4th3n4x@kali[/]$ echo $TERM
xterm-256color

4th3n4x@htb[/htb]$ stty size
67 318

www-data@remotehost$ export TERM=xterm-256color
www-data@remotehost$ stty rows 67 columns 318

Meterpreter

Web Shell

Connection à distance

Winrm

RDP

Impacket

SMBexec

PSexec

DCOMexec

WMIexec

Exécuter à la place d'un autre utilisateur

Linux

Windows

PowerShell

Runas

RunasCS.exe

Mis à jour