Storage Layout

Where GhostESP saves captures, reports, applications, and settings on the SD card.

GhostESP keeps all user-visible SD-card data below /mnt/ghostesp/ in firmware, which is the ghostesp folder at the root of the card in a card reader. This layout is stable so results are easy to locate and scripts can rely on it.

Find Your Results

What you savedFolder on the cardFile type
Packet captureghostesp/pcaps/Standard .pcap
Scan reportghostesp/scans/Text or CSV
Radio sweepghostesp/sweeps/sweep_N.csv
Wardriving/GPS dataghostesp/gps/WiGLE-compatible CSV
Motion snapshotghostesp/captures/motion_N.jpg
Ghostchi capture/historyghostesp/ghostchi/pcaps/, ghostesp/ghostchi/sessions/.pcap, .log
NFC, IR, or SubGHz saveghostesp/nfc/, ghostesp/infrared/, ghostesp/subghz/.nfc, .ir, .sub
Settings backupghostesp/settings_backup.jsonVersioned JSON

The folders for NFC, IR, SubGHz, audio, and BadUSB are created only when the installed build supports the matching feature.

Files You Can Add

Add thisPut it here
Evil Portal HTML and assetsghostesp/evil_portal/portals/
Native SD appsghostesp/apps/
GhostScript packagesghostesp/scripts/
Theme packagesghostesp/themes/

Internal Folders

Do not rely on app_cache/ or downloads/ for backups; firmware can replace their contents. appdata/<app_id>/ and scriptdata/ contain persistent data owned by an app or script. Ghostchi’s learn.bin and state.bin are also firmware-private state rather than portable exports.

Privacy

evil_portal/portal_creds_N.txt, evil_portal/portal_keystrokes_N.txt, DNS logs, packet captures, and radio/NFC saves can contain sensitive information. The SD card is not encrypted. Review these files before sharing the card or the device.

For the complete developer and compatibility contract, see STORAGE_CONTRACT.md.