mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-08-29 01:08:21 +00:00
Add CmdBWMWifi function for WiFi BWM logging
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
@@ -1550,6 +1550,14 @@ static int CmdBwmAutoOff(const char *Cmd) {
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
static int CmdBWMWifi(const char *Cmd) {
|
||||
PrintAndLogEx(SUCCESS, "BWM on WiFi at %u.%u.%u.%u",
|
||||
ip & 0xFF, (ip>>8)&0xFF, (ip>>16)&0xFF, (ip>>24)&0xFF);
|
||||
PrintAndLogEx(HINT, "Connect with: " _YELLOW_("pm3 -p tcp:%u.%u.%u.%u:%u"),
|
||||
ip & 0xFF, (ip>>8)&0xFF, (ip>>16)&0xFF, (ip>>24)&0xFF, port);
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
static int CmdBwmCharge(const char *Cmd) {
|
||||
CLIParserContext *ctx;
|
||||
CLIParserInit(&ctx, "hw bwmcharge",
|
||||
|
||||
Reference in New Issue
Block a user