scapy scripts (including ddos)

This commit is contained in:
Mari Wahl 2014-12-28 15:50:05 -05:00
parent 2acc68c3dd
commit 8ca96e0b02
28 changed files with 172723 additions and 125 deletions

View file

@ -0,0 +1,21 @@
#!/usr/bin/env python
__author__ = "bt3"
from scapy.all import *
def os_finger(target):
ip = IP()
ping = ICMP()
ip.dst = target
send = sr1(ip/ping)
if send.ttl < 65:
print("IP:%s: Linux"%(target))
else:
print("IP:%s: Windows"%(target))
if __name__ == '__main__':
target = raw_input("Type the IP: ")
os_finger(target)