810f53792e
ADD: added the possibility to choose which block num to attack with "hf mf mifare" Before it only worked on block 0.
iceman1001
2016-01-20 22:26:01 +01:00
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.
iceman1001
2016-01-20 19:53:58 +01:00
0920f54c66
CHG: Remake the "hf mf chkkeys" It now prints the found keys like "hf mf nested" does. It also tries to read key B if Key A was found. It also continues to the next key to find, when there is one match. Earlier all keys in .dic file, was tested even if it was found.
iceman1001
2016-01-20 19:51:30 +01:00
4a71da5a35
FIX: Coverity Scan complains about resourceleaks, array reads outside of index, uninitialized variables.
iceman1001
2016-01-20 17:13:25 +01:00
05fd71264a
FIX: Coverity Scan complains that the realloc might fail..
iceman1001
2016-01-20 13:03:49 +01:00
1f1929a4aa
CHG: maybe this init works better?
iceman
2016-01-12 15:57:53 +01:00
c2dac3f824
CHG, modified the configuration script
iceman
2016-01-12 15:55:01 +01:00
bf22fab73b
FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD and s->EVEN to zero should do the trick.
iceman1001
2016-01-20 11:31:24 +01:00
b112787d4f
ADD: Some instructions for configure CoverityScan using alternative compiler like the ARM-NONE-EABI-GCC FIX: stupid clock() == -1 on systems who doesn't have it..
iceman1001
2016-01-19 21:48:29 +01:00
8ceb1addcd
FIX: Coverity Scan, #if - else -#endif statement most likely one row row.
iceman1001
2016-01-19 20:55:55 +01:00
704d552a77
FIX: Coverity Scans, z_stream.opaque not initialized, use Z_NULL;
iceman1001
2016-01-19 20:28:29 +01:00
886968335b
FIX: Coverity scan, complain on z_stream.opaque is not initialized. Google it,says use: Z_NULL
iceman1001
2016-01-19 20:26:19 +01:00
841d7af0dc
FIX: Coverity Scan warnings on not using the fread return value.
iceman1001
2016-01-19 19:52:01 +01:00
52cf34c1cc
CHG: Syntax suger, space -> tabs. etc. FIX: Coverity Scan says out-of-bounds, Increased the databuffer. Legic List command needs to be re-done.
iceman1001
2016-01-19 19:33:23 +01:00
a0f33b6682
CHG: started to clean up the crapto1 imp in client/nonce2key/ folder.
iceman1001
2016-01-19 17:22:18 +01:00
7d5169a0e9
CHG: minor change initializing array.
iceman1001
2016-01-19 16:59:06 +01:00
0697080e26
FIX: CoverityScan complains on getchar(), not reading the returning value
iceman1001
2016-01-19 16:58:07 +01:00
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?
iceman1001
2016-01-19 16:32:29 +01:00
a429510647
REM: Removed #define llx PRIx64, all these defines are located in proxmark3.h
iceman1001
2016-01-19 16:29:07 +01:00
9b98cb88b2
ADD: Wrote a little help text to the nonce2key tools.
iceman1001
2016-01-19 16:26:37 +01:00
417f4ae127
CHG: Crapto1 v3.3 for the ARMSRC
iceman1001
2016-01-19 16:19:59 +01:00
a1afa550ea
CHG: Crapto1 v3.3 now with comments, and I've tried to unnest some loops.
iceman1001
2016-01-19 16:17:29 +01:00
bb0fc401cc
ADD: another key found
iceman1001
2016-01-18 23:28:34 +01:00
93b0bbd2dc
FIX: the "make clean" for mfkey/Makefile now deletes the executables.
iceman1001
2016-01-17 23:06:48 +01:00
9d1eaa281f
FIX: makeing sure the "make clean" now deletes the nonce2key.exe file.
iceman1001
2016-01-17 23:00:50 +01:00
02b6f355ca
ADD: a markdown file for the readme.txt file. I want to be able to show the build status from TravisCI and Coverity Scans
iceman1001
2016-01-16 23:14:14 +01:00
e1ad67eaf2
FIX: Coverity Scan fixes, a bunch of them.
iceman1001
2016-01-16 22:58:44 +01:00
72109f8296
CHG: Updated the crapto1 imp to latest vesion3.3 ( Thanks @blapost !)
iceman1001
2016-01-16 17:49:45 +01:00
8977988fb6
FIX: forgot a lua object for the call to ConvertAsciiToHex. Thanks @romaric for finding it.
iceman1001
2016-01-15 21:47:32 +01:00
74d3f41bca
CHG: lets see if I can get the perl script to work if I request "git fetch --all" before running the make command in Travis-CI
iceman1001
2016-01-15 16:32:38 +01:00
7f975d7e17
FIX: one of these days I will start being more observant about argument order
iceman1001
2016-01-15 15:22:25 +01:00
28093ebc10
FIX: wrong format specifier syntax
iceman1001
2016-01-15 12:53:13 +01:00
621601ecef
ADD: some clocking for 'hf mf mifare', 'hf mf nested', 'hf mf chk'
iceman1001
2016-01-15 12:45:15 +01:00
3e110ad5ee
REM: removed a dublett at end of file.
iceman1001
2016-01-15 12:43:56 +01:00
43d3f76921
FIX: this should remove some warnings while compiling on linux and when running Travis-CI in a docker container. some format specifier for uint64_t and getting the git history in the perl script.
iceman1001
2016-01-15 12:43:29 +01:00
c2d2a5a6b5
CHG: Tried to unfold some loops inside ARM/crypto1 imp. It can't hurt, feels stabil.
iceman1001
2016-01-13 22:24:12 +01:00
4b2e63be17
FIX: Some <= fix for pwpivi 's hardnested suggested on the Pm3 forum.
iceman1001
2016-01-13 21:51:47 +01:00
738eeccd9d
CHG: Tested to unfold some loops inside the crypto1 implementation to see if it generates some speed ups. Feels ok.
iceman1001
2016-01-13 21:51:06 +01:00
63c236144b
FIX: Coverity, out-of-bounds read, 124 is less than (0x10*8)+2 (130) FIX: Coverity, dead-code, bitcomparison always false. Copy-paste error? but 0x0F can never be equal 0x10.. I guessing its 0x01. @pwpivi have to correct me if its wrong.
iceman1001
2016-01-13 14:53:32 +01:00
6b1111d7b8
FIX: Coverity, resource leak, and variable can't be negative,
iceman1001
2016-01-13 13:22:25 +01:00
089f91dc9d
FIX: GCC 4.8 complains the pointer is set before its used in a call to free(). Doesn't complain on Mingw, only Ubuntu.15.10
iceman1001
2016-01-13 13:15:34 +01:00
40a532d97d
FIX: Coverity, strlen(Cmd) can never be lesser than zero.. *douh*
iceman1001
2016-01-13 12:58:10 +01:00
b891758968
FIX: Coverity, resource leaks 'nd more.. in "lf t55xx bruteforce" nasty piece of code...
iceman1001
2016-01-13 12:50:18 +01:00
4b8ee00f0d
FIX: forgot to change a modified call from @pwpivi 's last update.
iceman1001
2016-01-13 12:49:21 +01:00
d16b33feb5
REM: Removed lot of obselete code from before.
iceman1001
2016-01-13 00:24:37 +01:00
3a532acfe1
ADD: "lf hid bruteforce" for a simple bruteforce attact against a HID reader. *work in progress*
iceman1001
2016-01-13 00:16:11 +01:00
d04b71c168
FIX: tcgetattr for Linux in Ukbhit(), should return -1 if fail.
iceman1001
2016-01-13 00:14:08 +01:00
f37fe8cb10
FIX: Coverity, Unchecked return value, CID #121288, lets do the same check that is everywhere is this call is used.
iceman1001
2016-01-13 00:08:23 +01:00
3f3fdce685
FIX: Coverity, CID# 121351, #121371, #121372, old code that is not used any more, I should remove this.
iceman1001
2016-01-13 00:07:14 +01:00
6178e80e4a
FIX: Coverity, resource leak, CID #121357, Mat needs to be free
iceman1001
2016-01-12 23:56:15 +01:00
33db73516d
FIX: Coverity, logical vs bitwise operator, remove the extra '&' for it to become bitwise.
iceman1001
2016-01-12 23:42:42 +01:00
95d96ea38a
FIX: Coverity, Unintended sign extension, data[7] would have become int, then uint64_t. Should work better now with adding typecasting.
iceman1001
2016-01-12 23:40:57 +01:00
3906036e11
FIX: Coverity, Resource leak, CID #121361, filehandle f needs to be free
iceman1001
2016-01-12 23:38:47 +01:00
e683ecb6a5
FIX: Coverity, Resource leak, CID# 121360, keyBlock needs to be free
iceman1001
2016-01-12 23:37:33 +01:00
60daed79db
FIX: Coverity, out-of-bounds write, CID#121340, CID#121341, CID#121342, CID#121343, wrong size in check, sprintf always adds a null terminator, so if filepath would have been 996 chars long, this might had happend... but no more.
iceman1001
2016-01-12 23:35:06 +01:00
e72d1fbba2
FIX: Coverity, CID#121314, Explicit null dereferenced, in really odd occasions buf would be NULL, and sending NULL to memcpy dereferences it. Not sure about this fix.
iceman1001
2016-01-12 23:27:42 +01:00
395ec4e99c
FIX: Coverity, CID# 121337, Out-of-bounds. In the loop, variable i, can be as much as 1051, overflowing the databuf with size 1024.
iceman1001
2016-01-12 23:16:20 +01:00
5cba446201
FIX: Coverity, uninitialized scalar variable, filename array could be NULL..
iceman1001
2016-01-12 23:10:38 +01:00
f7c30d806c
FIX: Coverity, out-of-bounds, CID#121330, CID#121331, CID#121332, CID#121333, keyNbr has to be smaller then ICLASS_KEYS_MAX (since the Iclass_Key_Table array is initialised with it).
iceman1001
2016-01-12 23:05:10 +01:00
3c40616979
FIX: Coverity, Dereference null return, CID #212329, filehandle could be NULL
iceman1001
2016-01-12 22:57:23 +01:00
8b15860ed1
FIX, Coverity, Unsigned compared against 0. CID #212326, keyNBr will never be negative.
iceman1001
2016-01-12 22:53:13 +01:00
ddb748a973
FIX, Coverity, Argument can't be negative, CID #212324, ftell(f) can be negative, not allowed in malloc.
iceman1001
2016-01-12 22:49:29 +01:00
4bb17c6633
FIX: Coverity , Argument can't be negative, CID #121323, ftell(f) can be negative, not allowed in malloc.
iceman1001
2016-01-12 22:47:48 +01:00
9c4e28a445
FIX, Coverity, Argument can't be negative. CID# 212322, ftell(f) can be negative. Not allowed in malloc...
iceman1001
2016-01-12 22:43:28 +01:00
e994394a40
FIX: Coverity, Identical code for different branches, CID #121315, added a message and different return value.
iceman1001
2016-01-12 22:37:35 +01:00
4c685ac887
FIX: Coverity, unintended sign extention, CID #121363, (numbits << 16) becomes int, then uint64_t. But the signness might set all upper bits to 1 in the process.
iceman1001
2016-01-12 22:33:54 +01:00
28415b5d90
FIX: Coverity, unchecked return value, CID #121292,.. basicallty the flush queue commmand is replaced with clearCommandBuffer();.
iceman1001
2016-01-12 22:30:22 +01:00
1d42f25fcd
FIX: Coverity, out-of-bounds write, CID# 121336, s_index should take factor in consideration when looping. Not sure about this one.
iceman1001
2016-01-12 22:15:49 +01:00