| name | format-hak5-pineapple-recon-data-json |
| description | Format and pretty-print Hak5 WiFi Pineapple recon JSON scan files for readability. Use when given a raw or minified recon scan JSON file exported from the WiFi Pineapple. |
| argument-hint | Path to the recon scan JSON file to format |
Format Hak5 Pineapple Recon
When to Use
- When you have a raw or minified JSON file exported from the Hak5 WiFi Pineapple Pager
- When a recon scan JSON file is hard to read due to lack of formatting
Procedure
- Identify the target JSON file path from the user's request or active editor
- Run the formatter script against the file:
python3 Hardware/Hak5/Wifi_Pineapple/format-hak5-recon-data-json.py <filename>
- Confirm the file has been formatted in place with 2-space indentation
Script
format-hak5-recon-data-json.py
Notes
- The script overwrites the input file in place
- Input must be valid JSON or the script will error