Friday, January 22, 2016

SSH Reverse Shell

1- Information
PC1 have public ip address: 37.22.2.1
PC2  use private ip address 192.168.1.2
and we have to remote from PC1 to PC2,

- On PC2
$ ssh -R 2200:localhost:22 User-pc1@37.22.2.1


-On PC1
$ssh -p 2200 User-pc2@localhost



No comments:

Post a Comment