This commit is contained in:
iceman1001 2024-01-01 21:52:05 +01:00
commit 238572c337
14 changed files with 81 additions and 82 deletions

View file

@ -108,8 +108,7 @@ serial_port uart_open(const char *pcPortName, uint32_t speed, bool slient) {
bool isUDP = false; bool isUDP = false;
bool isBluetooth = false; bool isBluetooth = false;
bool isUnixSocket = false; bool isUnixSocket = false;
if (strlen(prefix) > 4) if (strlen(prefix) > 4) {
{
isTCP = (memcmp(prefix, "tcp:", 4) == 0); isTCP = (memcmp(prefix, "tcp:", 4) == 0);
isUDP = (memcmp(prefix, "udp:", 4) == 0); isUDP = (memcmp(prefix, "udp:", 4) == 0);
} }

View file

@ -4709,7 +4709,7 @@
}, },
"hf mf info": { "hf mf info": {
"command": "hf mf info", "command": "hf mf info",
"description": "Information and check vulnerabilities in a MIFARE Classic card Some cards in order to extract information you need to specify key and/or specific keys in the copmmand line", "description": "Information and check vulnerabilities in a MIFARE Classic card Some cards in order to extract information you need to specify key and/or specific keys in the command line",
"notes": [ "notes": [
"hf mf info", "hf mf info",
"hf mf info -k FFFFFFFFFFFF -n -v" "hf mf info -k FFFFFFFFFFFF -n -v"
@ -7257,7 +7257,7 @@
"offline": false, "offline": false,
"options": [ "options": [
"-h, --help This help", "-h, --help This help",
"-1 Use data from Graphbuffer", "-1 Use data from Graphbuffer (offline mode)",
"-v, --verbose Verbose scan and output", "-v, --verbose Verbose scan and output",
"-@ optional - continuous reader mode" "-@ optional - continuous reader mode"
], ],
@ -10105,16 +10105,16 @@
"description": "Read and search for valid known tag. For offline mode, you can `data load` first then search.", "description": "Read and search for valid known tag. For offline mode, you can `data load` first then search.",
"notes": [ "notes": [
"lf search -> try reading data from tag & search for known tag", "lf search -> try reading data from tag & search for known tag",
"lf search -1 -> use data from the GraphBuffer & search for known tag",
"lf search -u -> try reading data from tag & search for known and unknown tag", "lf search -u -> try reading data from tag & search for known and unknown tag",
"lf search -1u -> use data from the GraphBuffer & search for known and unknown tag" "lf search -1 -> use data from the GraphBuffer & search for known tag",
"lf search -1uc -> use data from the GraphBuffer & search for known and unknown tag"
], ],
"offline": true, "offline": true,
"options": [ "options": [
"-h, --help This help", "-h, --help This help",
"-1 Use data from Graphbuffer to search", "-1 Use data from Graphbuffer to search (offline mode)",
"-c Continue searching even after a first hit", "-c Continue searching after successful match",
"-u Search for unknown tags. If not set, reads only known tags" "-u Search for unknown tags"
], ],
"usage": "lf search [-h1cu]" "usage": "lf search [-h1cu]"
}, },
@ -12160,6 +12160,6 @@
"metadata": { "metadata": {
"commands_extracted": 703, "commands_extracted": 703,
"extracted_by": "PM3Help2JSON v1.00", "extracted_by": "PM3Help2JSON v1.00",
"extracted_on": "2023-12-18T09:05:00" "extracted_on": "2024-01-01T20:49:58"
} }
} }