-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poor WiFi BSSID string sanitation causes malformed CSV file #1
Comments
Tricky one- could be SSID with quotes in it, or commas, It skips the firstSeen column after the name and fills in all data, stretching the csv doc to contain an extra column on the end: (MAC & Location data redacted)
Confirmed by a second capture of the |
Another problem with the CSV was using int for the day-month min:sec. Using %02d in strDateTime fixes this when it’s written later. |
@lukeswitz heck i still have to fix the original issue, and also the wigle upload - this should be solved in the latest revision though! |
Wrapped SSID in double quotes to handle potential special characters. - Escaped internal double quotes in SSID for CSV compliance. - Ensured CSV formatting remains consistent even if SSID contains disruptive characters.
Wrapped SSID in double quotes to handle potential special characters. - Escaped internal double quotes in SSID for CSV compliance. - Ensured CSV formatting remains consistent even if SSID contains disruptive characters.
Still happens with some networks. No idea. Same as above. |
Values are popping up in the wrong places and I suspect this is due to poor sanitation of WiFi names (BSSID's) which might contain commas.
The text was updated successfully, but these errors were encountered: