Browse Source

Update '2)SSH_Brute_Force_Attack/worker1.sh'

main
Panagiotis_Klironomos 4 years ago
parent
commit
1c3cdb2d8e
  1. 4
      2)SSH_Brute_Force_Attack/worker1.sh

4
2)SSH_Brute_Force_Attack/worker1.sh

@ -3,8 +3,8 @@ sudo apt upgrade -y
sudo apt-get install fail2ban -y sudo apt-get install fail2ban -y
sudo apt install rsyslog -y sudo apt install rsyslog -y
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
sudo cp "/project/ssh brute force attack/fail2bansshconf" /etc/fail2ban/jail.local sudo cp "/project/2)SSH_Brute_Force_Attack/fail2bansshconf" /etc/fail2ban/jail.local
sudo cp "/project/ssh brute force attack/sshdconf" /etc/ssh/sshd_config sudo cp "/project/2)SSH_Brute_Force_Attack/sshdconf" /etc/ssh/sshd_config
sudo service ssh restart sudo service ssh restart
sudo service rsyslog restart sudo service rsyslog restart
sudo service fail2ban restart sudo service fail2ban restart

Loading…
Cancel
Save