mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-23 07:29:20 -08:00
Scan with SimpleList
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#include "Scan.h"
|
#include "Scan.h"
|
||||||
|
|
||||||
Scan::Scan() {
|
Scan::Scan() {
|
||||||
list = new LinkedList<uint16_t>;
|
list = new SimpleList<uint16_t>;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scan::sniffer(uint8_t* buf, uint16_t len) {
|
void Scan::sniffer(uint8_t* buf, uint16_t len) {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
#include "SSIDs.h"
|
#include "SSIDs.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
|
#include "SimpleList.h"
|
||||||
|
|
||||||
#define SCAN_MODE_OFF 0
|
#define SCAN_MODE_OFF 0
|
||||||
#define SCAN_MODE_APS 1
|
#define SCAN_MODE_APS 1
|
||||||
@@ -69,7 +70,7 @@ class Scan {
|
|||||||
uint16_t deauths = 0;
|
uint16_t deauths = 0;
|
||||||
uint16_t packets = 0;
|
uint16_t packets = 0;
|
||||||
private:
|
private:
|
||||||
LinkedList<uint16_t>* list; // packet list
|
SimpleList<uint16_t>* list; // packet list
|
||||||
|
|
||||||
uint32_t sniffTime = SCAN_DEFAULT_TIME; // how long the scan runs
|
uint32_t sniffTime = SCAN_DEFAULT_TIME; // how long the scan runs
|
||||||
uint32_t snifferStartTime = 0; // when the scan started
|
uint32_t snifferStartTime = 0; // when the scan started
|
||||||
|
|||||||
Reference in New Issue
Block a user