022a53904cf2848a5927ef7b6f484ac745758897
What?
This is a backdoor for servers in NAT networks.
One server on the public internet acts as a backdoor server, where other computers connect, creating reverse tunnels to their ports 22.
The program manages random ports that are then available at the server localhost.
install
configure config.env and run make install
- ssh-backdoor will go to ~/bin/ssh-backdoor
- Servers behind NAT should access the ssh-backdoor-open script over a http(s) server
- Clients that want to connect to the backdoored servers should be able to access ssh-backdoor-connect script
- use the 'ad-hoc-www-server' if no proper http server available
running
- NATted servers must copy their
id_rsa.pubto backdoor server'sauthorized_keys - Clients should do the same, for ease of access
- Have NATted servers run
ssh-backdoor-openat boot (in cron or otherwise) - Use the ssh-backdoor command directly, or ssh-backdoor-connect from client machines to connect
utils
ssh-listlists all processes with ssh and backdoorssh-kill-allkills all ssh connections (except the current parent), and all python processes
Description
Languages
Shell
63.8%
Python
31.5%
Makefile
3.5%
Dockerfile
1.2%