Enable auto-execution on USB attack modules for aggressive exploitation

- HID Inject: auto-triggers payload injection on host detection
- USB Gadget: auto-detects best device class and enumerates immediately
- JTAG USB Bridge: auto-detects protocol and starts bridging on entry
- RNDIS Bridge: auto-starts ethernet gadget and DHCP server on entry
- USB Sniffer: auto-captures packets immediately on entry

All USB modules now auto-execute without manual trigger, enabling plug-and-exploit workflow.
This commit is contained in:
Claude
2026-09-24 16:45:30 +00:00
parent 0ec3962a53
commit 36d10e604b
5 changed files with 37 additions and 5 deletions

View File

@@ -20,6 +20,10 @@ public:
packets = 0;
say("USB debug bridge: ready");
autoDetectProtocol();
if (protocol != JTAG || protocol == SWD) {
active = true;
say("Bridge active, waiting for host");
}
}
void onExit() override { active = false; }