Edit wifizoo.py and change the following code:
webproxy.start()
print "Waiting..."
while 1:
# mm, would be better to use callback perhaps. TODO
p = sniff(filter=None, iface=conf.iface, count=1)
pkt = p[0]
to:
webproxy.start()
print "Waiting..."
#capture.pcap is the name of the capture file. Yes, it's hard-coded :)
pcapr = PcapReader('capture.pcap')
while 1:
# mm, would be better to use callback perhaps. TODO
#p = sniff(filter=None, iface=conf.iface, count=1)
pkt = pcapr.next()
#pkt = p[0]
Is a quick hack, but it works.
1 comment:
hello.
--> wifizoo 1.3
python wifizoo.py -c /root/wifizoo/s.cap
pcapr = PcapReader(s.cap)
NameError: name 's' is not defined
Launching Web Interface..
and with s.pcap it's same...
any help much appreciate :)
Post a Comment