fix some readmes, added some inits, partially done writing the scapy scripts

This commit is contained in:
Mari Wahl 2014-12-24 09:53:20 -05:00
parent ffb92e0614
commit d29d4e115d
21 changed files with 107 additions and 39 deletions

View file

@ -0,0 +1,19 @@
#!/usr/bin/env python
__author__ = "bt3"
from scapy.all import *
def save():
a = sniff(filter='icmp', iface='wlp1s0', timeout=10, count=3, prn=lambda x:x.summary())
wrpcap('packets.pcap', a)
def open():
p = rdpcap('packets.pcap', p)
p.show()
def scan():
res, unans = sr( IP(dst='192.168.1.114')/TCP(flags='S', dport=(1, 1024)))
print res.summary()
scan()