Commit graph

2030 commits

Author SHA1 Message Date
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