diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f7e5d27f..ee2884572 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,10 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac - - trace/securakey-64169.pm3 - trace of a scecurakey (atyppo) - 'hf mf decrypt' - got some longer input and helptext parameter (iceman) - + - Updated the Reveng 1.51 sourcecode to 1.52 from Reveng project homepage (iceman) + - 'hf 14a read' - disconnects when failing to read tag (iceman) + - 'hf mf csave' - renamed parameter 'i' to 'o' as in output (iceman) + ## [3.0.0][2017-08-29] Notes on this release this version includes a merge with the PM3 offical v3.0.1 code, a.k.a the "Monster merge" diff --git a/armsrc/iclass.c b/armsrc/iclass.c index 71de98f19..9db84a78d 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -715,7 +715,7 @@ static void iclass_setup_sniff(void){ void RAMFUNC SniffIClass(void) { uint8_t previous_data = 0; - int maxDataLen = 0, datalen = 0; + int maxDataLen = 0; // datalen = 0; uint32_t time_0 = 0, time_start = 0, time_stop = 0; uint32_t sniffCounter = 0; @@ -834,7 +834,19 @@ void RAMFUNC SniffIClass(void) { DbpString("Sniff statistics:"); Dbprintf(" maxDataLen=%x, Uart.state=%x, Uart.byteCnt=%x", maxDataLen, Uart.state, Uart.byteCnt); Dbprintf(" Tracelen=%x, Uart.output[0]=%x", BigBuf_get_traceLen(), (int)Uart.output[0]); - Dbhexdump(datalen, data, false); + Dbhexdump(ICLASS_DMA_BUFFER_SIZE, data, false); + uint8_t r[128] = {0}; + uint8_t t[128] = {0}; + uint16_t i; + uint8_t j; + for (i=0, j=0; i> 4); + t[j] = (data[i] << 4) | (data[i+1] & 0xF); + } + DbpString("reader:"); + Dbhexdump(sizeof(r), r, false); + DbpString("tag:"); + Dbhexdump(sizeof(t), t, false); } switch_off();