Reverse Shell
SSH
authorized_keys file
First, in attacker machine we need to generate the keys:
Two files are generated, id_rsa
(private key) and id_rsa.pub
(public key).
Copy the id_rsa.pub
content and paste it in the victim file:/home/<user>/.ssh/authorized_keys
And finally, try to enter the victim machine:
curl
wget
Format payload
Last updated