649 / Memcrashed-DDoS-Exploit

DDoS attack tool for sending forged UDP packets to vulnerable Memcached servers obtained using Shodan API
1.32k stars 465 forks source link

error #46

Closed wachirachoomsiri closed 1 year ago

wachirachoomsiri commented 5 years ago

Traceback (most recent call last): File "Memcrashed.py", line 125, in send(IP(src=target, dst='%s' % i) / UDP(sport=int(str(targetport)),dport=11211)/Raw(load=setdata), count=1) File "/home/admin/.local/lib/python3.6/site-packages/scapy/sendrecv.py", line 289, in send socket = conf.L3socket(*args, **kargs) File "/home/admin/.local/lib/python3.6/site-packages/scapy/arch/linux.py", line 407, in init self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) File "/usr/lib/python3.6/socket.py", line 144, in init _socket.socket.init(self, family, type, proto, fileno) OSError: [Errno 97] Address family not supported by protocol

CrimsonTorso commented 5 years ago

Traceback (most recent call last): File "Memcrashed.py", line 125, in send(IP(src=target, dst='%s' % i) / UDP(sport=int(str(targetport)),dport=11211)/Raw(load=setdata), count=1) File "/home/admin/.local/lib/python3.6/site-packages/scapy/sendrecv.py", line 289, in send socket = conf.L3socket(*args, kargs) File "/home/admin/.local/lib/python3.6/site-packages/scapy/arch/linux.py", line 407, in init self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) File "/usr/lib/python3.6/socket.py", line 144, in init _socket.socket.init**(self, family, type, proto, fileno) OSError: [Errno 97] Address family not supported by protocol

Have you tried using it on a local machine, rather than a VM or Windows Subsystem for Linux? Try standard installation.

get3 commented 5 years ago

and what on virtual machines or such as termux, nethunter, will not work?