Commit graph

2727 commits

Author SHA1 Message Date
Chris c4b3edef89 fix: double free bug on MacOS (thanks @drandreas) 2018-09-09 18:03:49 +02:00
Chris 6176103023 cleanup 2018-09-09 12:36:44 +02:00
Chris be57354478 chg: seems to be a free bug on macos 2018-09-09 12:36:16 +02:00
Chris d774e4c84f Chg: step2 in the signed vis unsigned graphbuffer signal processing.
It will break some tone-based demods like ti etc.
2018-09-09 12:34:43 +02:00
Chris 56f3ef2a55 chg: helptext (@drandreas)
chg: 'hf legic esave'  now saves to both BIN / EML
2018-09-08 12:38:36 +02:00
Chris 65b29410d4 chg.. space.. 2018-09-08 11:23:17 +02:00
Chris 0e2dbe7424 chg: code cleanup 2018-09-08 11:18:10 +02:00
Chris 0b673683d9 fix: 'hf legic sim' no assign... (Thanks to @625) 2018-09-08 11:17:31 +02:00
Chris 51fdde0bbf code clean 2018-09-07 23:46:44 +02:00
Chris b7d0786ab8 code clean 2018-09-07 23:45:52 +02:00
Chris 24eaac8681 CHG: the thread comms refactoring from offical pm3 repo
chg: FPC com speed limited to 115200 when compiled with FPC
chg: USART remake (@drandreas)
2018-09-06 21:43:20 +02:00
RFID Research Group eb0b5116a2
Merge pull request #25 from drandreas/rdv4-legic
Legic Tag Simulator
2018-09-06 20:26:39 +02:00
Colin J. Brigato c74dbb63b8 Pass 2; commit 2; 2018-09-06 05:24:50 +02:00
AntiCat 2c6c4e5bc6 Legic: Implemented trace log 2018-09-05 23:03:05 +02:00
AntiCat 61e4eac2b2 Legic: Moved card simulator into separate file & cleaned interface.
Reader and card simulation have almost no common code. Moreover the sim
uses an SSP Clock at 212kHz for all timings to prevent any drifting from
the PRNG. This clock speed is not available in reader simulation mode (SSP
runs at up to 3.4MHz, and changes speed between TX and RX). For these
reasons having the code in separate files makes it significantly cleaner.
2018-09-05 23:03:04 +02:00
Colin J. Brigato 76e2d7502a Merge remote-tracking branch 'upstream/master' 2018-09-05 20:39:56 +02:00
Chris 972d30474d Add 'rem' - new command that adds a line to the log file (@didierStevens) 2018-09-05 20:31:10 +02:00
Chris 4200ed5dc9 fix: justnoice 2018-09-05 19:16:49 +02:00
Chris fb49ca9735 FIX: em410xdemod empty tag id
Code cleanup
2018-09-05 18:56:21 +02:00
xilni ecb0f21184 feature: Handle Kastle format 32 bit cards 2018-09-04 22:23:49 -04:00
Chris b80d683ce6 Added new support str function 2018-09-04 20:39:15 +02:00
Colin J. Brigato 8d673fa1bf First pass rewrite of flashmem driver for optimization. Lot of changes here. Provides PoC of saving and recalling a tag in Standalone mode. Added some printing passthrough to client to azccomodate for vt100 eye-candyness. FastREAD mode implemented for flashmem, testable from client. Beta but functionnal. Reading the whole flash with 1Kb to 32kb buffers was ~730ms, now 380ms Max (even at 24Mhz spi baudrate) 2018-09-03 00:02:44 +02:00
Garret Kelly a665e170cd Populate emulator keys from hf mf fchk
Just like `hf mf chk`, when the 't' option is provided make fchk put the
found keys into emulator memory.
2018-08-23 14:07:48 -04:00
Chris 4edcd908a7 FIX: ntag215 is 7.. Thanks @axfla for pointing it out. 2018-08-22 22:36:41 +02:00
Chris af89c35e43 CHG: 'hw tune' - bigger array 2018-08-19 21:19:58 +02:00
Chris 24598694e8 CHG: 'hw tune' - bigger array 2018-08-19 21:19:11 +02:00
Chris b837eb0089 CHG: 'hw tune' - colors 2018-08-19 21:17:46 +02:00
Chris 206ea46483 update text 2018-08-18 12:12:28 +02:00
TomHarkness 81cbce9f6f Added some keys 2018-08-18 12:10:28 +10:00
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