iceman1001
7504dc50d5
Merge branch 'master' of https://github.com/iceman1001/proxmark3
...
Conflicts:
armsrc/crypto1.c
2016-02-16 21:43:45 +01:00
iceman1001
ee97a92adb
CHG: testing a prng_successor_one method
2016-02-16 21:41:10 +01:00
iceman1001
6a18e46fa6
FIX: finally I took the effort to finish the "hf mf c*" commands on device side...
2016-02-15 22:04:24 +01:00
iceman
a70fcfb655
add: added a noncedistance method
2016-02-15 02:46:48 +01:00
iceman
6e91de5a8d
add: added a test function for nonce distance
2016-02-15 02:46:15 +01:00
iceman1001
a11ca2f305
FIX: @wllm-rbnt 's typo fixes
2016-02-12 07:37:10 +01:00
iceman1001
4b78d6b317
CHG: having a go at finding the WDT death second time we run "hf mf mifare"...
2016-02-10 21:46:52 +01:00
iceman1001
5192a0a689
CHG: syntax suger
2016-02-10 21:45:03 +01:00
iceman1001
b7536e11e1
FIX: added @marshmellow42 's fixes for StandAloneMode. Some debug printed wrong sized hex and the call to CopyHIDtoT55x7 had the parameters in wrong order.
2016-02-10 17:33:12 +01:00
iceman1001
bd9dfaa891
CHG: Syntax suger
...
EXperimented: unfolded a loop.
2016-01-25 20:24:23 +01:00
iceman1001
4c0cf2d215
Experimeting with finding the "WDT_HIT" bug in "Hf mf mifare", which not shows if "hf mf dbg" is set to 3 or more...
2016-01-25 20:21:11 +01:00
iceman1001
5f5254d631
FIX: Possible usage of NULL.
2016-01-25 20:19:47 +01:00
iceman1001
65c2d21d05
CHG: Syntax suger
2016-01-25 20:19:15 +01:00
iceman1001
da198be4b5
CHG: Syntax suger
2016-01-25 20:17:08 +01:00
iceman1001
810f53792e
ADD: added the possibility to choose which block num to attack with "hf mf mifare" Before it only worked on block 0.
2016-01-20 22:26:01 +01:00
iceman1001
5ebcb867a3
FIX: Some uninitialized variables, some syntax suger, and some extra WDT_HIT calls inside "ReaderMifare" to stop it from trigger when running multiple times in a row.
2016-01-20 19:53:58 +01:00
iceman1001
d798d31cbe
FIX: Coverity scans, uninitialized variables,
...
CHG: unfolded some loops..
2016-01-20 17:44:51 +01:00
iceman1001
4a71da5a35
FIX: Coverity Scan complains about resourceleaks, array reads outside of index, uninitialized variables.
2016-01-20 17:13:25 +01:00
iceman1001
bf22fab73b
FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD and s->EVEN to zero should do the trick.
2016-01-20 11:31:24 +01:00
iceman1001
495d7f1326
FIX: Coverity scan, forgot one fread ...
...
CHG: Syntax suger
2016-01-19 22:25:34 +01:00
iceman1001
8130eba4d1
CHG: Syncronized so all different parts uses the same implementation of Crapto1 v3.3
2016-01-19 18:01:16 +01:00
iceman1001
7d5169a0e9
CHG: minor change initializing array.
2016-01-19 16:59:06 +01:00
iceman1001
02a405967e
CHG: The nonce from "hf mf nested" is fixed to this one, why is that one selected? Why not just all zeros or ones?
2016-01-19 16:32:29 +01:00
iceman1001
9974991e4b
CHG: Syntax suger
2016-01-19 16:31:38 +01:00
iceman1001
417f4ae127
CHG: Crapto1 v3.3 for the ARMSRC
2016-01-19 16:19:59 +01:00
iceman1001
c2d2a5a6b5
CHG: Tried to unfold some loops inside ARM/crypto1 imp. It can't hurt, feels stabil.
2016-01-13 22:24:12 +01:00
iceman1001
0d5ee8e245
ADD: @pwpiwi 's latest changes to 'hf mf hardnested'
2016-01-13 09:31:13 +01:00
iceman1001
5cc88edfaf
CHG: syntax suger
2016-01-09 17:19:09 +01:00
iceman1001
dd79e03a1a
ADD: a new pwdgen algo Nicknamed C, (Huge props to @Bettse for everything) also added to the "hf mfu info" command. However, that will not work given the system's lockbits.. :( Maybe I'll add a function to test all imp pwdgens given a UID without making a authentication call to tag.
...
ADD: BSWAP_32 macro, for changing endianness.
2016-01-09 17:17:36 +01:00
iceman1001
7f6ccd3926
FIX: coverty scan defects.
...
- bigbuf.c is comparision correct (iLen versus numofparity)
- cmdhfepa.c resourceleak, add a call to free
- cipherutils.c resourceleak, added calls to free
2016-01-08 15:28:24 +01:00
iceman1001
614da335f6
Syntax suger, making the code easier to read (for me at least)
2016-01-08 14:26:35 +01:00
iceman1001
ab7bb49475
FIX: coverty scan reveals some resourceleaks and overruns, which is supposed to be fixed now.
...
/armsrc/des.c overflow 7 instead of 6
/client/cmdlfhitag.c overflows traclen
/client/util.c sprint_bin_break overflows.
/client/cmdhficlass.c need to free memory after malloc.
ADD: RotateRight macro in util.h
2016-01-08 14:25:10 +01:00
iceman1001
09181a5462
code clean up, added some comments to hitag
2016-01-03 17:17:44 +01:00
iceman1001
c35145bf7a
FIX: the usb_poll_validate_length() check should be inversed, thanks @marshmellow42
2015-12-22 16:14:03 +01:00
iceman1001
9332b857ff
ADD: @marshmellow42 's fixes for Q5, t55xx, fskclock,
...
ADD: got tired of always writing wrong "hf 14a list", so I hooked it back up to call the "hf list" with argument. Things becomes smoother that way.
2015-12-16 11:01:46 +01:00
iceman1001
2b1f4228c2
ADD: @marshmellow42 's changes to "hf mfu *" ,
...
ADD: @marshmellow42 's changes to "hf mf sim",
ADD: @pwpiwi 's parity files was missing.
2015-12-15 09:34:55 +01:00
iceman1001
f8ada309e9
ADD: @pwpiwi 's latest code from his 'hardnested' branch.
2015-12-15 08:51:29 +01:00
iceman1001
508b37ba9c
REM: removed an unused doublett function "printBits" in util.c
...
ADD: added a new string helper function "sprint_hex_ascii" in util.c
ADD: added "LF AWID BRUTE", a very simple bruteforce command for the awid commands.
it takes a facility-code, and iterates all possible 0xFFFF cardnum by sending sim command. It also uses the usb_poll function to stop the bruteforce on keypress and not leaving the pm3 device running the simulation.
the command implements the help parameter.
2015-12-14 22:50:54 +01:00
iceman1001
8ce3e4b4e9
add: missing two hard_nested files..
2015-12-02 16:48:25 +01:00
iceman1001
3f26796673
FIX: the lfsampling.c for t55xx had a tendecy to enter a neverending loop. Moved exit branch into the while statement, which seems to solve it.
...
FIX: Strange int -> uint8_t casting behavior (0x05 gets the 25bit set and becomes 0x10005 instead) in fskdemod, removed int and sscanf.
2015-12-01 22:38:37 +01:00
iceman1001
c188b1b9b2
ADD: @go_tus simple bruteforce for t55xx, refactored a bit.
...
ADD: @pwpiwi 's implementation of Hardnested
2015-11-27 16:24:00 +01:00
iceman1001
1a570b0a6a
CHG: Missing some headers
...
FIX: some message/warning in pm3_binlib.c @gm4tr1x
2015-11-23 10:49:16 +01:00
iceman1001
e9a92fe237
FIX: the read counter in "hf 14a sim" (for ntag/ev) should work better now. Instead of always returning zero, it increases aswell.
...
--Started to add the TI demod into the 'LF SEARCH"
2015-11-22 21:48:15 +01:00
iceman1001
a126332a7b
ADD: @marshmellow's fixes to awid, viking and T55x7
...
ADD: 'lf t55xx detect' now can be called with a password.
ADD: trying to add the read counter and increase counter commands for ntag sim.
2015-11-22 17:33:41 +01:00
iceman1001
6426f6ba86
@marshmellows last LF changes.
...
- wipe a t55x7 tag
- stable demods
-
2015-11-20 16:56:43 +01:00
iceman1001
0956e0dba5
FIX: an error that I introduced to the csetblock command with wrong length of crc calcs.
...
CHG: variable name in csetblock change. just trying to be consistant.
ADD: code clean up in hf 14a, added some help text methods.
2015-11-10 11:45:45 +01:00
iceman1001
70459879e9
added @marshmellows new viking demod.
...
adjusted it to fit with the clone/demod that is under "lf viking" commands.
did some code clean up, 3spaces into tab.
2015-11-10 11:42:59 +01:00
iceman1001
edaf10af99
CHG: minor code clean up, removed commented old code.
...
ADD: usb_poll_validate_length to some deviceside loops.
ADD: @marshmellow42 's fixes to LF
2015-11-09 21:51:34 +01:00
iceman1001
7c5f2ced5b
ADD: @piwi's fixes to "hf snoop" where it empties the bigbuffer before snooping.
2015-11-09 21:48:09 +01:00
iceman1001
c2731f37be
CHG: a major remake of the "hf mf c*" commands. Ie chinese magic tags. Tried to make them consistent in parameter calls and simplified. And fixed the annoying gen1 tags that answers with a ACK/NACK on HALT commands..
2015-11-09 21:46:15 +01:00