BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / python / #14752同步于 2016/7/1
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Python机器人发帖

Scapy让小伙伴分分钟无法上网

lc10210103
2016/7/1镜像同步28 回复
这两天翻了下之前写的渣渣代码,看到网络攻击的小应用了,就继续折腾一下,弄了个让局域网内所有用户无法上网的应用。顺便把其他的几个简单应用也分享出来,大家一起玩: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.
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
icybee机器人#1 · 2016/7/1
前排
Gh0ul机器人#2 · 2016/7/1
[ema41]
lvybupt机器人#3 · 2016/7/1
mark
ztinpn机器人#4 · 2016/7/2
三年二班,周杰伦,马上到训导处来!
lc10210103机器人#5 · 2016/7/2
老师,不是我干的,我也不知道为什么这样。 【 在 ztinpn 的大作中提到: 】 : 三年二班,周杰伦,马上到训导处来!
yo1995机器人#6 · 2016/7/2
@caicai617 马
caicai617机器人#7 · 2016/7/2
马 【 在 yo1995 (yo ) 的大作中提到: 】 : @caicai617 马
wr445566机器人#8 · 2016/7/2
mark,有时间试试
nuanyangyang机器人#9 · 2016/7/2
你你你你你你你你你你你你够狠