add Zigbee, Video TX, Rc, USb Wireless Jamming
This commit is contained in:
parent
bd12e096d1
commit
360d2d2ad3
|
|
@ -45,9 +45,7 @@
|
||||||
|
|
||||||
### WiFi Jammer
|
### WiFi Jammer
|
||||||
- NRF24-based WiFi interference testing
|
- NRF24-based WiFi interference testing
|
||||||
- Experimental
|
- Able to jam 2.4Ghz wifi connections (Not 5G)
|
||||||
|
|
||||||
> ⚠️ These tools are intended strictly for wireless research, testing, and educational purposes in authorized environments.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
#include "ble_mouse.h"
|
#include "ble_mouse.h"
|
||||||
#include "sysinfo.h"
|
#include "sysinfo.h"
|
||||||
#include "BleMouse.h"
|
#include "BleMouse.h"
|
||||||
|
#include "nfc.h"
|
||||||
|
|
||||||
// ================= MENU DATA =================
|
// ================= MENU DATA =================
|
||||||
extern BleMouse bleMouse;
|
extern BleMouse bleMouse;
|
||||||
|
|
@ -27,7 +28,8 @@ const char *mainMenuItems[] = {
|
||||||
"System Info",
|
"System Info",
|
||||||
"Device Check",
|
"Device Check",
|
||||||
"Restart",
|
"Restart",
|
||||||
"Ble Mouse"
|
"Ble Mouse",
|
||||||
|
"NFC Tools"
|
||||||
};
|
};
|
||||||
|
|
||||||
Menu mainMenu = {mainMenuItems, sizeof(mainMenuItems) / sizeof(mainMenuItems[0])};
|
Menu mainMenu = {mainMenuItems, sizeof(mainMenuItems) / sizeof(mainMenuItems[0])};
|
||||||
|
|
@ -37,7 +39,12 @@ Menu mainMenu = {mainMenuItems, sizeof(mainMenuItems) / sizeof(mainMenuItems[0])
|
||||||
const char *nrfToolsItems[] = {
|
const char *nrfToolsItems[] = {
|
||||||
"BLE Jammer",
|
"BLE Jammer",
|
||||||
"Bluetooth Jammer",
|
"Bluetooth Jammer",
|
||||||
"Wifi Jammer"
|
"Wifi Jammer",
|
||||||
|
"USB Wireless",
|
||||||
|
"Video TX",
|
||||||
|
"Zigbee",
|
||||||
|
"RC"
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Menu nrfToolsMenu = {nrfToolsItems, sizeof(nrfToolsItems) / sizeof(nrfToolsItems[0])};
|
Menu nrfToolsMenu = {nrfToolsItems, sizeof(nrfToolsItems) / sizeof(nrfToolsItems[0])};
|
||||||
|
|
@ -151,10 +158,10 @@ void launchFeature()
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
if (!isCC1101Ready()) {
|
if (!isCC1101Ready()) {
|
||||||
if (!initCC1101()) {
|
if (!initCC1101()) {
|
||||||
Serial.println("CC1101 failed");
|
Serial.println("CC1101 failed");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Serial.println("Ready to capture...");
|
Serial.println("Ready to capture...");
|
||||||
|
|
@ -163,7 +170,10 @@ void launchFeature()
|
||||||
delay(5000);
|
delay(5000);
|
||||||
stopCapture();
|
stopCapture();
|
||||||
printCapture();
|
printCapture();
|
||||||
|
delay(5000);
|
||||||
|
replaySignal();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
// startNRFJammer();
|
// startNRFJammer();
|
||||||
//startBleJammer();
|
//startBleJammer();
|
||||||
|
|
@ -308,6 +318,9 @@ void launchFeature()
|
||||||
bleMouse.begin();
|
bleMouse.begin();
|
||||||
ble_mouse_run();
|
ble_mouse_run();
|
||||||
break;
|
break;
|
||||||
|
case 10:
|
||||||
|
pn532_scan_loop();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (currentMenu == &badusbMenu)
|
else if (currentMenu == &badusbMenu)
|
||||||
|
|
|
||||||
|
|
@ -9,20 +9,23 @@ extern SPIClass *RADIO_SPI;
|
||||||
extern RF24 radio1;
|
extern RF24 radio1;
|
||||||
extern RF24 radio2;
|
extern RF24 radio2;
|
||||||
|
|
||||||
|
// ============ CHANNELS =============
|
||||||
const byte bleChannels[] = {2, 26, 80};
|
const byte bleChannels[] = {2, 26, 80};
|
||||||
|
|
||||||
const byte bluetoothChannels[] = {
|
const byte bluetoothChannels[] = {
|
||||||
32, 34, 46, 48, 50, 52,
|
32, 34, 46, 48, 50, 52,
|
||||||
0, 1, 2, 4, 6, 8,
|
0, 1, 2, 4, 6, 8,
|
||||||
22, 24, 26, 28, 30,
|
22, 24, 26, 28, 30,
|
||||||
74, 76, 78, 80
|
74, 76, 78, 80
|
||||||
};
|
};
|
||||||
|
|
||||||
const byte wifiChannels[] = {
|
const byte wifiChannels[] = {
|
||||||
12, 17, 22, 27, 32,
|
12, 17, 22, 27, 32,
|
||||||
37, 42, 47, 52, 57,
|
37, 42, 47, 52, 57,
|
||||||
62, 67, 72
|
62, 67, 72
|
||||||
};
|
};
|
||||||
|
const byte usbWireless_channels[] = {40, 50, 60};
|
||||||
|
const byte videoTransmitter_channels[] = {70, 75, 80};
|
||||||
|
const byte zigbee_channels[] = {11, 15, 20, 25};
|
||||||
|
const byte rc_channels[] = {1, 3, 5, 7};
|
||||||
|
|
||||||
void initNRF(RF24 &radio)
|
void initNRF(RF24 &radio)
|
||||||
{
|
{
|
||||||
|
|
@ -34,9 +37,10 @@ void initNRF(RF24 &radio)
|
||||||
radio.setAutoAck(false);
|
radio.setAutoAck(false);
|
||||||
radio.stopListening();
|
radio.stopListening();
|
||||||
radio.setRetries(0, 0);
|
radio.setRetries(0, 0);
|
||||||
radio.setPALevel(RF24_PA_MAX);
|
radio.setPALevel(RF24_PA_MAX, true);
|
||||||
radio.setDataRate(RF24_2MBPS);
|
radio.setDataRate(RF24_2MBPS);
|
||||||
radio.openWritingPipe(0xE7E7E7E7E7LL);
|
radio.openWritingPipe(0xE7E7E7E7E7LL);
|
||||||
|
radio.setCRCLength(RF24_CRC_DISABLED);
|
||||||
Serial.println("NRF Initialized");
|
Serial.println("NRF Initialized");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -216,6 +220,30 @@ void NRFToolsMenu(int index) {
|
||||||
sizeof(wifiChannels) / sizeof(wifiChannels[0])
|
sizeof(wifiChannels) / sizeof(wifiChannels[0])
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
case 3:
|
||||||
|
startJammer(
|
||||||
|
"USB Wireless",
|
||||||
|
usbWireless_channels,
|
||||||
|
sizeof(usbWireless_channels) / sizeof(usbWireless_channels[0])
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
startJammer(
|
||||||
|
"Video TX",
|
||||||
|
videoTransmitter_channels,
|
||||||
|
sizeof(videoTransmitter_channels) / sizeof(videoTransmitter_channels[0])
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
break;
|
||||||
|
startJammer(
|
||||||
|
"RC",
|
||||||
|
rc_channels,
|
||||||
|
sizeof(rc_channels) / sizeof(rc_channels[0])
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
|
||||||
}
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue