Politician 1.0.0
WiFi Auditing Library for ESP32
Loading...
Searching...
No Matches
PoliticianStorage.h File Reference
#include <Arduino.h>
#include <FS.h>
#include <Preferences.h>
#include <string>
#include "Politician.h"
#include "PoliticianFormat.h"
+ Include dependency graph for PoliticianStorage.h:

Go to the source code of this file.

Classes

class  politician::storage::PcapngFileLogger
 Helper for writing HandshakeRecords and raw packets to a standard PCAPNG file. More...
 
class  politician::storage::Hc22000FileLogger
 Helper for writing HandshakeRecords to an HC22000 text file. More...
 
class  politician::storage::WigleCsvLogger
 Helper for writing precise GPS location coordinates to a Wigle.net compatible CSV file. More...
 
class  politician::storage::EnterpriseCsvLogger
 Helper for logging harvested 802.1X Enterprise Credentials. More...
 
class  politician::storage::NvsBssidCache
 Helper for persistently storing captured BSSIDs in NVS memory. More...
 

Namespaces

namespace  politician
 
namespace  politician::storage
 
namespace  politician::storage::detail
 

Typedefs

using politician::storage::detail::TimestampCb = std::function< const char *()>
 

Functions

TimestampCbpolitician::storage::detail::_timestampCb ()
 
const char * politician::storage::detail::_timestamp ()
 
void politician::storage::detail::escapeCsvField (const char *input, char *output, size_t maxLen)
 Writes a CSV-safe quoted field into output (RFC 4180).
 
void politician::storage::setTimestampProvider (detail::TimestampCb cb)
 Sets a global timestamp provider called by all CSV loggers when no explicit timestamp string is supplied.