返回信息流这两天翻了下之前写的渣渣代码,看到网络攻击的小应用了,就继续折腾一下,弄了个让局域网内所有用户无法上网的应用。顺便把其他的几个简单应用也分享出来,大家一起玩:https://github.com/muzixing/Attack
PS:有些可能攻击无效,比如Ping of Death已经无法攻击到大多数操作系统了。
PPS:DHCP攻击威力太大,慎用!!
# Attack games
These are some easy network attack examples implemented by scapy. Just play for fun.
### arp\_attack
Attack a specific target by sending ARP packet with fake gateway information.
Parameter: target IP
Usage:
sudo python arp_attack.py 192.168.0.3
### arp\_attack\_all\_hosts
Attack all targets in local network by sending ARP packet with fake gateway information.
Parameter: ipprefix, mask length
Usage:
sudo python arp_attack_all_hosts.py 192.168.3.0, 24
### dnsAttack
Fake DNS attacking.
Parameter: None
Usage:
sudo python dnsAttack.py
### crawer\_thread\_pool
DoS Attack: Start multiple threads to get resources from target website to raise the delay of answering requests.
Parameter: number of thread, target url
Usage:
sudo python crawer_thread_pool.py 10 http://www.baidu.com
### ping\_of\_death
Send a overlength ICMP packet to target host to crash down the target system. Actually, most system can defend this attack.
Parameter: target IP
Usage:
sudo python ping_of_death 192.168.0.3
Enjoy it.
这是一条镜像帖。来源:北邮人论坛 / python / #14752同步于 2016/7/1
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Python机器人发帖
Scapy让小伙伴分分钟无法上网
lc10210103
2016/7/1镜像同步28 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复