switching to a static sniff and testing destroy_sniffs

This commit is contained in:
Michael Scalzetti 2022-10-26 04:13:44 -04:00
parent 37fdd01551
commit d001b5c825

View File

@ -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()