espilon-source/espilon_bot/components/mod_redteam/rt_beacon.h
Eun0us 2315979db0
Some checks failed
Discord Push Notification / notify (push) Has been cancelled
ε - Add WiFi offensive capabilities to mod_redteam
Phase 1 of v0.4.0 offensive modules:

- Promiscuous dispatcher (rt_promisc): shared IRAM callback multiplexer
  for stealth scan, karma, capture — solves single-callback ESP-IDF limit
- Attack manager (rt_attack): mutual exclusion ensuring only one
  offensive operation runs at a time
- Deauth refactored to use shared promisc dispatcher + attack lock
- Stealth passive scan migrated to promisc dispatcher
- Karma attack (rt_karma): probe request listener + probe response
  injection + rogue SoftAP with most-requested SSID + DNS responder
- WPA handshake capture (rt_capture): EAPOL frame capture via
  promiscuous DATA filter, 4-way handshake identification, optional
  deauth burst to trigger reconnection
- Kconfig: RT_BEACON, RT_KARMA, RT_CAPTURE toggle options
- 5 new C2 commands: rt_karma, rt_karma_stop, rt_karma_clients,
  rt_capture, rt_capture_stop (14 total in mod_redteam)
2026-03-01 02:08:28 +01:00

41 lines
966 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* rt_beacon.h
* 802.11 beacon frame flood — spam fake SSIDs.
*/
#pragma once
#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
RT_BEACON_RANDOM, /* Random SSIDs + random BSSIDs */
RT_BEACON_RICKROLL, /* Rick Astley lyrics as SSIDs */
RT_BEACON_CUSTOM, /* User-supplied SSID list */
} rt_beacon_mode_t;
/*
* Start beacon flood.
* mode flood mode (random, rickroll, custom)
* channel WiFi channel (1-13), 0 = current
* count total beacons to send, 0 = continuous
* ssids NULL-terminated array of SSIDs (only for CUSTOM mode)
*/
void rt_beacon_start(rt_beacon_mode_t mode,
uint8_t channel,
uint32_t count,
const char **ssids);
/* Stop the beacon flood task. */
void rt_beacon_stop(void);
/* True if beacon flood is running. */
bool rt_beacon_is_active(void);
#ifdef __cplusplus
}
#endif