Yarilo v0.9.9
WPA2 Decrypter & Packet Analyzer
|
Recordings utility class. More...
#include <recording.h>
Classes | |
struct | info |
Information about a saved recording. More... | |
Public Types | |
enum class | DataLinkType { UNKNOWN , RADIOTAP , RAW80211 , ETH2 } |
data link of a saved recording More... | |
Public Member Functions | |
Recording (const std::filesystem::path &save_dir, bool dump_raw, Database &db, const std::string &display_name) | |
std::optional< info > | dump (std::shared_ptr< PacketChannel > channel) const |
std::optional< info > | dump (std::vector< Tins::Packet * > *packets) const |
Static Public Member Functions | |
static std::unique_ptr< Tins::Packet > | make_eth_packet (Tins::Packet *pkt) |
Recordings utility class.
|
strong |
yarilo::Recording::Recording | ( | const std::filesystem::path & | save_dir, |
bool | dump_raw, | ||
Database & | db, | ||
const std::string & | display_name ) |
std::optional< recording_info > yarilo::Recording::dump | ( | std::shared_ptr< PacketChannel > | channel | ) | const |
Dumps the packets from the given PacketChannel to a recording file.
[in] | channel | A shared pointer to the PacketChannel containing the packets to dump. |
std::optional< recording_info > yarilo::Recording::dump | ( | std::vector< Tins::Packet * > * | packets | ) | const |
Dumps the packets from the given packet vector to a recording file.
[in] | channel | A shared pointer to the PacketChannel containing the packets to dump. |
|
static |
Create an ethernet packet based on the decrypted 802.11 data packet
[in] | pkt | The 802.11 Data packet to convert |