minor changes to stop throwing errors :P
This commit is contained in:
parent
3314c98fb3
commit
dd649aa439
@ -1,10 +1,10 @@
|
|||||||
#! /usr/bin/python
|
#! /usr/bin/python
|
||||||
import packet_processer, reporter, sniffer
|
import reporter, sniffer
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
print(sniffer.run_cmd("echo 1"))
|
print(sniffer.run_cmd("echo 1"))
|
||||||
snfr = Sniffer("walfa0")
|
snfr = sniffer.Sniffer("walfa0")
|
||||||
print(snfr.sniff(1))
|
print(snfr.sniff(5))
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
Loading…
Reference in New Issue
Block a user