Commit graph

2948 commits

Author SHA1 Message Date
Chris 8c0aa0c86d FIX: 'hf mf chk' - chkkeys param error fix #1 2018-08-13 22:37:44 +02:00
Chris cfbd67d082 Fix: 'hf emv' - some cards need to have Le=0x00, some need to not to have... (@merlokk) 2018-08-13 13:56:48 +02:00
Chris 5f77121694 initial commit to be in sync the-soon-defunct repo pm3rdv40. 2018-08-12 21:54:31 +02:00
Andreas Dröscher 0d0b651246 change: re-added trace log 2018-08-12 12:51:45 +02:00
Iceman 9b03cd9cd6
Update cmdhfmf.c
fix #225
2018-08-10 18:28:51 +02:00
grauerfuchs 910c86a30f fixed: "lf t55 config d" won't accept modulations with length > 4 chars (FSK2a, etc.) 2018-08-04 20:49:20 -04:00
Chris bacf8aff0f add: FPC connector skeleton usart. Not working but if will be a starting point for those who might want to help out with it. 2018-07-30 09:54:44 +02:00
iceman1001 506da3ff4c textual 2018-07-29 16:30:36 +02:00
iceman1001 513d0aca44 upd: RevEng v1.5.3 2018-07-29 07:37:23 +02:00
iceman1001 1dd01fd738 chg: making LCD related code optional 2018-07-28 22:02:12 +02:00
iceman1001 d393b6c60b fix: 'hw version' buffer overflow 2018-07-28 14:39:21 +02:00
iceman1001 4d8488e14b CHG: https://github.com/Proxmark/proxmark3/pull/631 from offical repo. (piwi)
CHG: textual adjustments
2018-07-28 14:25:12 +02:00
iceman1001 03e8d39e17 ADD: amiboo stuff 2018-07-28 12:33:27 +02:00
iceman1001 7c56c2ce2c chg: adaptations 2018-07-28 12:32:22 +02:00
iceman1001 32a0bfff5f textual 2018-07-28 12:31:33 +02:00
iceman1001 edfbe327b4 chg: 'hw tune' color output consistent. 2018-07-28 12:25:11 +02:00
iceman1001 2919a35665 chg: adaptation.. made shortcut for Hexlify for ConvertAsciiToHex 2018-07-27 09:36:47 +02:00
iceman1001 6d4d58659f chg: parse14a also returns data, adaptation for amiibocyou 2018-07-27 09:08:36 +02:00
iceman1001 1629287291 fix: lua bit32 can actually take several values. How did I miss this? 2018-07-27 09:07:53 +02:00
iceman1001 3f9024eeaf add: amiibo script [adaptation amiibocyou] 2018-07-27 07:55:49 +02:00
iceman1001 22f10016ba chg: outside limits, [adaptation amiibocyou] 2018-07-27 07:52:21 +02:00
Andreas Dröscher 266cfa4442 chg: cleaned up documentation 2018-07-22 16:56:45 +02:00
Andreas Dröscher 6e8775540e fix: GetFromDevice with BIG_BUF_EML
dl_it was expecting CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K
but got CMD_DOWNLOADED_EML_BIGBUF resulting in an upload
silently failing.
2018-07-22 16:56:35 +02:00
Chris 052c8f0998 chg: 'trace'-commands can load / save tracefiles, which should allow it to run offline. 2018-07-22 08:09:50 +02:00
j8048188 b88a5936f8
more keys 2018-07-21 01:08:59 -05:00
j8048188 2a5ffca9c5
Add more keys 2018-07-14 03:56:41 +00:00
Chris db7cb4189b chg: more found keys from pastebin 2018-07-11 00:32:35 +02:00
Chris 4916042cb4 chg: 'sc raw' ...annoying.. 2018-07-09 15:39:26 +02:00
Chris 7394bb14a0 chg: 'sc raw' reading byte to the end of line now exists correct 2018-07-09 14:13:38 +02:00
Chris 4a8e048694 chg: 'sc raw' added 't' param, for decoding apdu response
chg: i2c,  max timeout fitting for 256bytes frames
2018-07-09 13:15:28 +02:00
Chris 684a692bb0 chg: i2c clean up 2018-07-09 12:10:21 +02:00
Chris 2102b19d11 add: 'sc setclock' 0,1,2, allowed setting sim clocks.. 2018-07-09 11:51:19 +02:00
Chris 714de99f82 chg: i2c fixes. all working.
chg: 'sc info'  now prints url to atr decoder.
chg: 'sc reader' has more options  A, S
2018-07-09 11:22:51 +02:00
Chris c8e1eb11f2 chg: 'sc raw' adjusted output 2018-07-08 21:54:22 +02:00
Chris 99eaef27fd chg: 'sc' more debug 2018-07-08 20:34:47 +02:00
Chris df4c0014f6 chg: i2c fixes 2018-07-08 13:52:30 +02:00
Chris b49eea5637 chg: 'sc raw' -i2c correct lenght?
chg: 'sc upgrade' - warning message
chg: 'sc reader' - print right amount of bytes
2018-07-08 12:03:35 +02:00
Chris f9ba0e59fa chg: 'sc list' - hooked up list command (runs 'trace list 7816' )
chg: 'sc reader' - added 's' silent parameter
chg: 'sc info' - added 's' silent parameter
2018-07-08 11:19:26 +02:00
Chris bcffde1198 chg: smartcard - wait until SCL goes high 2018-07-06 11:16:46 +02:00
Chris f130b97051 chg: 'sc' textual 2018-07-05 21:16:14 +02:00
Chris 36d774506c chg: 'sm raw' - implemented 'r' don't read reply 2018-07-05 21:10:21 +02:00
Chris 1a2ef57c0c chg: 'sm raw' - allowing hex bytes to be with & without space. 112233 and 11 22 33 2018-07-05 20:53:50 +02:00
Chris fca841122f chg: 'sc reader' - hooked up atr. 2018-07-05 16:32:10 +02:00
Chris 89352c47c1 chg: removed smart card test things. 2018-07-05 15:07:41 +02:00
Chris ee006c6a7b add: sc upgrade - beta test 2018-07-05 14:38:31 +02:00
Chris f70b8be5de add: 'sc' - smart card commad [rdv40]
chg: test to read out firmware
2018-07-05 10:48:24 +02:00
Chris 26ff7fa297 chg: clean up 2018-07-04 15:26:39 +02:00
Chris f2ad37aa00 chg: hexlen is half size.. 2018-07-04 14:33:59 +02:00
Chris e536cb082f chg: removed warning 2018-07-04 13:08:59 +02:00
Chris dfa4f62ab6 chg: 'hf iclass chk' textual info 2018-07-01 11:56:08 +02:00
Chris 942e64706d chg: textual, and increase cmds receive buffer to 100. 2018-06-30 22:54:30 +02:00
Chris 2b294912ee chg: 'hf iclass chk' - enabled credit/debit key selction
chg:  'hf iclass lookup'  - enabled credit/debit key selction
fix: first item in dictionary file now correct identified
chg: code cleanup
2018-06-30 22:47:07 +02:00
Chris cd3fc9242e chg: iclass output 2018-06-30 18:34:58 +02:00
Chris 6967fe667d chg: test for smartcard client support 2018-06-23 06:44:44 +02:00
Chris f443ddb880 chg: force flushing after dbg printing 2018-06-23 06:34:35 +02:00
Chris f62c231830 chg: missing tab 2018-06-23 06:33:48 +02:00
Chris 5e1a3b7168 chg: cleaning up 2018-06-23 06:33:20 +02:00
Chris 1b0a49c8ab chg: from offical 2018-06-17 13:07:00 +02:00
Chris 9d91856811 chg: from official 2018-06-17 12:55:32 +02:00
Chris 3fd1854b8a chg: from offical 2018-06-17 12:55:09 +02:00
iceman1001 49c8ec65f5 typoo 2018-06-03 23:39:55 +02:00
iceman1001 a2c7158f78 fixes from #616 2018-06-03 23:32:02 +02:00
iceman1001 d2d126878e helptext, syntax 2018-05-28 21:34:58 +02:00
iceman1001 c15e755e5f add: base64 support 2018-05-23 10:37:11 +02:00
iceman1001 5d86eb5b69 add: another one 2018-05-23 09:32:42 +02:00
iceman1001 f3f7245fc0 add: 'mem read' - read / prints flahsmemory from device (not downloading)
chg: 'mem info' - added possibility to verify signature
2018-05-23 09:30:33 +02:00
iceman1001 e6b18888e7 chg. textual 2018-05-22 12:10:56 +02:00
iceman1001 ad819efbdc fix: typo 2018-05-13 07:24:49 +02:00
iceman1001 56f00cb2ac fix #214 - typo (thanks to @tautcony for noticing) 2018-05-12 19:13:02 +02:00
iceman1001 99d7546ca4 @micolous changes
CHG: - Make all examples platform-specific
CHG: - Remove ModemManager rant on non-Linux platforms

Ref:  e2aa5eb47c
2018-05-06 22:43:46 +02:00
iceman1001 110a7b28cb chg: 'hf 14a sim' - possibility to simulate FM11RF005SH (@maozhenyu123)
chg: 'hf 14a info' - tag identification for FM11RF005SH (@maozhenyu123)

Fudan FM11RF005SH , has 512bit mem,  16blocks w 4bytes / block.
Support REQA, READ, WRITE, AUTH.   Unknown how the auth is done.

The ATQA/SAK ,  or a trace from one of these tags would be intersting to look at.
2018-05-06 09:24:28 +02:00
iceman1001 adb1b90580 chg: friendly exit message (@marshmellow42) 2018-05-05 19:00:08 +02:00
iceman1001 9581317d3a chg: some more commands 2018-05-05 18:59:31 +02:00
iceman1001 d815ebdd4e fix: 'hf mfu dump' - partial dump detection 2018-05-03 23:01:30 +02:00
iceman1001 32a1bb4c01 fix: 'hf mfu dump' - increased timeout in order to read ntag216 tags 2018-05-03 21:54:53 +02:00
iceman1001 faa6ece881 chg: converting some more malloc calls -> calloc 2018-05-03 19:45:59 +02:00
iceman1001 939b727c42 chg: converting malloc calls -> calloc which zeros out the allocated memory 2018-05-03 19:42:16 +02:00
iceman1001 e50fef6607 fix: 'mem load' - wrong offset when uploading 2018-05-03 16:10:38 +02:00
iceman1001 3ef9102c17 chg: WARNING, wrong prefix 2018-05-03 12:45:27 +02:00
iceman1001 93d154f58c chg: 'mem load' added a max filesize check. 2018-05-03 12:22:17 +02:00
iceman1001 021c0a1349 ADD: 'mem' commands. For RDV40 devices only.
If you don't have one,  comment out inside client/Makefile this line

CFLAGS += -DWITH_FLASH
2018-05-03 12:15:03 +02:00
iceman1001 d0b9d12bde chg: added some colors 2018-05-03 12:12:55 +02:00
iceman1001 45e6c96bda .... 2018-05-03 11:04:51 +02:00
iceman1001 0e7d8faf59 chg: 'hf mf csave'
chg: 'mem save'
chg: 'hf 15 dump' - no extra newline after last block in emlfile
2018-05-03 11:02:50 +02:00
iceman1001 53feba2bbe fix: 'hf iclass eload 'should increase data array to upload... 2018-05-03 11:00:15 +02:00
iceman1001 1d8d611737 chg: unified download 2018-05-02 19:54:06 +02:00
iceman1001 6f7d0dffdc chg: unified download 2018-05-02 19:52:31 +02:00
iceman1001 baf6beec2e chg: unified download 2018-05-02 19:51:10 +02:00
iceman1001 295054c190 chg: unifying some different download functions from device. 2018-05-02 19:37:51 +02:00
iceman1001 b279d04c85 chg: moving around includes 2018-05-02 19:37:20 +02:00
iceman1001 65c1a6b2c1 remove old data.c files. Code now in cmdmain.c 2018-05-02 18:10:17 +02:00
iceman1001 d9045635fb whitespace 2018-05-02 18:09:46 +02:00
iceman1001 7d5322fc6e whitespace 2018-05-02 18:08:47 +02:00
iceman1001 be4c5118b1 chg: remove obsolete data.c 2018-05-02 08:16:59 +02:00
iceman1001 a8dbbc1609 chg: forgot one 2018-05-02 08:13:23 +02:00
iceman1001 207fa2b574 add: potential fix for OSX uses, by @piwi
chg:  adapting fix to support iceman forks extended commands.
2018-05-02 08:11:29 +02:00
iceman1001 886f7fbdad chg: 'hf search' textual
chg: 'lf search' textual
2018-04-27 17:38:41 +02:00
iceman1001 cff2473cf8 testing. RDV40 Flashmemory upload / download working. 2018-04-27 16:51:08 +02:00
iceman1001 fe339872d8 chg: 'data bitsamples' - getfrombigbuf has now timeout
chg: 'data hexsamples' -  getfrombigbuf has now timeout
chg: 'data samples' -  getfrombigbuf has now timeout
2018-04-27 16:50:22 +02:00
iceman1001 69346852a6 chg: 'hf felica dumplite' - getfrombigbuf has now timeout 2018-04-27 16:49:34 +02:00
iceman1001 9577dad1aa chg: 'hf iclass reader - getfrombigbuf has now timeout 2018-04-27 16:48:59 +02:00
iceman1001 cc0fac016b chg: 'lf cotag - remove unneeded variable 2018-04-27 16:48:12 +02:00
iceman1001 d7e6b5d6a1 chg: 'lf hitag list' - getfrombigbuf has now timeout 2018-04-27 16:47:29 +02:00
iceman1001 511cae77f1 chg: 'lua scripting' - getfrombigbuf has now timeout 2018-04-27 16:46:38 +02:00
iceman1001 a42580317c chg: 'trace list' - getfrombigbuf has now timeout 2018-04-27 16:45:49 +02:00
iceman1001 fec833de03 chg: 'lf t55 resetread' - getfrombigbuf has now timeout
chg: 'lf t55 '   - (aquiredata)  getfrombigbuf has now timeout
2018-04-27 16:45:02 +02:00
iceman1001 c7067d0057 CHG: added extra out-of-bounds check when downloading data from device. 2018-04-27 12:36:53 +02:00
iceman1001 271cb3e1cc chg: \r didn't work well with printandlogex
chg: spaces
chg: cleaning
2018-04-27 12:15:26 +02:00
iceman1001 c41013d394 chg: printandlogex now deals with string which has inital newline char. 2018-04-27 11:22:30 +02:00
iceman1001 cd93f3a134 ADD: sample buffer size variable, to keep track of possible download lengths which is reserved on client. 2018-04-27 10:09:14 +02:00
iceman1001 7a17e7e753 chg: 'lf search' - remove some block prints for AutoCorrelate
chg:  textual
2018-04-26 14:39:11 +02:00
iceman1001 8730b020b3 chg: space? 2018-04-26 14:26:28 +02:00
iceman1001 ef867794d1 chg: ...textual 2018-04-26 14:19:33 +02:00
iceman1001 e4bf5d3c66 chg: might fix timing issues between threads. 2018-04-26 12:13:03 +02:00
iceman1001 4f1e2f80c5 fix: 'hf mf esave' - no extra newline in the end of the file 2018-04-26 12:05:18 +02:00
iceman1001 e119db8683 chg: textual 2018-04-26 08:46:17 +02:00
iceman1001 96a5cefe97 fix: wrong string used. 2018-04-25 18:13:28 +02:00
iceman1001 fcad4054b6 CHG: PrintAndLogEx, prints prefixes on without the \n in string 2018-04-25 09:28:27 +02:00
iceman1001 f5257f5380 fixes: 'script run mifareplus' behaves better now. 2018-04-25 09:22:41 +02:00
iceman1001 409c7b1029 chg: added some nedap blocks 2018-04-20 16:09:40 +02:00
iceman1001 cc181c3f91 chg: downloading of flashmemory to client. 2018-04-20 15:26:34 +02:00
iceman1001 a746699f5f chg: reading / writing flashmem works better now. 2018-04-19 00:27:44 +02:00
iceman1001 fd52946ef8 chg: missing import, added sample to helptext and better length checks. (@neuromancer) 2018-04-18 22:21:16 +02:00
iceman1001 2e6699273e chg: cleanup from offical repo 2018-04-18 20:17:00 +02:00
iceman1001 646ff0ce68 add: 'script run mifare_access' script which tries to decode Mifare Classic access bytes. (thanks to @neuromancer) 2018-04-18 19:20:13 +02:00
iceman1001 ec54fa5b30 fix: crc16 ccitt in utils.lua has been adapted for the new crc16. 2018-04-18 16:08:46 +02:00
iceman1001 a968ea8c53 chg: latest fixes 2018-04-17 13:26:28 +02:00
iceman1001 e09f26c862 chg: extra space 2018-04-06 23:53:33 +02:00
iceman1001 e8be06dd31 fix: 'data plot' - plot window now hides when keypress Q 2018-04-06 23:52:55 +02:00
iceman1001 190be2bd43 chg: 'data plot' - keypress Q doesn't hide / close window.. still unsolved. 2018-04-06 23:11:26 +02:00
iceman1001 eb2e3ce681 chg: to debug.. 2018-04-06 23:02:56 +02:00
4m4rOk 2c490063da
Fixed undeclared identifier
Building the client fails because the identifier "ERROR" is undeclared. Changing it to "ERR" fixes this.
2018-04-06 22:53:37 +02:00
iceman1001 2aa9372534 CHG: rename of global variable
CHG: adjusted outputs.
2018-04-06 09:25:34 +02:00
iceman1001 2e3308b257 add: 'script run mifareplus' - a script to communicate with Mifare Plus tag. (@dceliano)
chg: added a bunch of gitignores for my dev-env.
2018-04-05 11:57:44 +02:00
iceman1001 395fd82935 add: information on loclass binary files 2018-04-05 11:41:48 +02:00
iceman1001 0aa6568bf9 fix: 'hf mfu' increase array 2018-04-04 12:28:30 +02:00
iceman1001 6b63f704cc chg: adding spaces 2018-04-03 11:58:35 +02:00
iceman1001 967dbce1f2 chg: 'script run ul_uid' - tried to add suppor to for brickable magic tags which must be written in one session. 2018-04-03 11:24:58 +02:00
iceman1001 4b2a746ef5 ADD: 'hf mfu' detection of Mifare Ultralight NANO tags.
Interesting tag with two new commands.  LOCK_SIG  / WRITE_SIG.   Need to add support for it.
https://www.nxp.com/docs/en/data-sheet/MF0UN_H_00.pdf
2018-04-03 09:57:20 +02:00
iceman1001 089beed4f4 fix: 'script lf_bulk' - parity fixes (@pwpiwi) 2018-03-29 13:20:00 +02:00
iceman1001 d0b3f1311e chg: using_history? (suggestion of @pwpiwi) 2018-03-28 20:29:34 +02:00
iceman1001 37ff9275f1 reverted 2018-03-28 15:06:27 +02:00
iceman1001 90e63e10fb chg: wrong variable name 2018-03-28 13:05:23 +02:00
iceman1001 31bc214137 chg 2018-03-28 13:00:44 +02:00
iceman1001 230c279124 fix: 'lf indala' Commit 1dae981 extended the amount of
fixed bits searched for when decoding 64-bit Indala. These additional
bits come from the end of one UID, and therefore need to be skipped past
when actually retrieving the UID.  (@megabug)
b05611a30b
2018-03-28 12:53:27 +02:00
iceman1001 8f9da28a93 fix: reverting LF adjustment, will enable some LF to work properly again. 2018-03-26 12:02:22 +02:00
iceman1001 9f7d9a5d7f chg: 'trace save' - removed redundant message
chg: 'trace load' - add check if file is too small to be useful
2018-03-21 08:33:41 +01:00
iceman1001 4dd7c19be1 fix: causes readline to crash a lot on ubuntu 2018-03-21 08:13:07 +01:00
iceman1001 b5545f4c35 chg: 'trace save' - now uses fileutils.c instead. 2018-03-20 08:23:54 +01:00
iceman1001 3d92a616b7 fix: to_lower -> tolower 2018-03-19 19:24:52 +01:00
iceman1001 c814615e1b chg: helptext now shows correct sample key. (thanks @Dmanufacturer for pointing it out) 2018-03-19 19:19:57 +01:00
iceman1001 4ea466ac56 space 2018-03-19 18:17:04 +01:00
iceman1001 0abb85a411 chg: 'hf mfu dump' - renamed filename parameter from 'n' to 'f', since 'f' is used on other command (iClass)
chg: generic to_lower can remove some cases
2018-03-19 18:16:33 +01:00
iceman1001 15d258a30a fix: tracebuffer, and messages 2018-03-19 16:13:31 +01:00
iceman1001 e182d12ba8 chg: textual 2018-03-18 21:49:48 +01:00
iceman1001 52a0acd7f1 chg: 'trace save' better checks
chg: 'trace load' closing filehandles..
2018-03-18 21:47:16 +01:00
iceman1001 c30e282f5e chg: 'trace list' - allocating memory 2018-03-18 21:18:26 +01:00
iceman1001 7ecd35943c chg: 'trace load'
chg: 'trace save'

all from @pwpivi PR in offical pm3 repo https://github.com/Proxmark/proxmark3/pull/577

Adapted for bigger filesizes and offline/online detection.
Currently a bug somewhere....
2018-03-18 19:58:22 +01:00
iceman1001 71ce6e07ee CHG: moved trace commands into its own category (from hf)
'trace list'

there will also the load / save of trace buffer come.

For backwardfunctionality the old commands still works.
2018-03-18 18:00:41 +01:00
iceman1001 4c666e3832 add: OSX readline fixes ( @micolous )
0763239363
2018-03-17 14:35:34 +01:00
iceman1001 0656edbb85 chg: 'hf mfu dump' message 2018-03-17 14:34:55 +01:00
iceman1001 b0eaa730c0 FIX: 'hf mfu dump' - partial reads leads to overwritten data on wrong blocks. 2018-03-16 16:31:10 +01:00
iceman1001 0eca7e3977 chg: #define rename 2018-03-16 08:58:07 +01:00
iceman1001 7a71df3aec syntax sugar 2018-03-15 22:35:11 +01:00
Johnny Bengtsson fdda1d2961
Minor warning correction.
This fix resolves the warnings as printed below. 

ui.c: In function ‘PrintAndLogOptions’:
ui.c:40:45: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
        snprintf(format, sizeof(format), "%%%us%%%us", space, counts[j]);
                                             ^
ui.c:40:50: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
        snprintf(format, sizeof(format), "%%%us%%%us", space, counts[j]);
                                                  ^
ui.c:42:54: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
                 snprintf(format, sizeof(format), "%%%us%%-%us", space, counts[j]);
                                                      ^
ui.c:42:60: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
                 snprintf(format, sizeof(format), "%%%us%%-%us", space, counts[j]);
2018-03-15 13:59:43 +01:00
iceman1001 fd7acc78f3 fix: 'hf 14a info' - ATS length sanity check added 2018-03-13 23:16:48 +01:00
iceman1001 24482211ad chg: the dot progress is not logged anymore. Force fflush afterwards. 2018-03-05 20:07:29 +01:00
Brian Pow a352dbd93f migrate some usage text to call PrintAndLogOptions() 2018-03-01 23:55:13 +08:00
Brian Pow 88073dc5ce add PrintAndLogOptions 2018-03-01 23:34:14 +08:00
iceman1001 04d4ecddbf FIX: 'data plot + keypress g on empty plot' correct fix. 2018-03-01 14:35:47 +01:00
iceman1001 0eaae0cbae chg: another "." progress 2018-03-01 14:12:17 +01:00
iceman1001 40cc0a402b chG: adjust some "." progress dots, that shouldn't use NORMAL.. 2018-03-01 14:10:52 +01:00
iceman1001 5de4d9d3a6 FIX: 'data plot window' - keypress G in an empty plot crashed the client. Missing parenthis. 2018-02-28 21:53:42 +01:00
iceman1001 802994d30a add: 'hf 14 antifuzz' - the outline for the new functionality which fuzzes the anticollision phase ISO 14443a. 2018-02-28 13:21:47 +01:00
iceman1001 184ab1aeab fix: output from reconnect, seems to get stuck and not continue into cli. 2018-02-28 08:23:49 +01:00
iceman1001 97c029fc55 textual output 2018-02-28 08:12:21 +01:00
Brian Pow e0121a3bfd reformat usage text 2018-02-27 22:59:15 +08:00
Iceman b63e9ab938
Merge pull request #183 from brianpow/hf-15-restore
implement 'hf 15 restore'
2018-02-26 21:06:29 +01:00
iceman1001 867a3a8f0c fix: wrong size 2018-02-24 18:11:54 +01:00
Brian Pow d8f0863a2a PrintAndLogEx supports multi-line messages 2018-02-25 00:39:05 +08:00
Brian Pow c0c89a0e7b implement 'hf 15 restore' 2018-02-24 21:45:51 +08:00
Brian Pow a4fa0144eb migrate PrintfAndLog() to PrintAndLogDevice() 2018-02-22 23:17:46 +08:00
Brian Pow 668b44ba26 use PrintAndLogEx() instead of PrintAndLog() 2018-02-22 20:49:39 +08:00
Brian Pow f0314562f7 fix typos 2018-02-22 20:47:23 +08:00
iceman1001 d8281e69fd chg: skip printing debug statements when not debugging.
chg:  started with a coloring of messages.  Didn't work super well..
2018-02-21 19:00:42 +01:00
iceman1001 a9c652bb6c no need for formatting 2018-02-21 18:20:50 +01:00
iceman1001 65a4253e7e print.. 2018-02-21 17:56:09 +01:00
iceman1001 b5500c3e54 simple debug.. 2018-02-21 16:48:52 +01:00
iceman1001 db6b1bab7d simpler debug 2018-02-21 16:46:38 +01:00
iceman1001 0248352ea6 chg:simpler debug printing 2018-02-21 16:41:39 +01:00
iceman1001 e69ca55246 chg: more.. 2018-02-21 16:37:20 +01:00
iceman1001 555b261eab simpler debug printing 2018-02-21 16:36:40 +01:00
iceman1001 e29503b368 chg: easier debug printing 2018-02-21 16:31:34 +01:00
iceman1001 7064a2dd71 chg: made debugprintig easier. 2018-02-21 16:30:15 +01:00
iceman1001 a29b2328db fix: g_debugMode - client side global debugvariable, moved to util.c 2018-02-21 15:54:13 +01:00
iceman1001 180e3d4df9 chg: adaptations for global debug var to be accessible 2018-02-21 14:59:06 +01:00
iceman1001 dc22ba144c fix: adapting for g_debug access.. 2018-02-21 14:52:31 +01:00
iceman1001 69aa3bfeed chg: skip printing DEBUG messages if global client debug variable it set to zero. 2018-02-21 14:42:00 +01:00
Brian Pow 731a7db4e6 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 21:03:36 +08:00
Brian Pow 6ba31a5581 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 21:03:36 +08:00
Brian Pow 5d332d38ef use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 21:03:36 +08:00
Brian Pow 26af82879a use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 21:03:35 +08:00
Brian Pow e9185085c7 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 21:02:28 +08:00
Brian Pow 39f44c33a4 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:56:39 +08:00
Brian Pow 7a9612036d use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:56:39 +08:00
Brian Pow 6d6f5f422d use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:56:39 +08:00
Brian Pow ee3da288e3 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:56:39 +08:00
Brian Pow 14c68d47ec use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:56:38 +08:00
Brian Pow d8518f0b00 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:56:38 +08:00
Brian Pow e68055ac65 use PrintAndLogEx() instead of PrintAndLog(), remove uerr() 2018-02-21 20:43:56 +08:00
Brian Pow 0de94cff10 use PrintAndLogEx() instead of PrintAndLog(), tweak messages 2018-02-21 20:43:56 +08:00
Brian Pow dff2a778b1 use PrintAndLogEx() instead of PrintAndLog(), tweak message 2018-02-21 20:43:56 +08:00
Brian Pow 936581b4ac use PrintAndLogEx() instead of PrintAndLog(), tweak messages 2018-02-21 20:43:56 +08:00
Brian Pow 69586e5dd6 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:56 +08:00
Brian Pow 5bd7ba6fd0 use PrintAndLogEx() instead of PrintAndLog(), tweak messages 2018-02-21 20:43:56 +08:00
Brian Pow bfa510cce1 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:55 +08:00
Brian Pow 217647d993 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:55 +08:00
Brian Pow 24274ff2fe use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:55 +08:00
Brian Pow a7f61f7811 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:55 +08:00
Brian Pow b4b26377d8 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:55 +08:00
Brian Pow 6a1c2895e0 use PrintAndLogEx() instead of PrintAndLog(), tweak messages 2018-02-21 20:43:54 +08:00
Brian Pow 72b733b833 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:54 +08:00
Brian Pow 9c574b4920 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:54 +08:00
Brian Pow a84d863fc2 use PrintAndLogEx() instead of PrintAndLog(), tweak messages 2018-02-21 20:43:54 +08:00
Brian Pow bec3b6c468 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:54 +08:00
Brian Pow 4306f85343 tweak messages 2018-02-21 20:43:54 +08:00
Brian Pow 9b7bd49665 tweak messages 2018-02-21 20:43:53 +08:00
Brian Pow 6003d4ffa0 tweak messages 2018-02-21 20:43:53 +08:00
Brian Pow 858224244d tweak messages 2018-02-21 20:43:53 +08:00
Brian Pow 43ec321e53 tweak messages 2018-02-21 20:43:53 +08:00
Brian Pow b1318c6e0c use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:52 +08:00
Brian Pow 618b868daf tweak message 2018-02-21 20:43:52 +08:00
Brian Pow c80c992ff3 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:52 +08:00
Brian Pow 2cea36c3b5 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:51 +08:00
Brian Pow 740a1daaa4 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:51 +08:00
Brian Pow 8e15b3fa22 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:51 +08:00
Brian Pow 8c435c2725 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:51 +08:00
Brian Pow 0f6e779e0d use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:51 +08:00
Brian Pow 8a408088af tweak message 2018-02-21 20:43:51 +08:00
Brian Pow d34e95b9a8 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:50 +08:00
Brian Pow 2a3f670e0c use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:50 +08:00
Brian Pow 621a349e61 tweak messages 2018-02-21 20:43:50 +08:00
Brian Pow 4afe5e6ce0 tweak messages 2018-02-21 20:43:50 +08:00
Brian Pow 6582a2ccb1 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:50 +08:00
Brian Pow cafa0649f5 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:50 +08:00
Brian Pow 02694401e8 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:49 +08:00
Brian Pow b8f106d7a7 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:49 +08:00
Brian Pow 44bd1cd13d use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:49 +08:00
Brian Pow 9aee92f27d use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:49 +08:00
Brian Pow 5b0233854d use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:49 +08:00
Brian Pow ec0fa961a1 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:49 +08:00
Brian Pow 78647f4502 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:48 +08:00
Brian Pow 37b1b9a650 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:48 +08:00
Brian Pow cf7b12a734 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:48 +08:00
Brian Pow 72ce7dc595 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:48 +08:00
Brian Pow d8c8874bdf use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:48 +08:00
Brian Pow 9fa5d23cc5 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:47 +08:00
Brian Pow 7e125b9bfb use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:39:54 +08:00
Iceman 4efb9aba4d
Merge pull request #177 from brianpow/PrintAndLogEx
add PrintAndLogEx()
2018-02-21 07:20:43 +01:00
Brian Pow 68fddf00ce simplify PrintAndLogEx() 2018-02-21 14:10:44 +08:00
iceman1001 4e915d2eb4 chg: prng detection now takes in consideration if detection fails. 2018-02-20 21:20:17 +01:00
iceman1001 9512f60227 chg: formatMifare.lua helptext output 2018-02-20 20:20:34 +01:00
iceman1001 5dbfb627fc chg: 'brutesim' - script prints author and checks for being called with no arguments. 2018-02-20 20:18:37 +01:00
iceman1001 5b6a5206df add: 'script run lf_bulk' - the original script is call lf_buld_program but thats a too long name, with adaptations in code.
chg: some script textual output
2018-02-20 20:16:30 +01:00
tuxthemadpenguin ce27e5d7e1
Adding MBTA keys - same for every card 2018-02-19 11:02:18 -05:00
iceman1001 e6f51451aa chg: added the mutex lock to printing in communications thread. 2018-02-18 10:36:15 +01:00
iceman1001 41540ae1c1 chg: removed warning of uninitilised 2018-02-15 23:47:16 +01:00
iceman1001 9e1e9af794 chg: 'data autocorr' - adjustment of parameters. 2018-02-15 20:23:54 +01:00
iceman1001 a38904c453 CHG: 'data autocorrelate' - now using proper autocorrelate algo. 2018-02-15 17:57:28 +01:00
Brian Pow 5ea8b4348c add PrintAndLogEx() 2018-02-15 23:32:08 +08:00
iceman1001 a1dd7c2020 chg: 'hf list mf' - adapted the output from 16bytes rows to 18 in order to make output more easily to compare 2018-02-15 11:47:34 +01:00
Federico Cerutti 8d152d24f2 Merge branch 'master' of https://github.com/iceman1001/proxmark3 2018-02-15 00:21:25 +01:00
Federico Cerutti 58ddd53fb0 Removed hf 15 select: broken command 2018-02-15 00:13:27 +01:00
iceman1001 acda2ebc66 fix: 'hf list mf' - decrypting works now. Missed a bit. 2018-02-15 00:03:01 +01:00
iceman1001 326079fbb6 chg: timing text 2018-02-14 23:53:32 +01:00
iceman1001 b8ddb3b384 chg: 'hf list mf' - 10b uid 2018-02-14 23:48:45 +01:00
iceman1001 ad99b4f394 add: 'hf list mf' - old 'hf mf sniff' decoding of data has now been incorporated annotations instead. (@merlokk)
---most likely broke something.. :)  needs proper testing.
2018-02-14 23:03:39 +01:00
iceman1001 604aaf5356 fix: missing in header.. 2018-02-14 21:56:28 +01:00
Iceman 2b78b785f3
Merge pull request #173 from brianpow/rename-prnlog-to-PrintfAndLog
Rename prnlog() to PrintfAndLog()
2018-02-14 21:47:54 +01:00
iceman1001 b2a3b0f72a chg: 'lf cmdread' @marshmellow42 improvements from https://github.com/Proxmark/proxmark3/pull/570
chg:  and some adaptations..
2018-02-14 21:40:52 +01:00
iceman1001 8c5ab9cf18 textual 2018-02-14 16:18:04 +01:00
iceman1001 e09d5385bf chg: clearing some mem.. 2018-02-14 15:27:39 +01:00
iceman1001 97803733ce fix: 'hf 15 raw' - wrong length when using -c param
https://github.com/iceman1001/proxmark3/issues/174
2018-02-14 15:24:45 +01:00
iceman1001 46d540490f chg: add response ack. 2018-02-13 15:45:15 +01:00
iceman1001 1709c1ce1a chg: flash_mem - hooked up client - device comms 2018-02-13 15:36:20 +01:00
Brian Pow 8f9c81ae81 Rename prnlog() to PrintfAndLog() 2018-02-13 00:12:50 +08:00
iceman1001 1b8ff6c45c syntax 2018-02-11 17:46:14 +01:00
Iceman 9af8d0e7ac
Merge pull request #164 from brianpow/master
CHG: 'hf mf dump' now use hf-mf-UID-key.bin and hf-mf-UID-data.bin in…
2018-02-11 17:42:40 +01:00
Iceman 442ad9f481
Merge pull request #172 from n0ncetonic/patch-2
Adds default PicoPass 2k Exchange Key
2018-02-11 14:10:57 +01:00
noncetonic b3c6103f92
Adds key
Actually adds the key...
2018-02-09 11:24:25 -08:00
noncetonic fb05042b71
Adds default PicoPass 2k Exchange Key
PicoPass 2k doc describes loading Kd and Kc via their "encrypted values" composed of the default exchange key  XOR'd with Kd/Kc
2018-02-09 10:12:40 -08:00
Brian Pow 8b00d6c121 FIX: remove ISO14A_NO_DISCONNECT when reading the UID from mifare card 2018-02-10 00:01:50 +08:00
Brian Pow b1d414c680 CHG: replace 'samples:' with 'Examples:', unify some usage text 2018-02-09 22:56:16 +08:00
Brian Pow a02ec72f50 CHG: 'hf mf hardnested r' now read the corresponding bin file if tag presents, otherwise read nonces.bin 2018-02-09 22:56:16 +08:00
Brian Pow e1bc58692d Improved error detection and message if missing paramters for 'hf mf hardnested' 2018-02-09 22:56:15 +08:00
Brian Pow 35e62e7d1f CHG: 'hf mf hardnested' now use hf-mf-<UID>-nonces.bin by default, with parameter 'u' or 'f' to override. 2018-02-09 22:56:15 +08:00
Brian Pow d9882c9167 ADD: help in 'hf mf ice'. Save to hf-mf-<UID>-nonces.bin by default, with 'f' switch to override the default name 2018-02-09 22:56:15 +08:00
Brian Pow 53540fe206 ADD: 'hf mf restore' now allow user to specify the filename to restore 2018-02-09 22:56:15 +08:00
Brian Pow 756378e3c7 CHG: Added two switches for 'hf mf dump'. 'k' for key filename and 'f' for data filename,
FIX: Stop dumping/restoreing a tag if failed to generate filename using uid
2018-02-09 22:56:14 +08:00
Brian Pow 19fc90fa71 FIX: Stop dumping/restoreing a tag if failed to generate filename using uid 2018-02-09 22:54:55 +08:00
Brian Pow 8e04df77ba FIX: GenerateFilename() return broken filename if no tag is detected. 2018-02-09 22:54:55 +08:00
Brian Pow 45c20d62b8 FIX: wrongly assume the max size of UID to 8 bytes. Max size should be 10 bytes. 2018-02-09 22:54:55 +08:00
Brian Pow 551cc5539b Updated header file for better consistency of parameter name 2018-02-09 22:54:55 +08:00
Brian Pow 39d2a92ead CHG: use FillFileNameByUID() for filename generation for 'hf 15 dump' 2018-02-09 22:54:54 +08:00
Brian Pow d050e473b7 CHG: use FillFileNameByUID() for filename generation for 'hf mf dump' and 'hf mf chk * ? d' 2018-02-09 22:54:54 +08:00
Brian Pow 314253c359 CHG: 'hf mf dump' now use hf-mf-UID-key.bin and hf-mf-UID-data.bin instead of dumpkey.bin and dumpdata.bin as default name 2018-02-09 22:54:54 +08:00
iceman1001 f1dcdaef27 fix: 'hf mf fchk' wrong number of vars to format string 2018-02-09 13:40:28 +01:00
iceman1001 5b596f8e82 chg: 'hw tune' - only show plotwindow if LF antenna is connected (ie we get lf values) 2018-02-09 13:39:32 +01:00
iceman1001 ff598db839 textual 2018-02-09 00:28:30 +01:00
iceman1001 76e6683ac4 text 2018-02-09 00:27:30 +01:00
iceman1001 5adb9af78f chg: 'hw tune' - compensating the 3% error marginal. 2018-02-09 00:25:45 +01:00
iceman1001 fe34cac012 FIX: 'hf mf darkside' - no more WDT crashes. plus positive sideeffects (@pwpiwi)
https://github.com/Proxmark/proxmark3/pull/569
2018-02-08 19:11:35 +01:00
noncetonic 20af8e78ad
Adds PicoPass 2k Kd
Found in documentation when describing how the exchange key is used with default Kd to send encrypted Kd. Kc also referenced but not sure if it's super useful
2018-02-08 06:05:31 -08:00
iceman1001 39de74cb78 fix: wrong block 2018-02-08 12:39:35 +01:00
iceman1001 357cf59f1b textual 2018-02-08 12:35:59 +01:00
iceman1001 220614ca10 fix: 'hf iclass reader' - drop field when finished. 2018-02-08 12:34:13 +01:00
iceman1001 b31afcfc31 fix: 'hf iclass reader' - missing CC 2018-02-08 12:18:40 +01:00
iceman1001 2847a147b5 fix: 'hf iclass dump', missing CC 2018-02-08 12:15:47 +01:00
iceman1001 f6d314d09e chg: iclass dump textual.. 2018-02-08 11:03:11 +01:00
iceman1001 28e73824e1 chg: 'hf iclass dump' - more texts 2018-02-08 10:49:44 +01:00
iceman1001 30e9395590 fix: 'hf iclass lookup' - exit when failed to load dictionary file 2018-02-08 10:32:14 +01:00
iceman1001 7bf6e0d089 fix: 'hf iclass chk' - checking keys outside the first chunk of 128. 2018-02-08 09:30:34 +01:00
iceman1001 fb4b3502ef fix: 'script run mifare_autopwn.lua' - wrong bool comparision 2018-02-07 23:54:11 +01:00
iceman1001 c808eb0e87 chg: 'hf mf nested' - adjusted the candidate loop to handle all keys, not only max 85 keys. 2018-02-07 23:13:54 +01:00
iceman1001 c9479276dc textu 2018-02-07 22:02:04 +01:00
iceman1001 134d04cb7a FIX: 'hf mf darkside' - correct behaviour is to copy the key candidates to the list, not only to first position.
This solves slow execution of command,  since before attack had to repeat until correct key was in pos 1.
2018-02-07 21:51:45 +01:00
iceman1001 120abf10bc chg: tests with ansi-colors 2018-02-07 14:08:57 +01:00
iceman1001 6371dfc5b6 chg: made DropField function a compiler macro instead. 2018-02-06 22:32:08 +01:00
iceman1001 2820ba5580 chg: 'hf mf nested'
chg: 'hf mf dump'   change retries to 10 times
2018-02-06 20:08:42 +01:00
iceman1001 09b2a079ba chg: enable ansi-colors for OSX 2018-02-06 19:21:47 +01:00
iceman1001 88becf8b09 chg: missed a spot.. showBanner should not be shown on apple 2018-02-06 12:45:38 +01:00
iceman1001 843f453491 fix: saveFileEML() does not follow blocksize. Thanks to @brainpow
ref
271dface40
2018-02-06 12:43:58 +01:00
iceman1001 124ce7efc6 chg: from loclass demo file 2018-02-06 12:33:27 +01:00
iceman1001 304a59f710 chg: 'hf mf darkside' - .... nothing special... zero parity attack works, doesnt crash, but takes kind of long time 2018-02-05 23:16:09 +01:00
iceman1001 9e8c1d81a4 chg: 'hf mf darkside' - better output for zero-parity attack.
chg: 'hf mf darkside' - now also honor keyboard interupt attack..
2018-02-05 21:05:29 +01:00
iceman1001 b8e7f20945 chg: textual.. and moved a helptext 2018-02-05 21:03:51 +01:00
iceman1001 3464fbe1df fix 'hf mf darkside' - adapted solution from @pwpivi 2018-02-05 20:46:14 +01:00
iceman1001 09d8744b84 testual 2018-02-05 16:57:29 +01:00
iceman1001 c02ee39029 practising byte splitting and a startpattern detection for FeliCa... 2018-02-05 16:51:46 +01:00
iceman1001 b90c3db96b rename: 'hf mf mifare' -> 'hf mf darkside' Finally renamed this,...
adjusted the help-texts
adjusted command tables,  to have separators in order to make it easier to read.  commands now grouped according to relevance.
2018-02-05 16:50:06 +01:00
iceman1001 274370554f textual
and only allow escape sequences on linux
2018-02-05 16:47:57 +01:00
iceman1001 c72548562e chg: remove double exit text
chg: escape chars didn't work on apple
2018-02-05 16:38:00 +01:00
iceman1001 debf4e3327 chg: 'analyse hid' moved to 'hf iclass permute' un/permute function is moved. 2018-02-04 17:19:08 +01:00
iceman1001 7c89a191ef textual 2018-02-04 16:58:48 +01:00
iceman1001 6605d92fbb chg: tried making the reselect more stable.
chg: 'hf iclass readblk'
chg: 'hf iclass writeblk'
chg: 'hf iclass dump'
chg: 'hf iclass clone'
        all commands now has 'v'  verbose parameter for more detailed output.
2018-02-04 12:25:55 +01:00
iceman1001 6a9ddf6e69 chg 'hf iclass chk' - increased timeout, switch off antenna before each run in order to reset card, three retires. all this make it more stable. 2018-02-04 10:20:38 +01:00
iceman1001 dc25f9212f FIX: 'hf iclass sim 2'
FIX: 'hf iclass sim 4'
FIX: 'hf iclass loclass' - this fixes the bug where loclass assumes the epurse value is all zeros, while it now should save the epurse value during the simulation if it is updated/read.

I assume a empty valid epurse, while an all zero epurse is too much easy to detect as a anomaly.
2018-02-04 00:52:29 +01:00
iceman1001 7c8de64c57 textual 2018-02-03 23:15:14 +01:00
iceman1001 1ab498001e fix: 'reveng -g' stack crash by too small array 2018-02-03 23:05:01 +01:00
iceman1001 e95313cc22 fix: reveng needs a macro to compile. 2018-02-03 22:58:43 +01:00
iceman1001 7de458486f adjustments, still breaks on ubuntu, 2018-02-03 22:47:17 +01:00
iceman1001 0234ca5654 scripting, remove free 2018-02-03 22:33:51 +01:00
iceman1001 8a49cb84a2 fix: script run e - if called with param but no value, use default value for width.
fix: if no models found, return lua error.
textual changes.
2018-02-03 22:17:07 +01:00
iceman1001 2d2a8b7b1b fix: avoid empty strings. 2018-02-03 21:56:34 +01:00
iceman1001 2b34fbec0c fix: proper exit with script fails to find any crc models. 2018-02-03 21:49:29 +01:00
iceman1001 54f0c188dd add 2018-02-03 15:35:59 +01:00
iceman1001 c025e38d91 fix: remove warning.. 2018-02-02 17:32:02 +01:00
iceman1001 07d7b9424c chg: textual 2018-02-02 13:01:11 +01:00
iceman1001 fff8edd815 chg: textual.. 2018-02-02 12:59:40 +01:00
iceman1001 ccfdd60c09 chg: textual 2018-02-01 21:39:34 +01:00
iceman1001 cfb3654f7b chg: textual 2018-02-01 18:24:38 +01:00
iceman1001 55874d7872 chg: textual 2018-02-01 18:02:24 +01:00
iceman1001 59a461fd2b chg: 'hf iclass sim' ..double 2018-02-01 18:01:44 +01:00
iceman1001 8380743a42 chg: 'hf iclass sim' textual 2018-02-01 17:58:50 +01:00
iceman1001 111b55d850 chg: 'hf iclass sim' textual 2018-02-01 17:53:28 +01:00
iceman1001 e0373212a3 chg: 'hf iclass sim' - sim2, 4 get less default output, set DBG 4 for verbose 2018-02-01 16:10:24 +01:00
iceman1001 3248bb5a56 chg: 'hf iclass sim' - get ride of the "waiting for response" message.
-- sim 2, 4  - cancel by keypress.
2018-02-01 15:55:12 +01:00
noncetonic a52024ef3d
Updates command usage
Updates `usage_hf_iclass_lookup` to match u/U being used for CSN vs c/C.
Updates `usage_hf_iclass_sim` to include "sim 4"
Updates `usage_hf_iclass_writeblock` to remove sample with invalid `n 0` option
2018-02-01 06:41:44 -08:00
iceman1001 1965927009 chg: https://github.com/Proxmark/proxmark3/pull/558 (@pwpiwi) might solve the mystery crashes. 2018-02-01 15:24:36 +01:00
iceman1001 52d69ed4ee CHG: refactor CRC16 algos. This is a big change, most likely some parts broke, hard to test it all. 2018-02-01 15:19:47 +01:00
noncetonic 092c75961f
Adds HID Master Auth Key
It's leaked so why not share it
2018-02-01 04:21:04 -08:00
iceman1001 50e4d60853 chg: 'hf iclass lookup' adjusted helptext and parameters 2018-01-31 16:50:41 +01:00
iceman1001 e66b9c52b3 chg: some referense to "string.h" -> which should be <string.h> or removed. 2018-01-31 12:04:12 +01:00
iceman1001 bf25b1c9ba chg: crc16 got a compute_crc function 2018-01-30 03:31:11 +01:00
iceman1001 eb8e7a1679 intendention 2018-01-30 03:29:59 +01:00
iceman1001 c6207d09e1 chg: 'hf felica reader' is better, almost working good 2018-01-30 03:29:37 +01:00
iceman1001 b39332e938 REM: 'hf 15 debug' removed command, unified with mf_debuglevel instead. The idea is to have ONE debug flag on deviceside. 2018-01-29 15:58:00 +01:00
iceman1001 29c15b3480 cHG.. missing 2018-01-29 13:48:18 +01:00
iceman1001 ed982a4787 textual 2018-01-29 13:42:18 +01:00
iceman1001 c04ac4f9ac ADD: 'hf felica reader' - added pm3 as FeliCa reader
ADD:  raw commands -  added the basis for sending RAW commands to FeliCa.
CHG: CRC16 rework,  uses table based implementation.  This will change more functions as I go on.
2018-01-29 13:42:02 +01:00
iceman1001 51a65a0ce3 rem: removed unneeded function 2018-01-28 12:47:08 +01:00
iceman1001 205e4b2300 chg: adjusted the input parameters for crc16 implementations. 2018-01-28 12:19:04 +01:00
iceman1001 e396575424 add: fast reverse 16bit 2018-01-27 23:16:35 +01:00
iceman1001 ede55a1498 add: fast 8bit reversal. 2018-01-27 22:20:56 +01:00
iceman1001 dcdac209d4 fix: gcc7 warning 2018-01-26 20:44:57 +01:00
iceman1001 374c1b16f6 chg: remove gcc 7.0 warnings 2018-01-26 20:17:56 +01:00
iceman1001 13e521668f FIX: https://github.com/Proxmark/proxmark3/pull/555 (Thanks @arnie97) 2018-01-26 19:31:13 +01:00
iceman1001 4671b81115 chg: skip pointers and make a small number instead. 2018-01-25 20:54:15 +01:00
iceman1001 0582fdf934 chg: pointer should be unsigned 2018-01-25 20:29:22 +01:00
iceman1001 d3db40b7dd chg: remove warning 2018-01-25 20:12:33 +01:00
iceman1001 f01bc31486 CHG: removed warnings %zu size_t 2018-01-25 19:51:10 +01:00
iceman1001 20e9931b63 syntax sugar 2018-01-25 18:45:13 +01:00
iceman1001 f0e328a64b chg: since we now uses c99 as standard, we can use string formatter %zu 2018-01-25 18:41:59 +01:00
iceman1001 009e4f9d99 chg: use return value instead 2018-01-25 18:11:07 +01:00
iceman1001 681f2cc83d fix: bad compare. 2018-01-25 18:10:34 +01:00
iceman1001 f6b98acbf6 chg: turn off antenna when failed. 2018-01-25 18:02:49 +01:00
iceman1001 b10dca061a fix: too many arguments to function 2018-01-25 18:01:40 +01:00
iceman1001 c1b4411268 FIX: array-out-of-bounds 2018-01-25 17:59:11 +01:00
iceman1001 a13ecc4a4e CHG: applied https://github.com/Proxmark/proxmark3/pull/553 (@arnie97) and in some more places 2018-01-25 09:51:49 +01:00
iceman1001 aad1e65b97 FIX: cherrypick some fixes from https://github.com/Proxmark/proxmark3/pull/550 (pwpiwi) 2018-01-23 17:41:47 +01:00
iceman1001 be82f9f018 DEL: 'hf mf sniff' - since it is very similar to 'hf 14a sniff' , I removed this command. The desired functionality will become a new 'hf list mf' option in the future. 2018-01-18 14:11:22 +01:00
iceman1001 21dd3f68ea chg: 'hf mf sniff' - adjustments 2018-01-17 00:34:15 +01:00
iceman1001 d60721d131 chg: clean up 2018-01-17 00:30:43 +01:00
iceman1001 9a162c9a79 CHG: 'hf mf sniff' - output adjustments 2018-01-17 00:29:41 +01:00
iceman1001 1b20ff8243 chg, 'hf mf sim' is ok to call without parameter 2018-01-11 22:07:26 +01:00
iceman1001 8f6253c5ed chg: textual 2018-01-11 21:50:05 +01:00
iceman1001 706287619a FIX: 'hf mf sniff' - possible mf frame sizes for Desfire is 256 or more 2018-01-11 21:49:27 +01:00
iceman1001 5ea8f73547 FIX: cmd_send has wrong varible definitions, leading to loss of values. 2018-01-11 21:47:27 +01:00
iceman1001 1b61e01f0e chg: removed whitespaces. 2018-01-09 19:17:21 +01:00
iceman1001 2b093f8059 chg: 'hf iclass' textual 2018-01-09 16:31:54 +01:00
iceman1001 8103f8c7d0 syntax sugar 2018-01-09 16:30:30 +01:00
iceman1001 1d04e8822c chg: 'hf mf fchk' textual 2018-01-09 16:29:43 +01:00
iceman1001 f865b593d7 chg: 'hf mf fchk' helptext
chg: 'hf mf sniff' textual
2018-01-09 16:25:58 +01:00
iceman1001 eed271af5c CHG: 'hw tune' tuning antenna now can handle bigger antennas than 65v, with shifting 9, it can measure up to 130v.
CHG: 'hw tune'  -  command output and layout changes.  I think this is easier to read.
2018-01-09 14:53:17 +01:00
iceman1001 b578e55d17 chg: 'hf 14b snoop' renamed 'hf 14b sniff'...
In order to use one command for SNIFFING..   All snoop names will be renamed.
2018-01-06 21:12:28 +01:00
iceman1001 5dc1761943 FIX: solution one, for more avx, avx2, avx512
ab0582d672
2018-01-06 18:52:28 +01:00
iceman1001 cd1f5a58f5 ADD: 'script run ntag_3d.lua' - script to program xyz related ntag213f / magic ntag 2018-01-06 09:54:46 +01:00
iceman1001 07d51ec4a4 fix... don't even mention it... 2018-01-06 00:19:52 +01:00
iceman1001 1a2973a319 fix: 'hf mf hardnested' - crashes on SSE2 with mingw / windows, Huge thanks to @merlokk @pwpiwi for bug and fix!
https://github.com/Proxmark/proxmark3/issues/404
2018-01-05 18:01:59 +01:00
iceman1001 647d275d18 chg: 'hf felica litedump' - now turns off device when aborted via keyboard, or buttonpress 2018-01-05 17:57:50 +01:00
iceman1001 9a8331b882 textual 2018-01-05 17:42:21 +01:00
iceman1001 0fda0329eb textual 2018-01-05 17:41:11 +01:00
iceman1001 82dbfba827 chg: 'hf felica litedump' - more stable impl. Will not break when run twice in a row. Still device can be in a loop if 100sec timeout occures. :( 2018-01-05 17:39:04 +01:00
iceman1001 f0a5d10354 chg: 'hf iclass eload' better filename handling 2018-01-02 13:02:55 +01:00
iceman1001 fe9416db23 chg: 'hf iclass' - work in progress. running default_iclass_keys.dic against reader (pm3 as simulation) 2018-01-02 11:17:31 +01:00
iceman1001 c328f68640 fix: part of @pwpiwi 's #534 fixes 2018-01-01 18:57:37 +01:00
iceman1001 d9089e74b4 chg: textual 2018-01-01 18:54:01 +01:00
iceman1001 f92a6ddf7d FIX: 'hf iclass' - sneaky fread bug. thanks to @bettse who found it 2018-01-01 14:28:53 +01:00
Chris d5ce45bae7 FIX: 'hf mf chk' / 'hf mf fchk' - t/d param bug. Now it is not place dependent and can also read several dictionary files :) 2017-12-31 19:36:12 +01:00
iceman1001 2abcce598a lastone 2017-12-27 20:47:34 +01:00
iceman1001 97c176c10e additions of keys 2017-12-27 20:36:46 +01:00
iceman1001 7d25ab4561 Update loclass license conditions, https://github.com/Proxmark/proxmark3/issues/527 2017-12-27 10:34:51 +01:00
iceman1001 36eb64cef4 fix: making it strings 2017-12-24 11:04:13 +01:00
iceman1001 61b8594cb4 working progress.. 2017-12-24 10:59:24 +01:00
iceman1001 4e6140570e fix: add dummy 2017-12-24 10:57:21 +01:00
iceman1001 dc890104aa fix: spaces, and remove tabs 2017-12-24 10:56:17 +01:00
iceman1001 289b5fcb0f chg: adapting to path 2017-12-24 10:51:42 +01:00
iceman1001 e873c1decd chg: 'hf 15' updated some helptexts 2017-12-24 10:33:14 +01:00
iceman1001 f1e631ef56 chg: adapting path changes. 2017-12-24 10:32:15 +01:00
iceman1001 40b1922187 chg: added emv4 changes.
broke out the includes into a variable instead. was getting long
2017-12-24 10:29:50 +01:00
iceman1001 fefac686e8 chg: adapting to new locations, and changes in makefile. 2017-12-24 10:28:46 +01:00
iceman1001 590fd15c3a chg includes 2017-12-24 10:27:52 +01:00
iceman1001 ba17fe8130 chg: some iclass changes in the making. 2017-12-24 10:27:18 +01:00
iceman1001 a3ec7fd21f chg: 'hf emv' changes from @merlokk EMV4 commit 2017-12-24 10:26:47 +01:00
iceman1001 1deb171573 add dummy. 2017-12-24 10:07:44 +01:00
iceman1001 ac4ef684e5 fix: cherry picked fix LF SNOOP not working.
https://github.com/Proxmark/proxmark3/pull/528
https://github.com/Proxmark/proxmark3/issues/514
2017-12-23 22:17:30 +01:00
iceman1001 77bc60bc52 remov function 2017-12-23 11:24:10 +01:00
iceman1001 18a828d2fd chg: try to use native byteswapping functions when possible.
chg:  bits_to_array  new function
2017-12-23 09:51:20 +01:00
iceman1001 40dbb6b813 fix: one less block 2017-12-22 12:38:30 +01:00
iceman1001 6327b767fc fix: 'hf 15 read' - the correct comparison helps out a lot. 2017-12-21 16:02:19 +01:00