1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-06 12:00:34 -07:00
moth/packages/ctfbase/service/sshd/run

6 lines
172 B
Bash
Executable file

#! /bin/sh
exec 2>&1
iptables -A INPUT -s 10.0.0.0/16 --proto tcp --dport 22 -j ACCEPT
iptables -A INPUT --proto tcp --dport 22 -j REJECT
exec dropbear -r ./rsa.key -E -F