Commit graph

2248 commits

Author SHA1 Message Date
iceman1001 e5f92935a1 chg: more adjustments 2017-12-06 00:17:49 +01:00
iceman1001 0c0e20eb06 chg: adjustments 2017-12-06 00:12:15 +01:00
iceman1001 2fffe96773 chg: added the append_Crc option 2017-12-05 23:41:04 +01:00
iceman1001 0a1a48df01 chg: 'hf mf nack' - extracted in into mifarehost for easier usage in other cmds like
'hf 14a info'
chg: 'hf mf nack' - changes on devices side from @doegox   Thanks!
2017-12-05 23:34:52 +01:00
iceman1001 5f87b24493 chg: 2017-12-05 21:07:03 +01:00
iceman1001 c0f91ddd09 revert... 2017-12-05 18:42:57 +01:00
iceman1001 c8a9813261 fix: better avr512 detection (@pwpiwi) https://github.com/Proxmark/proxmark3/pull/507 2017-12-05 18:28:29 +01:00
iceman1001 a43f156370 chg: 'hf mf nack' - minor 2017-12-05 18:04:21 +01:00
iceman1001 6e5038f224 chg: 'hf mf nack' - only test all 256 parities for one nonce when synced.
0 nack = has not bug.
1 nack == has bug
x nacks == most likely a clone card which answers nack to all requests.
2017-12-05 17:57:44 +01:00
iceman1001 53d8668e00 ADD: 'hf emv' - more additions by (@merlokk) 2017-12-05 15:44:35 +01:00
iceman1001 08193fd2e5 chg: getting crazy out of sync when running against magic cards. 2017-12-05 12:30:40 +01:00
iceman1001 bea28ae654 chg: wrong var name 2017-12-05 11:54:38 +01:00
iceman1001 984a26370d chg: 'hf mf nack' better output 2017-12-05 11:53:42 +01:00
Iceman 66e0e18a35
Update Makefile
Remove all subversionings like  
7.1.1-3   becomes  7.1.1
2017-12-05 07:29:53 +01:00
iceman1001 7b01acd6cc fix: ref to <ctype.h> for isxdigit() 2017-12-04 21:18:08 +01:00
iceman1001 614255fd75 revert...
something is wrong with includes and defines...
2017-12-04 20:35:51 +01:00
iceman1001 7044cf8fdf chg: double defines.. 2017-12-04 20:30:03 +01:00
iceman1001 e02e145fae draft for a Mifare classic NACK bug detection.
the idea is to have a statistically solid conclusion if tag does or does not have the NACK bug.

-in short, ref  https://github.com/iceman1001/proxmark3/issues/141
NACK bug;  when a tag responds with a NACK to a 8 byte nonce exchange during authentication when the bytes are wrong but the parity bits are correct.

This is a strong oracle which is used in the darkside attack.
2017-12-04 19:36:26 +01:00
iceman1001 07bf77e155 fix: 'hf mfu restore' - printed too many bytes. 8 -> 4 2017-12-03 15:58:37 +01:00
iceman1001 c4b73c8737 chg: better debugging functions. 2017-12-03 15:24:24 +01:00
iceman1001 73a5e3b23d chg: 'hf mfu eload' - instead of showing a error, it now tells a warning that we only loaded N blocks of data to emulator memory.
It always loads the existing blocks into emulator memory.

The previous message made users belive a error had occured when it actually did load.
2017-12-03 15:23:24 +01:00
iceman1001 b89b3399dc FIX: if receiving array isnt large enough, previously this will smash the stack.. 2017-12-02 20:45:53 +01:00
iceman1001 bb916aa999 fix: removed a warning 2017-12-02 19:07:10 +01:00
iceman1001 3b4b7812bf fix: removed a warning, 2017-12-02 19:01:43 +01:00
iceman1001 d54bb4ddf4 chg: skip if not debug 2017-12-02 18:59:47 +01:00
iceman1001 eb0c0c364c CHG: EMV changes. https://github.com/Proxmark/proxmark3/pull/493 [@merlokk) 2017-12-02 18:58:33 +01:00
iceman1001 6e144e0121 chg: removed line 2017-11-29 07:19:51 +01:00
iceman1001 2a120ec2e0 fix: no copy the crc 2017-11-29 07:18:43 +01:00
iceman1001 53452ab857 fix: 'hf mfu info' - rfu should n't print pack.
fix: 'hf mfu info' - wrong pointer to cli authenticationkey
2017-11-28 21:23:58 +01:00
iceman1001 bed2ff2dba fix: wrong place.. key got overwritten.. 2017-11-28 20:36:29 +01:00
iceman1001 bc9b2af87e ADD: NTAG213F,NTAG216F specific information in configuration blocks.
ADD: insert pwd/pack if specified from cli.
2017-11-28 20:03:46 +01:00
iceman1001 5f58dcfa52 fix: 'hf mfu dump' - wrong. 2017-11-28 09:25:36 +01:00
iceman1001 1299a0b31d CHG: increased timeout for printing the warning messages. It interupts all loops that already takes this in consideration. 2017-11-28 08:30:25 +01:00
iceman1001 6fa8740abd fix: 'hf mfu info' - select before testing a new pwdgen.
fix: 'hf mfu info' - break after found pwd
2017-11-27 20:04:54 +01:00
iceman1001 b99d759231 fix: compare not assign 2017-11-27 09:23:21 +01:00
iceman1001 f46546c5a9 ADD: 'hf mfu info' - tag identification should now identify NTAG213_F , NTAG216_F (thanks for info @jackfagner) 2017-11-27 09:21:55 +01:00
iceman1001 428e54bb6b CHG: 'hf mfu' gettype identification, now deals with NTAG213, GetVersion = subtype 04, 2017-11-26 19:16:12 +01:00
iceman1001 1ebf4afd73 CHG: 'hf mfu info' - now also tests for pwdgen algo D. 2017-11-26 16:52:20 +01:00
iceman1001 b5010ddfe8 fix: signed / unsigned errors. 2017-11-26 07:29:05 +01:00
iceman1001 9b573e06a4 ADD: hooking up 'pwdgen algo D' for lua-scripting 2017-11-26 07:08:27 +01:00
iceman1001 0815f19389 ADD: new pwdgen algo, (thanks @jackfagner) who did a great job figuring it out. Read his blog.
ref.   https://github.com/jackfagner/NfcKey/blob/master/NfcKeyC.c
2017-11-25 08:48:36 +01:00
iceman1001 9959d5c1e7 chg: emv commands should now compile. no testing done. 2017-11-25 08:18:30 +01:00
iceman1001 647411d10d chg: pointing to new emv cmds. (@merlokk) 2017-11-25 08:06:43 +01:00
iceman1001 4721e7e8a0 add: new found pwd. {@gentilkiwi) 2017-11-25 08:05:15 +01:00
iceman1001 e8e3256f7e add: compilation order 2017-11-25 08:03:53 +01:00
iceman1001 fa98197961 chg: added some updated string functions (@merlokk) 2017-11-25 08:02:51 +01:00
iceman1001 81ccfa734e add: 'script run brutesim' - new script to show simple bruteforce by incrementing cardnumber against different readers. Both LF & HF. @kenzycarey
(adjusted to fit into same script structure like the rest in iceman fork)
2017-11-25 07:58:56 +01:00
iceman1001 5f695999d2 add: emv - new files from pm3 offical 2017-11-25 03:29:26 +01:00
iceman1001 13ffd7bf97 add: emv changes from pm3 offical. 2017-11-25 03:28:02 +01:00
iceman1001 2f3dbbcaa3 rename: ul_switch_off_field -> DropField (inside cmdhf14a.c)
chg:  Fix memory bounds error (@wsmoses)
 c3511781a1
2017-11-11 23:23:01 +01:00
iceman1001 02af3b9e1d CHG: (@pwpiwi) d940ebfbad 2017-11-10 23:24:05 +01:00
iceman1001 25b173ea20 chg: 'hf 14a reader' - @pwpiwi 7c8115b273 2017-11-10 22:55:33 +01:00
iceman1001 0d149dd949 FIX: buffer overflow. array too short 2017-11-10 21:20:54 +01:00
iceman1001 9b4e52b89e CHG: dropfield 2017-11-10 20:49:56 +01:00
iceman1001 8b83db2c1b ADD: 'hf 14a apdu' @merlokk 2017-11-10 20:47:31 +01:00
iceman1001 a3e923c529 add: emv 2017-11-10 20:09:22 +01:00
iceman1001 23506bd1d7 add: first part emv @merlokk 2017-11-10 20:08:28 +01:00
iceman1001 30ceea4aea chg: cleaning up some function calls.
fix: check to see clock is bigger than zero.
2017-11-09 19:15:56 +01:00
iceman1001 3b91a33eec fix: assume graphbuffer data only 2017-11-06 15:45:23 +01:00
iceman1001 dd0b11c0ef fix: ..its not noise ...
fix:  only assume Graphbuffer values 128 -> -127 ...
2017-11-06 15:43:15 +01:00
iceman1001 e3ac1c586f chg: noise detection 2017-11-06 15:32:46 +01:00
iceman1001 31be64824e syntax sugar 2017-11-06 15:28:03 +01:00
iceman1001 423de2ba44 CHG: removed unused function 2017-11-06 15:08:36 +01:00
iceman1001 881c7115a7 CHG: centralized the LF signal properties LOW/HIGH/MEAN/AMPLITUDE/ISNOISE into one struct.
CHG: 'data raw ar'  - didn't take in consideration the command line parameter CLOCK.
2017-11-06 15:06:42 +01:00
iceman1001 d89fb5ab39 chg: helptext 2017-11-05 18:33:10 +01:00
iceman1001 de5b06c3d3 rem: outdated script 2017-11-05 17:44:41 +01:00
iceman1001 3b1c01cd13 CHG: 'lf search' - hitag/cotag wrong return values
CHG: is_justnoise - safety checks
CHG: 'hitag reader' - debug printing
2017-10-30 22:20:08 +01:00
iceman1001 54e8a0ae2b change demod printing 2017-10-30 20:33:11 +01:00
iceman1001 9632d91240 FIX: absolute value when comparing against threhold 2017-10-30 20:03:36 +01:00
iceman1001 db56ca11a3 FIX: detect noise signal by measuring amplitude of signal. 2017-10-30 19:18:30 +01:00
iceman1001 6f948be842 CHG: some average / mean functions to enhance justNoise functions.
FIX: 'lf t55xx' - verifying that collected signal is not just noise..
2017-10-30 16:44:04 +01:00
iceman1001 d5a1e4c7d4 fix: 'em' - return negative to a bool is not ok 2017-10-30 16:19:15 +01:00
iceman1001 d1566728e2 more fflushes. 2017-10-30 15:10:32 +01:00
iceman1001 92858d39d4 fix: flushing some output.. 2017-10-30 15:08:20 +01:00
iceman1001 6b78a8711d ADD 'hf 14a info' : new command (old reader command) (@merlokk)
This enables use ut get a 14a reader function,  if you want to do all other tests,  go for this new command.
2017-10-30 12:29:02 +01:00
iceman1001 ee1612870c CHG: 'info' unified helptext.
ADD: 'hf 14a info'  - skeleton function
2017-10-30 12:17:32 +01:00
iceman1001 fdf1566c23 FIX: 'hf 14a reader' - detection of magic refactored, all test now assumes turn on/off readerfield. 2017-10-30 12:01:34 +01:00
iceman1001 59fbf1e354 chg: don't blindly trust other ppls changes 2017-10-29 20:07:45 +01:00
iceman1001 b5842e8c1b fix: usb_cdc don't report that pm3 device is selfpowered.. (since its not by default) 2017-10-29 19:28:23 +01:00
iceman1001 76e139701a chg: @merlokk 's minor adjustment to waitCmd 2017-10-29 19:26:34 +01:00
iceman1001 f6d2d508b4 rem: removed old references to google code. 2017-10-29 19:25:34 +01:00
iceman1001 994248265d FIX: changing the result booleran when sending over serial. 2017-10-29 19:22:03 +01:00
iceman1001 74842edf1d CHG: flush stdout, https://github.com/Proxmark/proxmark3/pull/443 (@doegox) 2017-10-24 14:27:02 +02:00
iceman1001 666284b130 chg: matching versionnumber... 2017-10-23 23:31:20 +02:00
iceman1001 6a4a084843 chg: remove redudant key (@cjbrigato) 2017-10-23 21:29:20 +02:00
iceman1001 e1ff9e66ab chg: another one key 2017-10-23 21:17:31 +02:00
iceman1001 e312115844 rem: duplicate key. 2017-10-23 14:12:04 +02:00
iceman1001 e39907690f CHG: more known keys 2017-10-23 14:08:19 +02:00
iceman1001 14cf93f523 chg:... banner.. not showing.. I should rethink sundaymornings coding sessions 2017-10-22 11:27:22 +02:00
iceman1001 dbb392c212 chg: ...NOT showing banner.. before it was enforcing it :) 2017-10-22 11:07:37 +02:00
iceman1001 2aa17c0ddc chg: not showing banner when executing direct from shell 2017-10-22 11:05:25 +02:00
iceman1001 d2dd6eed6a UPD: pm3_mfdread.py - updates from original repo (@zhovner) 96d0ac184a 2017-10-22 10:25:14 +02:00
iceman1001 d15cf5ff2f CHG: pip:ing, command, lua, from CLI has less output. 2017-10-21 15:01:23 +02:00
iceman1001 dc23a6d5ce chg: commandline mode execution now has less output 2017-10-21 14:50:29 +02:00
iceman1001 80573aa7f6 fix: 'proxmark3.exe -c zzzzz' command from cli didnt work 2017-10-21 14:24:23 +02:00
iceman1001 5da60668dc chg: Serialnumber is shorter. Will be better for OSX ppl 2017-10-21 13:07:07 +02:00
iceman1001 1fd6d95729 chg: remove a warning 'extern' 2017-10-21 13:00:36 +02:00
iceman1001 b27a9920b1 ADD: https://github.com/Proxmark/proxmark3/pull/417 (@merlokk)
CHG:  https://github.com/Proxmark/proxmark3/pull/434 (@pwpiwi)
2017-10-20 20:39:57 +02:00
iceman1001 4b63f940f1 CHG: FeliCa implemenation by @satsuoni 2017-10-20 20:27:44 +02:00
iceman1001 cdaef14759 fix: forgot param 2017-10-20 18:24:04 +02:00
iceman1001 2cf3a0adb7 chg: helptext 2017-10-20 18:00:58 +02:00
iceman1001 d350bfb561 fix: broken function 2017-10-20 18:00:13 +02:00
iceman1001 d77e8233c0 fix: pr #435 (@tisf) OSX has issues with liblua. 2017-10-20 17:53:49 +02:00
iceman1001 53333f22c8 fix: hw status (and USB comm in general) PR #434 : (@pwpiwi) 2017-10-20 16:32:42 +02:00
iceman1001 79dd43dbd2 ADD: string functions (@merlokk) 2017-10-20 14:39:42 +02:00
iceman1001 e574e89553 syntax sugar 2017-10-20 14:38:50 +02:00
iceman1001 31191382fc CHG: adapt to be similar as other cmd*.c files 2017-10-20 14:37:50 +02:00
iceman1001 b99b2dd30f FIX: stderr -> stdout 2017-10-19 13:41:55 +02:00
iceman1001 6f05fdfc88 CHG: fpga_comress sending no-error messages to stderr (@merlokk)
36b1cdd1b4
2017-10-19 13:28:58 +02:00
iceman1001 16028f7d33 CHG: appmain now calls cmd_recieve as it should
CHG: flasher -  removed unneeded parameter to function
CHG: flasher - increased limit to fpga-files that can be loaded
FIX: main client,  wrong windows define fixed.
CHG: device side - recieve usb command does not always get 544 bytes.  usb packages can be incomplete.
CHG: usb_cdc.c also got piwi's changes.
CHG: uart_posix.c removed a debug value
CHG: uart_win32.c clean up.
2017-10-17 20:58:17 +02:00
iceman1001 d3654ab41c chg: some debug 2017-10-12 15:20:41 +02:00
iceman1001 08c65427bc fix: 'hf mf fchk' - wrong number of params to printf 2017-10-11 13:24:54 +02:00
iceman1001 f04723d3f5 fix: 'hf mf fchk' - some strange output when only using the default keys (no dictionary file)
fix: 'hf mf fchk' - helptext corrected
fix: 'hf mf fchk' - allow to call with just 1 argument
2017-10-11 13:20:39 +02:00
iceman1001 7f544803e7 CHG: shorter sleep from 1000 -> 500 2017-10-10 15:00:37 +02:00
iceman1001 8136decadd ADD: hooking up the new felica commands 2017-10-10 14:59:58 +02:00
iceman1001 9757a8f078 ADD: some felica defines 2017-10-10 14:33:27 +02:00
iceman1001 19c2e89ba6 ADD: 'hf felica' - New subgroup of HF commands is started. Not finished yet, but its a step. 2017-10-10 14:24:14 +02:00
iceman1001 28c3aa61ce fix: fpga_compress : now handles more than two files (@satsuoni) 2017-10-08 15:01:55 +02:00
iceman1001 feea1a45d9 FIX: 'script run legic_clone' - correct getoptions pattern 2017-10-05 17:34:33 +02:00
iceman1001 5eb6836587 fix: 'script run 14araw' - correct getoptions pattern. 2017-10-05 17:32:20 +02:00
iceman1001 9701643fdd CHG: NO_RATS adjustments to luascripts. 2017-10-05 16:17:09 +02:00
iceman1001 2ca0ea8cb4 ADD: 'hf mf fastchk' - new command, improved check keys functionality. It uses a bunch of techniques to get a speedup.
Using a dictionary file with 421keys,

Current implementation of checkkeys takes 300 sec.
This implementation of checkkeys takes 250 sec.

I implemented it as a separate command so it will be easier to compare between the old and new checkkeys.
Its also doing much on deviceside, which is a step to much funnier standalone modes  :))
2017-10-05 16:00:56 +02:00
iceman1001 a4b4a1a9a2 FIX: iso-14443a RATS optional (piwi) 2017-10-01 22:06:06 +02:00
iceman1001 8dbc84dd07 syntax sugar 2017-09-28 22:37:25 +02:00
iceman1001 20465e17b3 CHG: removing some doubles 2017-09-28 22:36:45 +02:00
iceman1001 7607da55f7 FIX: unify all calls.. 2017-09-28 22:33:55 +02:00
iceman1001 a68887ce2d FIX: #402 https://github.com/Proxmark/proxmark3/pull/402 (piwi) 2017-09-28 22:31:20 +02:00
iceman1001 08bf63c748 fix: double free shouldn't happen now 2017-09-26 22:22:23 +02:00
iceman1001 c567aecb2e CHG: 'hf list' - now gets a timeout instead of stalling if device doesnt answer.. 2017-09-26 17:16:24 +02:00
iceman1001 b18920b9f9 CHG: enables proxmark3 client to reconnect to serial port without exiting / restarting. 2017-09-26 17:04:25 +02:00
iceman1001 f054f5da32 CHG: gcc7 warnings accoring to PR#401 https://github.com/Proxmark/proxmark3/pull/401/files 2017-09-26 17:02:18 +02:00
iceman1001 b746a114ec fix: clock_gettime for Apple OSX (piwi) https://github.com/Proxmark/proxmark3/pull/393 2017-09-20 10:31:19 +02:00
iceman1001 14550557be CHG: 'emv compilation' since the client makefile doesn't import makefile.common anymore, need to move some compilor directive. Now need to change two files for EMV compilation.
* client/Makefile
 * common/Makefile.common
2017-09-18 22:33:22 +02:00
iceman1001 28f1f23d48 chg: easy printing of MAKE variables
Usage::
  make print-FLASHTOOL
  cd bootrom; make print-APP_CFLAGS
  cd client; make print-GCC_VERSION
2017-09-18 18:59:51 +02:00
iceman1001 dd870ece28 fix: 'hf iclass sim 4' array out-of-bounds write.
chg: 'hf iclass loclass'  nice output
2017-09-18 15:31:53 +02:00
iceman1001 5f2589f6cc chg: (piwi) 2017-09-17 19:34:46 +02:00
iceman1001 a091feb5ee upd: added more key 2017-09-15 17:14:02 +02:00
iceman1001 55a1ef1549 ADD: case insensitive commands :) finally, you can write LF SEARCH ... 2017-09-15 14:45:26 +02:00
iceman1001 4e7c987cbd chg: 'hf iclass sim' not save when no mac-responses was collected. 2017-09-14 13:05:46 +02:00
iceman1001 c9294076e3 chg: some found keys on forum. 2017-09-14 11:14:52 +02:00
iceman1001 b439c76c6e CHG: changed name on define. Its now called CMD_UPLOAD_SIM_SAMPLES_125K .. Since we upload to device. 2017-09-14 11:13:10 +02:00
iceman1001 9c9daae30f chg: swapped return value to bool 2017-09-14 11:08:24 +02:00
iceman1001 0c2c6f3fd7 CHG: 'hf mfdes info' : Now checks for 7b uid's. This will remove some faulty claims of tagidentifications. 2017-09-14 11:06:49 +02:00
iceman1001 179748a5df add: Fix detection of AVX512 support for Apple clang compiler #392 (piwi)
de1e68d34b
2017-09-12 21:45:37 +02:00
iceman1001 98bc685632 add: 'hf iclass sim 4' - new mode, to adapt sim 2 to readers in keyroll mode. 2017-09-12 08:45:38 +02:00
iceman1001 45d46ab0d5 fix: 'hf iclass sim 2' - last CSN didn't seem to work. replaced it with two new ones. 2017-09-07 16:14:33 +02:00
iceman1001 6d98779ff8 chg: 'hf 15 read' - nice output and with lock info
chg: 'hf 15 readmulti' - nicer output and with lock info

You can still break the client if you ask to read too many blocks at one time.
I suggest 'hf 15 dump' instead for that purpose
2017-09-06 22:04:00 +02:00
iceman1001 6542633c0e chg: 'hf 15 write' wrong helptext :) 2017-09-06 12:58:32 +02:00
iceman1001 a130b58c82 add: 'hf 15 dump' added save data to file. It saves two files (EML/BIN) 2017-09-06 12:55:21 +02:00
iceman1001 f4d703edf0 chg: monero 2017-09-05 15:25:35 +02:00
iceman1001 1c5d040ceb chg: 'hf 15 findafi' - informativ message 2017-09-05 10:34:31 +02:00
iceman1001 2c1e2a9f3a CHG: 'hf 15 findafi' - added the possibility to cancel loop with buttonpress 2017-09-05 10:31:27 +02:00
iceman1001 b526492d3d fix: 'hf 15 dump' memset bug 2017-09-05 09:53:20 +02:00
iceman1001 9d0ce1e874 chg: 'hf 15 reader' minor output changes
chg: 'hf 15 info'  minor output changes
2017-09-05 08:25:23 +02:00
iceman1001 59af999763 chg: 'hf 15 info' - this fixes some of the bugs. For instance, get_systeminfo responses doesn't have a CRC. No need to verify crc :)
Also if prepare command fails, not finding uid,  don't continue...
2017-09-05 00:25:53 +02:00
iceman1001 3e6bf31d13 CHG: got tired of the sub command line 'hf 15 cmd', so I moved them and change names on those most confusing commands. Also added some helptext changes. This will make the commands seem "similar" to the other HF commands like : 14a/14b/iClass/legic
renamed commands:
'hf 15 read'    -> 'hf 15 samples  : it also downloads the collected samples direct.  So you can try 'hf 15 demod' afterwards to see if you can demodulate the signal.
'hf 15 dumpmem' -> 'hf 15 dump'    : wil also need a save to file option

'hf 15 cmd sysinfo' -> 'hf 15 info' : yep, shorter and not working at the moment. breaks when tag doesn't respond to 0x2B.
'hf 15 cmd raw' -> 'hf 15 raw'
'hf 15 cmd raw' -> 'hf 15 raw'

new commands
'hf 15 list'     : just a shortcut to print the tracelog
'hf 15 restore'  : the idea is to read a file and restore the blocks back to a tag.  *to be implemented*
2017-09-04 23:45:35 +02:00
iceman1001 26e6e269d1 chg: 'script run 14araw' got some local functions now 2017-09-04 22:49:33 +02:00
iceman1001 85b1c6bdfb add: 'hf 15 list' is now possible, since I like to be able to call both "hf list 15" and "hf 15 list"...
chg:  'hf list 15' better annotations,  the flags doens't define the command anymore
chg:  device side,  iso15,  experimenting with different settings.

The tag still doesn't answer to  0x002B  not 0x202B---uid---  commands.
2017-09-04 22:48:35 +02:00
iceman1001 508fa76915 ADD: 'hf list 15' - added annotation for ISO15693 2017-09-04 18:38:57 +02:00
iceman1001 ec07e2e006 FIX: 'hf 15 *' commands - the demod should work better now and as a bonus I've added some tracelogging. The timer is not quite correct yet but its a start.
sample:
   hf 15 reader
   hf list raw
2017-09-04 13:56:57 +02:00
iceman1001 c0948b5d7b chg: 'hf 15 *' first rehaul of the iso15693 commands. Call it a refactor, Started adding helptext, 'h' parameter, usage of sprint_hex
chg: cmdhf15.h - extern keyword in headerfile
2017-09-01 20:34:17 +02:00
iceman1001 c75ce57dfd chg: added clearCommandBuffer(); 2017-08-31 15:16:12 +02:00
iceman1001 11e72b4064 add 'hf mf decrypt' - added a helptext
chg 'hf mf decrypt' - increased the available input data array.
2017-08-30 19:13:49 +02:00
iceman1001 0c6f601f72 chg: updated the reveng 1.4.4 -> 1.5.2
'reveng -g 11223344' still breaks.
2017-08-29 18:05:56 +02:00
iceman1001 c5616dfe76 minor corrections.. 2017-08-29 15:47:26 +02:00
iceman1001 9f54a5e4b9 fix 'hf 14a read' needs a disconnect if failed.
fix 'hf mf csave'  now prints which card size it is trying to dump
2017-08-29 14:47:17 +02:00
iceman1001 1737081a5d fix 'hf mf csave' the 'i' parameter is renamed to 'o', since its a output filename..
fix 'hf mf csave'  the 'i' parameter would take the whole inputed command string as filename..  it now correctly takes the string after 'o '...
2017-08-29 14:40:34 +02:00
iceman1001 f10cc4a3ae FIX: 'hf 14a reader' - set timeout for waiting on response for inital call. This will enable the command not to get "stuck" 2017-08-29 14:37:09 +02:00
iceman1001 a971c03877 chg: the version text layout 2017-08-29 08:46:26 +02:00
iceman1001 0fdb3feb19 minor textual chg 2017-08-28 22:31:30 +02:00
iceman1001 7484a0dd1e fix: 'hf mf cgetsc' - a missing array and some new output layout. 2017-08-28 21:25:29 +02:00
iceman1001 6bae0b8590 chg: 'script run formatMifare' - added the 'x' parameter. when using this parameter, the generated commands will also be EXECUTED against your card. This will wipe your card. 2017-08-28 17:35:50 +02:00
iceman1001 fdd4186aa0 chg: 'hf mf cload/csave' - same output with regards to blocks as eload/esave 2017-08-28 17:22:29 +02:00
iceman1001 d8c72242a2 chg: some more fflush... 2017-08-28 17:18:54 +02:00
iceman1001 97452c056c chg... and fflushing stdout... 2017-08-28 17:13:48 +02:00
iceman1001 0d3208eb95 fix: 'hf mf cload' - the newline chars \d\a was forgotten. buf too small.
chg: 'hf mf cload/csave/eload/esave' - ui feedback...
2017-08-28 17:10:23 +02:00
iceman1001 bd71e15289 fix: 'hf mf cload' - too small buffer, needs one more byte for the NULL-terminator 2017-08-28 09:39:20 +02:00
iceman1001 292a4ca602 'hf 14b sniff' - removed stuff which wasn't very useful. cleaner now. Not sure if it works :(
'hf iclass sniff' - playing with this one.  Don't expect it to work yet :(
   - increase dma_buffer_size to 256
   - moved initialization to a own function. Just looks cleaner :)
   - change the debug output to follow MF_DBGLEVEL
'hf mf sniff' - unnecessary cast removed
2017-08-27 19:41:24 +02:00
iceman1001 3764b02a2e FIX: when running on ssh, client would fail. see https://github.com/Proxmark/proxmark3/pull/387 (thanks @uzlonewolf) 2017-08-27 08:50:55 +02:00
iceman1001 80d2a01ea6 fix: 'hf mf nested' - got an initialized bug from the monster merge 2017-08-27 00:37:11 +02:00
iceman1001 9e3cfdc4f5 chg: 'lf indala' demod fixes, https://github.com/Proxmark/proxmark3/pull/385 (@marshmellow42) 2017-08-26 13:51:49 +02:00
iceman1001 163510ca55 # is not //.... 2017-08-26 13:20:15 +02:00
iceman1001 cd59616e24 banner for linux ppl. 2017-08-26 13:18:34 +02:00
iceman1001 fda4a25f51 and some more adjustments.. 2017-08-26 12:59:10 +02:00
iceman1001 94f70caa7a when you need to add too much changes at the same time...
fix: 'hf mf hardnested'  test cases doesn't need to verify key.
add: 'hf mf ' - collect nonces from classic tag.
chg: switch_off on armside,  a more unified way,  so we don't forget to turn of the antenna ...
chg:  renamed 'hf iclass snoop'  into 'hf iclass sniff'   in an attempt to make all sniff/snoop commands only SNIFF

chg: 'standalone' ->  starting the work of moving all standalone mods into a plugin kind of style, in its own folder.
2017-08-26 12:57:18 +02:00
iceman1001 26f786bfe4 chg: removed some warnings in ubuntu17.04 2017-08-25 20:28:16 +02:00
iceman1001 dc202ee498 FIX: fixes some off missing chars, now the @GCC_GTEQ_490 contains a 1 or 0.
ADD:  makefile,   print-%,   added an easy way to output Makefile variables,   you call make with the var you want to print like this::      make print-GCC_GTEQ_490
2017-08-23 08:12:07 +02:00
iceman1001 2c198f75f5 FIX: gcc version | gcc -dumpversion only exists on later gcc versions. This fix address this problem by using gcc -version instead. Thanks to @winguru
https://github.com/iceman1001/proxmark3/issues/123
2017-08-23 07:37:49 +02:00
iceman1001 33a994aa3f syntax sugar 2017-08-19 16:14:30 +02:00
iceman1001 d13bbcd466 chg: 'hf iclass sim 2' - added a new set of CSNS. 2017-08-19 16:13:36 +02:00
iceman1001 19439605d3 chg: 'hf iclass loclass' output newline. 2017-08-19 09:52:17 +02:00
iceman1001 823a814cf6 FIX: some possible null - ref bugs in 'iclass' , 'iso15693' deviceside.
FIX: 0 is not a reference.
FIX: iso15693 - wait wasn't implemented
chg: 'hf 15' getTagInfo_15 renamned.
chg: 'hf iclass loclass' some output got newline
2017-08-19 09:49:41 +02:00
iceman1001 db515ba6c4 chg: 'hf iclass sim' - turning of antenna after simulation is done.
chg: 'hf iclass sim' - use @holiman 's 8 csn instead of the original @carl55 (15),   and a new first entry csn, to see if the old one got blacklisted.
2017-08-18 10:23:46 +02:00
iceman1001 1d6b0c0c6a fix: compilation error on nethunter (piwi) 2017-08-16 14:15:16 +02:00
iceman1001 2b58d4fd34 updated commments 2017-08-15 23:09:39 +02:00
iceman1001 fec33d7d74 CHG: 'script run calc_di' - added the possibilty to write to binary file :)
CHG: 'script run calc_mizip' - added the possibilty to write to binary file :)
2017-08-15 22:01:44 +02:00
iceman1001 926277507a chg: added the possibility to read tag.uid 2017-08-15 21:23:55 +02:00
iceman1001 b3d0bf697a some output 2017-08-15 15:12:56 +02:00
iceman1001 c37d2d84c7 another helper 2017-08-15 15:11:57 +02:00
iceman1001 69c8970201 FIX: https://github.com/iceman1001/proxmark3/issues/122
this should fix the ~ (tilde) bug I introduced...

In lua,  you need to evaluate false ie;   statement == false,    not like in C-style  ~statement
2017-08-13 15:06:30 +02:00
iceman1001 eae8c2f7be chg: unify debug messages for FSK demod in AWID,HID,IO,PARADOX,PYRAMID, all neat and same. 2017-08-11 20:48:54 +02:00
iceman1001 dc0e0aa93f syntax sugar 2017-08-11 18:15:01 +02:00
iceman1001 1b4b753d98 scraped some more keys out on GH 2017-08-11 18:14:31 +02:00
iceman1001 b4d7ed4862 chg: 'lf awid brute' - added verbose logging option
chg: 'lf hid brute' - added verbose logging option
2017-08-11 18:13:58 +02:00
iceman1001 6ad546fa13 chg: removed extern on print_lock mutex. Since there is two of these, in proxmark3.c and ui.c 2017-08-11 11:40:25 +02:00
iceman1001 734ca940e9 fix: unified lf clone printouts of blocks. 2017-08-11 11:38:54 +02:00
iceman1001 bd4d1ec74e Fixes: lf simpsk - make sure Carrier input is ok.
fix: 'lf awid sim' - Clk param is used CorreCt
fix: 'lf HID sim' - unified way logging
fix: 'lf indala sim' - adding a draft simulation Command
fix: 'lf io sim'  - unified way logging
fix: 'lf nedap sim' - getting bits is wrong still..
fix: 'lf paradox sim'  - Helptext
lfdemod.C  got some reworked loops,  still some debug messages to be ...
2017-08-10 14:19:57 +02:00
iceman1001 78f01b0ffa ADD: 'lf paradox sim' - started with sim command 2017-08-09 21:00:03 +02:00
iceman1001 117003bdb2 fix. 'lf io demod' - removed stange size check.
fix: 'lf io sim'    - now uses the clock variable correct
fix: 'lf io clone'  - Q5 now has correct clock 64 instead of 50
2017-08-09 20:59:16 +02:00
iceman1001 7b050e9afe FIX: 'lf gprox sim' - now correctly simulates gProx 2017-08-09 19:59:03 +02:00
iceman1001 a4dd4eb5b5 CHG: updated some helptext, moved commands 2017-08-09 18:52:35 +02:00
iceman1001 3384999c83 CHG: some help text edited and rearrange the commands to be in the same order 2017-08-09 18:33:30 +02:00
iceman1001 aa711b2d92 chg: 'hf 14a cuids' - now can be interrupted with keyboard press 2017-08-09 09:26:41 +02:00
iceman1001 507b74da15 CHG: added some more keys (thanks @ntk) 2017-08-09 09:25:36 +02:00
iceman1001 c583570a3d minor styleish 2017-08-06 16:31:01 +02:00
iceman1001 69b7c149e3 CHG: 'usb communication' voliatile boolean variable to signal between threads isn' threadsafe. Test to switch to the c11 builtin atomic 2017-08-01 09:21:06 +02:00
iceman1001 3911c0a13e Some debugstatements 2017-07-31 20:45:16 +02:00
iceman1001 0a58e8f0fe CHG: macro T5555_SET_BITRATE is used for clearity 2017-07-31 16:05:33 +02:00
iceman1001 3c2fa8d4f3 chg: better text 2017-07-31 15:58:14 +02:00
iceman1001 6df9012de5 chg: 'script run mifare_autopwn' added the prng_test, to make sure it only attacks weak cards. 2017-07-31 15:53:26 +02:00
iceman1001 d5153b2446 warnings on ubuntu 2017-07-31 15:46:22 +02:00
iceman1001 ef136096a3 fix: darkside also take blockno / keytype arguments. Think that block 0 might be lock in the access rights. 2017-07-31 15:45:01 +02:00
iceman1001 b31fd98055 CHG: correct texts, changes to local functions 2017-07-31 15:26:53 +02:00
iceman1001 e598aec890 lf t55xx commands works again. Need to find a better sprinf_bin_break function 2017-07-31 15:12:38 +02:00
iceman1001 2a4685312a chg: (merlokk) debugstatements 2017-07-31 13:50:55 +02:00
iceman1001 83cd6a7761 CHG: 'hf mf nested' - (merlokk) 76fcccd109
CHG: 'hf mf hardnested' added same verification also here.
2017-07-31 13:37:41 +02:00
iceman1001 0acc606be3 lf search is working :) 2017-07-31 12:31:39 +02:00
iceman1001 1bf452e842 FIX: 'lf search' should work now again. 2017-07-31 11:46:35 +02:00
iceman1001 91898babc0 FIX: data plot AutoCorrelate slider, window too big, now limited to number of samples.
enhanced debugstatements,
'lf em 410x_demod' vs 'lf em 410x_read'   now read does the same as all other LF,  and demod too...
2017-07-30 21:21:02 +02:00
iceman1001 0e31ed346a minor adjustments.. 2017-07-30 11:15:48 +02:00
iceman1001 19a2c05de0 FIX: ubuntu complains about sleep... 2017-07-30 09:30:42 +02:00
iceman1001 e449e2ba88 fix: QT complains about non-static data member initializers 2017-07-30 09:26:31 +02:00
iceman1001 f28da2da6e monster merge...
all those changes marshmellow did..  and more...
2017-07-30 09:17:48 +02:00
iceman1001 02983ae6ee fix: awk script now correctly takes the substring on both mingw and ubuntu 2017-07-28 10:31:24 +02:00
iceman1001 9ca75c1cfd disable some debug output 2017-07-28 03:00:28 +02:00
iceman1001 830796cbef chg: the lualib file mf_default_keys.lua is now automatically created with "make clean && make all". 2017-07-28 02:45:58 +02:00
iceman1001 30b70bb388 adjusted to remove the usb_cmd.lua.. 2017-07-28 02:05:03 +02:00
iceman1001 e5b8235fc9 needed to be removed... 2017-07-28 02:01:14 +02:00
iceman1001 b038bd6142 another time.t 2017-07-28 01:47:21 +02:00
iceman1001 c96ccd9a03 more time_t issues 2017-07-28 01:42:40 +02:00
iceman1001 83adc96d81 some missing include inttypes.. 2017-07-28 01:37:55 +02:00
iceman1001 3d53f941aa some time_t issues 2017-07-28 01:35:49 +02:00
iceman1001 80e9798165 remove the old uart file 2017-07-28 01:08:12 +02:00
iceman1001 c91b945651 and another missing include 2017-07-28 00:53:57 +02:00
iceman1001 bee9e986f1 ..and the AskEdgeDetect 2017-07-28 00:50:27 +02:00
iceman1001 86237b629f some more adjustments 2017-07-27 23:00:49 +02:00
iceman1001 998d752bd5 more directionalThreshold... 2017-07-27 22:17:16 +02:00
iceman1001 16b494fa71 only mingw has this problem.. 2017-07-27 22:10:12 +02:00
iceman1001 a797314dab more adaptations 2017-07-27 22:05:54 +02:00
iceman1001 76e3ee838d some QT problems.. 2017-07-27 21:42:22 +02:00