tags: ssh
-
Manhattan 3d - Grasshopper
#
3956 days ago
lioku
-
SSH Kung Fu | Hacker News
#
4012 days ago
quilime
-
TunnelsUP - Raspberry Pi: Phoning home using a reverse remote ssh tunnel
#
4330 days ago
quilime
-
hypergeometric SSH Dos and Donts
#
4811 days ago
quilime
-
in case your laptop is stolen...
To all of the mac/linux/bsd users here:
Put this in a shell script, and add it to cron, run it once a minute or so.
if wget http://myserver.com/sshreverse; then ssh -R 2900:localhost:22 User@myserver.com; fi
If your box is ever stolen, put a file on your webserver called "sshreverse". Wait about a minute, then do:
ssh whatever_your_username_is_on_your_mac@localhost -p 2900
Now you've got an SSH connection back into your laptop. Use this to install a keylogger, take a picture, etc. etc.
(This will get you around NAT devices like wifi routers and the like [or firewalls or whatever. This is a reverse ssh session, to the firewall, it looks like an outbound connection])
edit: want to just say that that exact string of commands isn't something I wrote, a fellow hacker recommended it to me about a year ago or so.
#
4812 days ago
quilime