]> cvs.zerfleddert.de Git - proxmark3-svn/log
proxmark3-svn
7 years agoFIX: coverity scan found some bugs in EMV code. These are the fixes to:
iceman1001 [Wed, 15 Feb 2017 01:44:34 +0000 (02:44 +0100)]
FIX: coverity scan found some bugs in EMV code. These are the fixes to:
  -CID 141293 - missing va_end call
  -CID 141290 - return var not always given a value
  -CID 141289 - array out of bounds write. off by one.
  -CID 141288 - dead code because of CID 141287
  -CID 141287 - wrong mask
  -CID 141286 - wrong mask value

7 years agoADD: 'script runt remagic' - the Mifare Classic s50 (1k) magic tag restores now also...
iceman1001 [Tue, 14 Feb 2017 14:54:10 +0000 (15:54 +0100)]
ADD: 'script runt remagic' - the Mifare Classic s50 (1k) magic tag restores now also all sector trailers.  Default A/B keys is 0xFFFFFFFFFFFF.

7 years agoFIX: 'hf mfu dump' - the ascii printing would print control-chars, which could hang...
iceman1001 [Tue, 14 Feb 2017 14:52:28 +0000 (15:52 +0100)]
FIX: 'hf mfu dump' - the ascii printing would print control-chars, which could hang client.  Unprintable chars is replaces with a DOT

7 years agosyntax sugar
iceman1001 [Mon, 13 Feb 2017 14:33:26 +0000 (15:33 +0100)]
syntax sugar

7 years agoFIX: 'EMV compiling' - Makefiles are very picky about how things are done. its parse...
iceman1001 [Mon, 13 Feb 2017 14:32:48 +0000 (15:32 +0100)]
FIX: 'EMV compiling' - Makefiles are very picky about how things are done.  its parser is a bit paranoid. So, to make things easier and more correct.

  - armsrc/Makefile          when commenting out functionality,  move it below the comment otherwise APPS_CFLAG breaks to early.  See WITH_LCD
  - common/Makefile.common   enable / disable EMV,  uncomment two lines.  then make clean && make all.  flash,   MIGHT NOT work on 256kb devices

FIX: missing break in appmain.c made it go to iclass function..

7 years agoCHG: some minor adjustments.
iceman1001 [Mon, 13 Feb 2017 10:06:30 +0000 (11:06 +0100)]
CHG: some minor adjustments.

7 years agochg: trying to generalize the EMV build
iceman1001 [Mon, 13 Feb 2017 10:05:42 +0000 (11:05 +0100)]
chg: trying to generalize the EMV build

7 years agochg: trying to generalize the EMV build.
iceman1001 [Mon, 13 Feb 2017 10:05:03 +0000 (11:05 +0100)]
chg:  trying to generalize the EMV build.

7 years agofix: some compiler warning when the #define is not matching.
iceman1001 [Mon, 13 Feb 2017 10:03:45 +0000 (11:03 +0100)]
fix: some compiler warning when the #define is not matching.

7 years agoFIX: some compiler warnings, sscanf is using unsigned int.
iceman1001 [Mon, 13 Feb 2017 10:01:32 +0000 (11:01 +0100)]
FIX: some compiler warnings, sscanf is using unsigned int.

7 years agoadd: xorcumb
iceman1001 [Mon, 13 Feb 2017 09:59:50 +0000 (10:59 +0100)]
add: xorcumb
chg: from veritcal to horizontal printing.

7 years agochg: added a key
iceman1001 [Mon, 13 Feb 2017 09:59:03 +0000 (10:59 +0100)]
chg: added a key

7 years agoFIX: T5555/Q5 datarate when used in "Q" parameter, consequential fix in lf commands...
iceman1001 [Mon, 13 Feb 2017 09:58:28 +0000 (10:58 +0100)]
FIX:  T5555/Q5 datarate when used in "Q" parameter,  consequential fix in lf commands.  (RF-2/2) ie: ((64-2)>>1)
ADD: Marshmellow42 's timing fixes for em4305.

7 years agoupdated some sections.
iceman1001 [Tue, 7 Feb 2017 21:56:41 +0000 (22:56 +0100)]
updated some sections.

7 years agoupdated
iceman1001 [Tue, 7 Feb 2017 21:51:47 +0000 (22:51 +0100)]
updated

7 years agochg: textual changes
iceman1001 [Tue, 7 Feb 2017 21:29:24 +0000 (22:29 +0100)]
chg: textual changes

7 years agoCHG: `lf hid wiegand` got some love. Still not correct.
iceman1001 [Tue, 7 Feb 2017 21:27:28 +0000 (22:27 +0100)]
CHG: `lf hid wiegand` got some love.  Still not correct.

7 years agoCHG: syntax sugar
iceman1001 [Tue, 7 Feb 2017 21:26:42 +0000 (22:26 +0100)]
CHG: syntax sugar

7 years agoFIX: first attempt to clean up EM4x50 commands.
iceman1001 [Tue, 7 Feb 2017 21:26:06 +0000 (22:26 +0100)]
FIX:  first attempt to clean up EM4x50 commands.
 - `lf em4x readwordPWD` merged into `lf em4x readword` See help text
 - `lf em4x writewordPWD` merged into `lf em4x writeword` See help text

 - `lf em4x readword` now download the collected signal data after command.

On device side the lfops.c has gotten some love. Code cleaner,  increased EM_START_GAP from 55 FC to 56 FC, because of how our microsecond(us) clock works with 21.3us increments.

TODO: `lf em4x em4x50read` needs to be factored to use @marshmellow42 's  ASKdemod instead of trying to do itself.

7 years agoupdated
iceman1001 [Mon, 6 Feb 2017 13:22:05 +0000 (14:22 +0100)]
updated

7 years agoCHG: testing to set 460800 baudrate as default, if it fails, go to 115200 baudrate...
iceman1001 [Mon, 6 Feb 2017 01:33:08 +0000 (02:33 +0100)]
CHG:  testing to set 460800 baudrate as default, if it fails, go to 115200 baudrate.  For Linux/Win.  Works great in my environments.

7 years agochg: uncomment -DWITH EMV to compile for EMV.
iceman1001 [Sun, 5 Feb 2017 23:57:31 +0000 (00:57 +0100)]
chg:  uncomment -DWITH EMV  to compile for EMV.

7 years agosyntax sugar
iceman1001 [Sun, 5 Feb 2017 23:51:06 +0000 (00:51 +0100)]
syntax sugar

7 years agoFIX: commented code screws up notepad++ groupings.
iceman1001 [Sun, 5 Feb 2017 23:50:37 +0000 (00:50 +0100)]
FIX:  commented code screws up notepad++ groupings.

7 years agoFIX: get rid of de-referecing pointer warnings.
iceman1001 [Sun, 5 Feb 2017 23:49:32 +0000 (00:49 +0100)]
FIX:  get rid of de-referecing pointer warnings.

7 years agoADD: 'hf emv' - forgot to add some file
iceman1001 [Sun, 5 Feb 2017 21:16:50 +0000 (22:16 +0100)]
ADD: 'hf emv' - forgot to add some file

7 years agoADD: 'hf emv' - from @peterfillmore emv fork. A bit cleaned up and moved around...
iceman1001 [Sun, 5 Feb 2017 20:56:47 +0000 (21:56 +0100)]
ADD:  'hf emv' - from @peterfillmore emv fork.  A bit cleaned up and moved around. Should compile

7 years agoCHG: '-DWITH_EMV' - fixing some compilation errors when compiling with peter fillmore...
iceman1001 [Sun, 5 Feb 2017 20:09:36 +0000 (21:09 +0100)]
CHG: '-DWITH_EMV' - fixing some compilation errors when compiling with peter fillmore's emv code.   Warning a 256kb Proxmark3 device will only have 7% memory left if you enable this

7 years agochg: more debug statements to find sending errors
iceman1001 [Sat, 4 Feb 2017 14:02:36 +0000 (15:02 +0100)]
chg: more debug statements to find sending errors

7 years agoADD: 'lf search' - @marshmellow42 's check if signal is noice.
iceman1001 [Sat, 4 Feb 2017 11:41:30 +0000 (12:41 +0100)]
ADD: 'lf search' - @marshmellow42 's check if signal is noice.

7 years agoADD: 'hf 14a read' - correct identify Aztek tags, instead of claiming it to be "not...
iceman1001 [Sat, 4 Feb 2017 11:32:14 +0000 (12:32 +0100)]
ADD: 'hf 14a read' - correct identify Aztek tags, instead of claiming it to be "not mfu".

7 years agoCHG: 'lf cotag read' - added the raw output and the repeating byte pattern is 16bytes...
iceman1001 [Thu, 2 Feb 2017 23:07:55 +0000 (00:07 +0100)]
CHG: 'lf cotag read' - added the raw output and the repeating byte pattern is 16bytes,  so we only collect that many bytes from card

7 years agofix: those pesky semicolons..
iceman1001 [Thu, 2 Feb 2017 20:32:46 +0000 (21:32 +0100)]
fix:  those pesky semicolons..

7 years agoCHG: 'lf cotag demod' - now finds FC/CN Thanks to @marshmellow42
iceman1001 [Thu, 2 Feb 2017 18:15:36 +0000 (19:15 +0100)]
CHG:  'lf cotag demod'  - now finds FC/CN  Thanks to @marshmellow42
CHG:  'lf search' - now detects COTAG

7 years agoCHG: minor fixes in setting arrays and error messages.
iceman1001 [Thu, 2 Feb 2017 14:39:35 +0000 (15:39 +0100)]
CHG: minor fixes in setting arrays and error messages.

7 years agoADD: 'lf cotag read' - COTAG can be read now.
iceman1001 [Thu, 2 Feb 2017 14:32:21 +0000 (15:32 +0100)]
ADD: 'lf cotag read' - COTAG can be read now.

7 years agoADD: 'hf standalone 14a mode", added "mifare 4k" detection.
iceman1001 [Wed, 1 Feb 2017 13:41:06 +0000 (14:41 +0100)]
ADD: 'hf standalone 14a mode", added  "mifare 4k" detection.
ADD: 'hf 14a sim' - added mifare 4k simulation.

7 years agoCHG: 'lf cotag read' - it now follows "lf config" settings when collecting signaldata.
iceman1001 [Wed, 1 Feb 2017 13:11:11 +0000 (14:11 +0100)]
CHG: 'lf cotag read' - it now follows "lf config" settings when collecting signaldata.

7 years agoFIX: 'standalone_14a mode' - cleaned up the standalone14a mode code. It now detects...
iceman1001 [Wed, 1 Feb 2017 13:09:26 +0000 (14:09 +0100)]
FIX: 'standalone_14a mode' - cleaned up the standalone14a mode code.  It now detects and simulates 4,7byte uids, like it should. code refactored to be easier to understand.

7 years agoCHG: rename a local scope variable "data"->"cmd"
iceman1001 [Wed, 1 Feb 2017 11:50:54 +0000 (12:50 +0100)]
CHG: rename a local scope variable "data"->"cmd"
CHG: call params to selectcard too few
CHG: 'standalone HF mode' - when copying second UID onto data array,  it should append after first one, not over the first one.
ref: https://github.com/iceman1001/proxmark3/issues/77    Lets see if this fixes the HF part of this issue

7 years agoCHG: temporary disable hitag2_uid detection. Loop times out sometimes.
iceman1001 [Tue, 31 Jan 2017 21:38:02 +0000 (22:38 +0100)]
CHG:  temporary disable hitag2_uid detection. Loop times out sometimes.

7 years agoCHG: 'lf snoop' - now automatically downloads samples after finished. (annoying...
iceman1001 [Tue, 31 Jan 2017 15:11:57 +0000 (16:11 +0100)]
CHG: 'lf snoop'      - now automatically downloads samples after finished.  (annoying step to do over and over)
FIX: 'lf snoop'      - now turns of LF antenna after snoop.
FIX: 'lf cotag read' - now waits until the ACK cmd arrives before downloading samples.

7 years agoFIX: fixes warning for "%zu" string formatspecifier on MINGW systems. (Thanks to...
iceman1001 [Tue, 31 Jan 2017 04:33:24 +0000 (05:33 +0100)]
FIX: fixes warning for "%zu" string formatspecifier on MINGW systems. (Thanks to @marshmellow42 for this one)

7 years agoADD: added the writedumpfile function from "14araw.lua" into utils.lua
iceman1001 [Mon, 30 Jan 2017 15:51:07 +0000 (16:51 +0100)]
ADD: added the writedumpfile function from "14araw.lua" into utils.lua
ADD: `ufodump.lua` - added the Aztek dump script. Since its an unknown tag hence the name.

7 years agoFIX: 'hf 14a sim x' - adjusted and shows messages when verbose.
iceman1001 [Sun, 29 Jan 2017 22:09:23 +0000 (23:09 +0100)]
FIX: 'hf 14a sim x'  - adjusted and shows messages when verbose.
FIX: 'hf mf sim x i' - same as above.

In general we only use Moebius attack for "sim x",  that means a clean up on device side code. simpler to understand. It still tries to gather 8 different collections of nonces combo. When one is complete, it get sent to client which runs moebius direct.

7 years agoCHG: 'hf 14a sim e' - it now has a parameter for setfoundkeys to emulator memory.
iceman1001 [Sun, 29 Jan 2017 12:21:17 +0000 (13:21 +0100)]
CHG: 'hf 14a sim e'  - it now has a parameter for setfoundkeys to emulator memory.
CHG: textual changes.

7 years agoFIX: 'hf 14a sim x' - this fixes the error with using moebius attack and sim. Updat...
iceman1001 [Sun, 29 Jan 2017 10:29:15 +0000 (11:29 +0100)]
FIX: 'hf 14a sim x'  - this fixes the error with using moebius attack and sim.  Updating the nonce variable doesn't change the premodulated response. And it should update everytime it gets a command. One concering issue is that this takes time.  Successfully works with two PM3.  One acting reader, another sim.

7 years agoCHG: the mifare Auth command can make use of a random nonce aswell.
iceman1001 [Sun, 29 Jan 2017 09:41:48 +0000 (10:41 +0100)]
CHG: the mifare Auth command can make use of a random nonce aswell.
CHG: since sim commands are timing critical, I'm testing a smaller prand prng function from Intel

7 years agoFIX: missed include. for boolean defines
iceman1001 [Fri, 27 Jan 2017 09:56:14 +0000 (10:56 +0100)]
FIX:  missed include.   for boolean defines

7 years agoADD: `lf cotag` - added first try at basic functionality to read samples from Cotag...
iceman1001 [Fri, 27 Jan 2017 09:49:34 +0000 (10:49 +0100)]
ADD: `lf cotag` - added first try at basic functionality to read samples from Cotag.  In lfops.c is the startup sequence that needs to be tested out.

7 years agoCHG: removed a -L path for OSX
iceman1001 [Thu, 26 Jan 2017 22:49:05 +0000 (23:49 +0100)]
CHG:  removed a -L path for OSX

7 years agochg: TravisCI should also use perl
iceman1001 [Thu, 26 Jan 2017 20:34:01 +0000 (21:34 +0100)]
chg:  TravisCI should also use perl

7 years agoCHG: should remove the OSX linker warning: ld: warning: directory not found for...
iceman1001 [Thu, 26 Jan 2017 20:13:17 +0000 (21:13 +0100)]
CHG:  should remove the OSX linker warning:  ld: warning: directory not found for option '-L/opt/local/lib'

7 years agoUpdate README.md
Iceman [Thu, 26 Jan 2017 16:55:24 +0000 (17:55 +0100)]
Update README.md

7 years agochg: link to strawberry perl was dead
Iceman [Thu, 26 Jan 2017 16:53:35 +0000 (17:53 +0100)]
chg:  link to strawberry perl was dead

Thanks to @Marshmellow42 for pointing it out

7 years agochg: lets not have it static, since I get the same nonce in the same session over...
iceman1001 [Thu, 26 Jan 2017 14:54:12 +0000 (15:54 +0100)]
chg:  lets not have it static,  since I get the same nonce in the same session over again.

7 years agoAdded some comments
iceman1001 [Thu, 26 Jan 2017 13:23:48 +0000 (14:23 +0100)]
Added some comments

7 years agoADD: some defines to make headerfiles behave better.
iceman1001 [Thu, 26 Jan 2017 13:23:05 +0000 (14:23 +0100)]
ADD: some defines to make headerfiles behave better.
CHG: syntax sugar

7 years agoADD: @micolous random nonce, adjusted to fit in. Icemanfork only uses Moebius attac...
iceman1001 [Thu, 26 Jan 2017 13:21:51 +0000 (14:21 +0100)]
ADD: @micolous random nonce,  adjusted to fit in.  Icemanfork only uses Moebius attack, so no need for an extra parameter in client.

ref: https://github.com/Proxmark/proxmark3/pull/209

7 years agochg: appveyor.yml parser doesnt like spaces in the wrong place
iceman1001 [Wed, 25 Jan 2017 12:02:29 +0000 (13:02 +0100)]
chg:  appveyor.yml parser doesnt like spaces in the wrong place

7 years agoCHG: moved some from THUMB to ARM.. Looks like usb communication became bad.
iceman1001 [Wed, 25 Jan 2017 12:00:49 +0000 (13:00 +0100)]
CHG: moved some from THUMB to ARM..  Looks like usb communication became bad.

7 years agoADD: first try for an appveyor file targetting mingw
iceman1001 [Wed, 25 Jan 2017 11:59:52 +0000 (12:59 +0100)]
ADD:  first try for an appveyor file targetting mingw

7 years agostill wrong...
iceman1001 [Wed, 25 Jan 2017 07:40:55 +0000 (08:40 +0100)]
still wrong...

7 years agoCHG:forget the "base"..
iceman1001 [Wed, 25 Jan 2017 07:36:51 +0000 (08:36 +0100)]
CHG:forget the "base"..

7 years agochg: known key is treated as a string.
iceman1001 [Wed, 25 Jan 2017 00:11:34 +0000 (01:11 +0100)]
chg: known key is treated as a string.

7 years agoCHG: moved into header files.
iceman1001 [Tue, 24 Jan 2017 23:35:11 +0000 (00:35 +0100)]
CHG: moved into header files.

7 years agoCHG: moved to header file
iceman1001 [Tue, 24 Jan 2017 23:34:00 +0000 (00:34 +0100)]
CHG: moved to header file

7 years agoCHG: fiddled with the headerfiles... and makefile... Tried to make them behave...
iceman1001 [Tue, 24 Jan 2017 23:33:03 +0000 (00:33 +0100)]
CHG: fiddled with the headerfiles...   and makefile...  Tried to make them behave nice.  So it isnt a hell to add new functions from third-party (like des, aes etc)
Added a lot of #ifndef ,   extern C,
Move inside from ARMSRC -> THUMBS,  which made the compiled image smaller.. I don't know if it broke anything.
Moved MF_DBGLEVEL definitions into common.h
Moved print_result from util.c into appmain.c
Also split up some struct typedef  into header files so they could be reused in other code places.

''' danger '''  this might have broken stuff...

7 years agoCHG: removed a dublett
iceman1001 [Tue, 24 Jan 2017 23:24:18 +0000 (00:24 +0100)]
CHG: removed a dublett

7 years agoADD: 'script run hard_autopwn' - a lua script which should run hardnested attack...
iceman1001 [Tue, 24 Jan 2017 23:23:13 +0000 (00:23 +0100)]
ADD:  'script run hard_autopwn'  -  a lua script which should run hardnested attack against all sectore and keytypes (A|B).

7 years agoUpdate README.md
Iceman [Tue, 24 Jan 2017 16:17:38 +0000 (17:17 +0100)]
Update README.md

7 years agoUpdate README.md
Iceman [Tue, 24 Jan 2017 15:07:23 +0000 (16:07 +0100)]
Update README.md

7 years agoUpdate README.md
Iceman [Tue, 24 Jan 2017 15:06:40 +0000 (16:06 +0100)]
Update README.md

7 years agoUpdate README.md
Iceman [Tue, 24 Jan 2017 15:05:39 +0000 (16:05 +0100)]
Update README.md

7 years agochg: why?!?
iceman1001 [Mon, 23 Jan 2017 22:17:26 +0000 (23:17 +0100)]
chg: why?!?

7 years agochg: new offering to Travis CI
iceman1001 [Mon, 23 Jan 2017 22:15:06 +0000 (23:15 +0100)]
chg: new offering to Travis CI

7 years agoCHG: should remove a compiler warning on OSX
iceman1001 [Mon, 23 Jan 2017 22:12:41 +0000 (23:12 +0100)]
CHG:  should remove a compiler warning on OSX

7 years agoCHG: will this also please Travis CI priests?
iceman1001 [Mon, 23 Jan 2017 22:11:22 +0000 (23:11 +0100)]
CHG:  will this also please Travis CI priests?

7 years agochg: how to do if-then-elsif-endif ?
iceman1001 [Mon, 23 Jan 2017 20:12:28 +0000 (21:12 +0100)]
chg:  how to do  if-then-elsif-endif ?

7 years agochg again...
iceman1001 [Mon, 23 Jan 2017 20:06:56 +0000 (21:06 +0100)]
chg again...

7 years agochg: travis ci again
iceman1001 [Mon, 23 Jan 2017 20:04:49 +0000 (21:04 +0100)]
chg: travis ci again

7 years agochg: travis ci again
iceman1001 [Mon, 23 Jan 2017 20:04:27 +0000 (21:04 +0100)]
chg: travis ci again

7 years agochg: travis ci again
iceman1001 [Mon, 23 Jan 2017 19:59:19 +0000 (20:59 +0100)]
chg: travis ci again

7 years agoCHG: trying to add OSX for Travis CI
iceman1001 [Mon, 23 Jan 2017 19:55:27 +0000 (20:55 +0100)]
CHG:  trying to add OSX for Travis CI

7 years agosyntax sugar
iceman1001 [Sat, 21 Jan 2017 10:34:33 +0000 (11:34 +0100)]
syntax sugar

7 years agosyntax sugar
iceman1001 [Sat, 21 Jan 2017 10:33:14 +0000 (11:33 +0100)]
syntax sugar

7 years agochg: moved to header file
iceman1001 [Sat, 21 Jan 2017 10:29:16 +0000 (11:29 +0100)]
chg: moved to header file

7 years agosyntax sugar
iceman1001 [Sat, 21 Jan 2017 10:26:37 +0000 (11:26 +0100)]
syntax sugar

7 years agoremoved unneeded include
iceman1001 [Sat, 21 Jan 2017 10:21:05 +0000 (11:21 +0100)]
removed unneeded include

7 years agoCHG: moved to header file
iceman1001 [Sat, 21 Jan 2017 10:20:26 +0000 (11:20 +0100)]
CHG: moved to header file

7 years agosyntax sugar
iceman1001 [Sat, 21 Jan 2017 10:07:44 +0000 (11:07 +0100)]
syntax sugar

7 years agoCHG: moved to header file. common.h has RAMFUNC definition
iceman1001 [Sat, 21 Jan 2017 10:06:48 +0000 (11:06 +0100)]
CHG: moved to header file.  common.h has RAMFUNC definition

7 years agochg: moved to header file
iceman1001 [Sat, 21 Jan 2017 09:35:59 +0000 (10:35 +0100)]
chg: moved to header file

7 years agoCHG: moved to header file
iceman1001 [Sat, 21 Jan 2017 09:34:00 +0000 (10:34 +0100)]
CHG: moved to header file

7 years agoCHG: moved to header file
iceman1001 [Sat, 21 Jan 2017 09:31:54 +0000 (10:31 +0100)]
CHG: moved to header file

7 years agochg: moved to header file
iceman1001 [Sat, 21 Jan 2017 09:29:49 +0000 (10:29 +0100)]
chg: moved to header file

7 years agoCHG: moved to header file
iceman1001 [Sat, 21 Jan 2017 09:29:21 +0000 (10:29 +0100)]
CHG: moved to header file

7 years agoCHG: moved to header file
iceman1001 [Sat, 21 Jan 2017 09:28:14 +0000 (10:28 +0100)]
CHG: moved to header file

7 years agoCHG: moved to header filer
iceman1001 [Sat, 21 Jan 2017 09:27:06 +0000 (10:27 +0100)]
CHG: moved to header filer

7 years agoCHG: moved to header file
iceman1001 [Sat, 21 Jan 2017 09:25:29 +0000 (10:25 +0100)]
CHG: moved to header file

Impressum, Datenschutz