Move command registry from components/command/ into components/core/. New modules: mod_canbus, mod_honeypot, mod_fallback, mod_redteam, mod_ota. Replace mod_proxy with tun_core (multiplexed SOCKS5 tunnel). Kconfig extended with per-module settings and async worker config.
38 lines
782 B
C
38 lines
782 B
C
/*
|
|
* fb_stealth.h
|
|
* OPSEC: MAC randomization, TX power control, passive scanning.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void fb_stealth_save_original_mac(void);
|
|
void fb_stealth_randomize_mac(void);
|
|
void fb_stealth_restore_mac(void);
|
|
void fb_stealth_get_current_mac(uint8_t mac[6]);
|
|
void fb_stealth_low_tx_power(void);
|
|
void fb_stealth_restore_tx_power(void);
|
|
|
|
int fb_stealth_passive_scan(int duration_ms);
|
|
|
|
typedef struct {
|
|
uint8_t bssid[6];
|
|
char ssid[33];
|
|
int8_t rssi;
|
|
uint8_t channel;
|
|
uint8_t auth_mode; /* 0=open, 1=WEP, 2=WPA, 3=WPA2, ... */
|
|
} fb_scan_ap_t;
|
|
|
|
#define FB_MAX_SCAN_APS 32
|
|
|
|
int fb_stealth_get_scan_results(fb_scan_ap_t *out, int max_count);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|