first commit

This commit is contained in:
iProbe 2022-10-18 16:59:37 +08:00
commit ba848e218d
1001 changed files with 152333 additions and 0 deletions

6
shell/safe/02-host.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
sed -i '$a\ALL:ALL:deny' /etc/hosts.deny
for ip in $ip_h;do
sed -i '$a\sshd:$ssh_port:allow' /etc/hosts.allow
done