mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
text
This commit is contained in:
parent
69b691494d
commit
9f26c0d6b7
2 changed files with 10 additions and 10 deletions
|
@ -109,11 +109,11 @@ int CmdKeriDemod(const char *Cmd) {
|
||||||
Might be a hash of FC & CN to generate Internal ID
|
Might be a hash of FC & CN to generate Internal ID
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "KERI Tag Found -- Raw: %08X%08X", raw1 ,raw2);
|
PrintAndLogEx(SUCCESS, "KERI Tag Found -- Internal ID: %u", ID);
|
||||||
PrintAndLogEx(NORMAL, "KERI Internal ID: %u", ID);
|
PrintAndLogEx(SUCCESS, "Raw: %08X%08X", raw1 ,raw2);
|
||||||
|
|
||||||
if (invert){
|
if (invert){
|
||||||
PrintAndLogEx(NORMAL, "Had to Invert - probably KERI");
|
PrintAndLogEx(INFO, "Had to Invert - probably KERI");
|
||||||
for (size_t i = 0; i < size; i++)
|
for (size_t i = 0; i < size; i++)
|
||||||
DemodBuffer[i] ^= 1;
|
DemodBuffer[i] ^= 1;
|
||||||
|
|
||||||
|
@ -167,7 +167,7 @@ int CmdKeriClone(const char *Cmd) {
|
||||||
blocks[1] = data >> 32;
|
blocks[1] = data >> 32;
|
||||||
blocks[2] = data & 0xFFFFFFFF;
|
blocks[2] = data & 0xFFFFFFFF;
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "Preparing to clone KERI to T55x7 with Internal Id: %u", internalid);
|
PrintAndLogEx(INFO, "Preparing to clone KERI to T55x7 with Internal Id: %u", internalid);
|
||||||
print_blocks(blocks, 3);
|
print_blocks(blocks, 3);
|
||||||
|
|
||||||
|
|
||||||
|
@ -212,7 +212,7 @@ int CmdKeriSim(const char *Cmd) {
|
||||||
arg1 = clk << 8 | carrier;
|
arg1 = clk << 8 | carrier;
|
||||||
arg2 = invert;
|
arg2 = invert;
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "Simulating KERI - Internal Id: %u", internalid);
|
PrintAndLogEx(SUCCESS, "Simulating KERI - Internal Id: %u", internalid);
|
||||||
|
|
||||||
UsbCommand c = {CMD_PSK_SIM_TAG, {arg1, arg2, size}};
|
UsbCommand c = {CMD_PSK_SIM_TAG, {arg1, arg2, size}};
|
||||||
memcpy(c.d.asBytes, bits, size);
|
memcpy(c.d.asBytes, bits, size);
|
||||||
|
|
|
@ -161,10 +161,10 @@ int CmdNoralsyDemod(const char *Cmd) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "Noralsy Tag Found: Card ID %u, Year: %u Raw: %08X%08X%08X", cardid, year, raw1 ,raw2, raw3);
|
PrintAndLogEx(SUCCESS, "Noralsy Tag Found: Card ID %u, Year: %u Raw: %08X%08X%08X", cardid, year, raw1 ,raw2, raw3);
|
||||||
if (raw1 != 0xBB0214FF) {
|
if (raw1 != 0xBB0214FF) {
|
||||||
PrintAndLogEx(NORMAL, "Unknown bits set in first block! Expected 0xBB0214FF, Found: 0x%08X", raw1);
|
PrintAndLogEx(WARNING, "Unknown bits set in first block! Expected 0xBB0214FF, Found: 0x%08X", raw1);
|
||||||
PrintAndLogEx(NORMAL, "Please post this output in forum to further research on this format");
|
PrintAndLogEx(WARNING, "Please post this output in forum to further research on this format");
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -202,7 +202,7 @@ int CmdNoralsyClone(const char *Cmd) {
|
||||||
blocks[2] = bytebits_to_byte(bits + 32, 32);
|
blocks[2] = bytebits_to_byte(bits + 32, 32);
|
||||||
blocks[3] = bytebits_to_byte(bits + 64, 32);
|
blocks[3] = bytebits_to_byte(bits + 64, 32);
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "Preparing to clone Noralsy to T55x7 with CardId: %u", id);
|
PrintAndLogEx(INFO, "Preparing to clone Noralsy to T55x7 with CardId: %u", id);
|
||||||
print_blocks(blocks, 4);
|
print_blocks(blocks, 4);
|
||||||
|
|
||||||
UsbCommand resp;
|
UsbCommand resp;
|
||||||
|
@ -247,7 +247,7 @@ int CmdNoralsySim(const char *Cmd) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "Simulating Noralsy - CardId: %u", id);
|
PrintAndLogEx(SUCCESS, "Simulating Noralsy - CardId: %u", id);
|
||||||
|
|
||||||
UsbCommand c = {CMD_ASK_SIM_TAG, {arg1, arg2, size}};
|
UsbCommand c = {CMD_ASK_SIM_TAG, {arg1, arg2, size}};
|
||||||
memcpy(c.d.asBytes, bs, size);
|
memcpy(c.d.asBytes, bs, size);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue