-
Notifications
You must be signed in to change notification settings - Fork 7
Splitting output to smaller pcaps fails #5
Copy link
Copy link
Open
Description
When taking a large Kismet sqlite3 database and using kismet_log_to_pcap, a typeerror is returned:
# kismet_log_to_pcap --in Kismet-20190904-10-18-58-1.kismet --outtitle small --limit-packets 100000
Limiting to 100000 packets per file in small-X.pcap
DLT 0 for all packets
Logging to None
Traceback (most recent call last):
File "/usr/local/bin/kismet_log_to_pcap", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/kismetdb/scripts/log_to_pcap.py", line 110, in main
logf = open(results.outfile, file_mode)
TypeError: coercing to Unicode: need string or buffer, NoneType found
The kismet database has plenty of packets:
# ls -la | grep Kismet
-rw-r--r-- 1 root root 196722688 Sep 4 10:36 Kismet-20190904-10-18-58-1.kismet
Installed on Kali per instructions at https://www.kismetwireless.net/docs/readme/kismetdb_to_pcap/ which references the kismetwireless.net git repo as opposed to this one.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels