Commit graph

71 commits

Author SHA1 Message Date
Iceman 7cd25ae5a3 Merge pull request #250 from pwpiwi/fix_mfkey
fix mfkey tools (issue #247)
2017-03-26 13:05:26 +02:00
pwpiwi dc2349ae77 fix mfkey tools (issue #247)
- add -std=c99 -D_ISOC99_SOURCE to compiler flags
- fix: include <string.h> instead of <strings.h> in mfkey64.c
2017-03-26 12:28:07 +02:00
pwpiwi 1f065e1dad Refactor parity functions
- get rid of __asm function in crapto1.h, use gcc builtin function instead
- make parity functions available in common directory
2017-03-25 22:03:17 +01:00
pwpiwi 42a6a3f87b Remove duplicate #include stdio.h 2017-03-24 07:53:52 +01:00
pwpiwi 4cb4b588c2 Deduplicate mfkey32 and mfkey64
- rename client/nonce2key.[ch] to mfkey.[ch]
- leave only main() wrapper in tools/mfkey
- add mfkey32 and mfkey64 to .gitignore
2017-03-23 18:38:17 +01:00
pwpiwi 7779d73c71 Code cleanup: Refactoring nonce2key
- include nonce2key() in mifarehost.c
- remove tools/nonce2key
- simplify mifare_autopwn.lua
2017-03-20 21:16:57 +01:00
pwpiwi de867f502f fix: crapto3.3 sometimes crashing with hf mf mifare on Fudan clones (no par, all NACK) (#233)
added readme.txt again in tools/nonce2key
2017-03-20 21:05:26 +01:00
pwpiwi 0ca9bc0e99 Upgrade crapto1 library to v3.3 (#232)
- fix standalone tools mfkey32, mfkey64 and nonce2key to use common crapto1 library
- fix compiler warnings in tools/mfkey/mfkey64.c and tools/nonce2key/nonce2key.c
- allow crapto1.c to compile on ARM hosts
- add @iceman1001's readme.txt to tools/mfkey
2017-03-12 15:05:54 +01:00
pwpiwi 33443e7caa Code cleanup: deduplicate crapto1 library (#228)
- merge the existing 4 crapto1 sources into common/crapto1
2017-03-09 11:12:50 +01:00
pwpiwi 4c16ae80f0 Code cleanup:
- correctly using stdtypes.h printf and scanf format string macros (PRIx64 et al)
- coverity fixes to client/cmdhfmf.c
- fix linker warning re missing entry point when linking fullimage.elf
2017-02-23 18:29:03 +01:00
Adam Laurie a386043fa9 buspirate config for debricking 2017-02-21 17:53:56 +00:00
Pavel Zhovner c36d994b32 remove binary files 2016-03-09 03:52:54 +03:00
Pavel Zhovner 8eea1dc264 Optional decryption of communication using keystream 2016-03-09 03:32:39 +03:00
Pavel Zhovner a78238349c Optional decryption of communication using keystream 2016-03-09 02:41:20 +03:00
ikarus 9c6837165b Updated nameing (svn -> git) & fixed whitespaces. 2014-04-02 21:46:25 +02:00
Martin Holst Swende e3ac0d7095 Fixed so build scripts utilises the git version 2014-04-01 20:52:45 +02:00
roel@libnfc.org 69135e1c04 changed version.c, compile time is now always present, even when svn is not working 2013-03-27 10:27:14 +00:00
roel@libnfc.org cda056bb9e added all files for mfkeys 2013-03-07 12:23:31 +00:00
roel@libnfc.org 17331e14ee tweaked sim command, added mfkey32 2013-03-07 12:22:12 +00:00
roel@libnfc.org 9e130475f9 removed -fPIC directive 2013-03-07 10:51:25 +00:00
roel@libnfc.org 125a98a110 fixed stupid 64-bit formatting for x86/amd64 and unix/windows 2013-02-28 22:22:24 +00:00
roel@libnfc.org b62328cc54 cleaned up memmory 2012-09-29 08:46:40 +00:00
fnargwibble@gmail.com d13dee9046 target and bitstream back to front! 2012-08-13 16:16:39 +00:00
dn337t@gmail.com f5c5499ab8 changed -elf to -eabi in install-gnuarm4.sh ARMLIB suggestion 2012-07-05 09:14:13 +00:00
dn337t@gmail.com 7fba33fcc4 updated install-gnuarm4.sh to reflect new convention set by r573 2012-07-03 13:13:54 +00:00
roel@libnfc.org 998064f8c8 fixed spacing 2012-07-01 07:40:26 +00:00
roel@libnfc.org 7847961b25 added mfkey 2012-07-01 07:38:26 +00:00
dn337t@gmail.com fa4a296451 extracted download and signature verification functionality to a function in tools/install-gnuarm4.sh 2012-06-22 14:10:00 +00:00
dn337t@gmail.com ef928a0e8b avoid spawning whoami to get username in tools/install-gnuarm4.sh 2012-06-22 13:46:56 +00:00
dn337t@gmail.com f208c9e281 replaced string.find with str.find in findbits.search() 2012-06-20 20:43:24 +00:00
dn337t@gmail.com c3631ff82e simplified findbits.main() loop 2012-06-20 20:41:38 +00:00
dn337t@gmail.com ee0ef5c5d7 simplified findbits.stringreverse() 2012-06-20 20:33:53 +00:00
dn337t@gmail.com df1e29bb40 simplified findbits.binstring() 2012-06-20 20:31:49 +00:00
dn337t@gmail.com 9f975d42e8 simplified findbits.invert() 2012-06-20 20:25:35 +00:00
dn337t@gmail.com 683f4a90ab added simple test suite for tools/findbits.py 2012-06-20 20:21:13 +00:00
dn337t@gmail.com 79c4de2a0f made tools/findbits.py importable as a Python module 2012-06-20 15:07:30 +00:00
dn337t@gmail.com 36f0588054 use downloaded keyring directly to avoid polluting the user's 2012-06-07 13:21:14 +00:00
dn337t@gmail.com 9de50d8282 typofix in install-gnuarm4 script 2012-05-29 13:40:46 +00:00
marcin.mielczarczyk 8f97dd895e Fixed versions of Binutils, GDB and Insight in compiler building scripts. 2012-03-07 13:12:33 +00:00
W8M2Hg9lLmWqXSGC 50011f1970 Added regex to remove spaces and new lines from version.c when compiling under Windows. 2012-01-29 00:51:08 +00:00
zveriu@gmail.com 3d0adc14cf - Corrected ELF to EABI target (since Makefile refers to EABI and to be consistent with Compiling wiki page)
- Added signature checks for most of the downloaded packages (gpg --verify package.tar.bz2.sig)
 - Improved general download and fail-scenarios management
 - Added additional TODO items to be handled later as lower priority
2011-08-30 19:56:53 +00:00
adam@algroup.co.uk 9455b51c2a Issue 20 patch (refactored code of the iso15693 implementation as well as several enhancements) [Adrian Dabrowski "atrox"] 2010-10-19 14:25:17 +00:00
d18c7db bad6eab230 Fix possible type casting issue. Add another JTAG config file :) 2010-03-03 02:27:14 +00:00
marcansoft b7913d8f4b Make version data const 2010-02-26 14:02:27 +00:00
bushing ba06a4b694 setting svn:eol-style=native on files, part 3
(should be done now, sorry)
2010-02-22 19:29:05 +00:00
marcansoft 49b35ff9c2 More CRLF -> LF 2010-02-20 21:56:46 +00:00
d18c7db 23c1df52b0 Tweak JTAG config file 2010-02-18 08:29:03 +00:00
d18c7db 709a8d3ff0 replaced obsolete config options with current 2010-01-02 20:47:53 +00:00
roel@libnfc.org 93f5759045 mifare tools update 2009-12-30 00:12:17 +00:00
bushing ead7519327 change MFPR version to 2.4.2 to fix install script fail 2009-12-22 12:56:36 +00:00