mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-12 07:40:58 -08:00
Update CommandLine.cpp
Seriously, gotta filter em...
This commit is contained in:
@@ -855,9 +855,8 @@ void CommandLine::runCommand(String input) {
|
||||
display_obj.clearScreen();
|
||||
menu_function_obj.drawStatusBar();
|
||||
#endif
|
||||
for (int i = 0; i < access_points->size(); i++) {
|
||||
wifi_scan_obj.RunSetMac(access_points->get(i).bssid, true);
|
||||
}
|
||||
int filter_ap = cmd_args.get(ap_sw + 1).toInt();
|
||||
wifi_scan_obj.RunSetMac(access_points->get(filter_ap).bssid, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -882,9 +881,8 @@ void CommandLine::runCommand(String input) {
|
||||
display_obj.clearScreen();
|
||||
menu_function_obj.drawStatusBar();
|
||||
#endif
|
||||
for (int i = 0; i < stations->size(); i++) {
|
||||
wifi_scan_obj.RunSetMac(stations->get(i).mac, false);
|
||||
}
|
||||
int filter_sta = cmd_args.get(cl_sw + 1).toInt();
|
||||
wifi_scan_obj.RunSetMac(stations->get(filter_sta).mac, false);
|
||||
}
|
||||
}
|
||||
//// End MAC Address commands (Added by H4W9_4)
|
||||
|
||||
Reference in New Issue
Block a user