switching to a static sniff and testing destroy_sniffs
This commit is contained in:
parent
37fdd01551
commit
d001b5c825
@ -2,9 +2,10 @@
|
||||
import reporter, sniffer
|
||||
|
||||
def main():
|
||||
print(sniffer.run_cmd("echo 1"))
|
||||
snfr = sniffer.Sniffer("walfa0")
|
||||
print(snfr.sniff(5))
|
||||
#print(snfr.sniff(5))
|
||||
data = snfr.parse_sniff("/tmp/SUSTMP_hyMIo/cap-1666770829-01.csv")
|
||||
snfr.destroy_sniffs()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Loading…
Reference in New Issue
Block a user