Commit graph

1123 commits

Author SHA1 Message Date
iceman1001 05fd71264a FIX: Coverity Scan complains that the realloc might fail.. 2016-01-20 13:03:49 +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 5e32cf7575 FIX: #lld -> %#PRIu64" since the arguments are uin64_t 2016-01-19 22:37:17 +01:00
iceman1001 495d7f1326 FIX: Coverity scan, forgot one fread ...
CHG: Syntax suger
2016-01-19 22:25:34 +01:00
iceman1001 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..
2016-01-19 21:48:29 +01:00
iceman1001 704d552a77 FIX: Coverity Scans, z_stream.opaque not initialized, use Z_NULL; 2016-01-19 20:28:29 +01:00
iceman1001 886968335b FIX: Coverity scan, complain on z_stream.opaque is not initialized. Google it,says use: Z_NULL 2016-01-19 20:26:19 +01:00
iceman1001 841d7af0dc FIX: Coverity Scan warnings on not using the fread return value. 2016-01-19 19:52:01 +01:00
iceman1001 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.
2016-01-19 19:33:23 +01:00
iceman1001 5f5aa82bb9 FIX: Coverity Scan says fgetc() returns a INT, 2016-01-19 19:32:10 +01:00
iceman1001 67d78d0cde CHG: syntax suger 2016-01-19 19:31:34 +01:00
iceman1001 89a40c3d1d REM: removed a print. The printing is done in the calling function. 2016-01-19 18:06:14 +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 1a4b67382a FIX: Coverity Scan resource leak 2016-01-19 17:23:36 +01:00
iceman1001 a0f33b6682 CHG: started to clean up the crapto1 imp in client/nonce2key/ folder. 2016-01-19 17:22:18 +01:00
iceman1001 0697080e26 FIX: CoverityScan complains on getchar(), not reading the returning value 2016-01-19 16:58:07 +01:00
iceman1001 639a571810 FIX: Coverity scan, remove a resource leak, wrong varible type. 2016-01-19 16:29:49 +01:00
iceman1001 a429510647 REM: Removed #define llx PRIx64, all these defines are located in proxmark3.h 2016-01-19 16:29:07 +01:00
iceman1001 bb0fc401cc ADD: another key found 2016-01-18 23:28:34 +01:00
iceman1001 ce161f5633 ADD: added the "llu" macro shortcut as format specifier. 2016-01-16 23:04:19 +01:00
iceman1001 952f3dc78f CHG: changed output for the "hf mf nested" to show KEY: A or B instead of 0/1 2016-01-16 23:02:54 +01:00
iceman1001 4750877f2d FIX: Coverity fix with resource leakage
ADD: Implemented a addon to "hf mf nested"  if there is KEY_A 's found but not the same KEY_B,  try just read it from tag.
Makes the command a bit slower when it does these reads.   Plus some annoying debug statements,

CHG: changed the output for "hf mf nested"  to write Key A or B instead of 0 & 1..
2016-01-16 23:02:04 +01:00
iceman1001 e1ad67eaf2 FIX: Coverity Scan fixes, a bunch of them. 2016-01-16 22:58:44 +01:00
iceman1001 8977988fb6 FIX: forgot a lua object for the call to ConvertAsciiToHex. Thanks @romaric for finding it. 2016-01-15 21:47:32 +01:00
iceman1001 7f975d7e17 FIX: one of these days I will start being more observant about argument order 2016-01-15 15:22:25 +01:00
iceman1001 28093ebc10 FIX: wrong format specifier syntax 2016-01-15 12:53:13 +01:00
iceman1001 621601ecef ADD: some clocking for 'hf mf mifare', 'hf mf nested', 'hf mf chk' 2016-01-15 12:45:15 +01:00
iceman1001 3e110ad5ee REM: removed a dublett at end of file. 2016-01-15 12:43:56 +01:00
iceman1001 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.
2016-01-15 12:43:29 +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 4b2e63be17 FIX: Some <= fix for pwpivi 's hardnested suggested on the Pm3 forum. 2016-01-13 21:51:47 +01:00
iceman1001 738eeccd9d CHG: Tested to unfold some loops inside the crypto1 implementation to see if it generates some speed ups. Feels ok. 2016-01-13 21:51:06 +01:00
iceman1001 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.
2016-01-13 14:53:32 +01:00
iceman1001 54d893143c FIX: Coverity, out-of-bounds read ... 2016-01-13 14:51:02 +01:00
iceman1001 6b1111d7b8 FIX: Coverity, resource leak, and variable can't be negative, 2016-01-13 13:22:25 +01:00
iceman1001 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 2016-01-13 13:15:34 +01:00
iceman1001 40a532d97d FIX: Coverity, strlen(Cmd) can never be lesser than zero.. *douh* 2016-01-13 12:58:10 +01:00
iceman1001 b891758968 FIX: Coverity, resource leaks 'nd more.. in "lf t55xx bruteforce" nasty piece of code... 2016-01-13 12:50:18 +01:00
iceman1001 4b8ee00f0d FIX: forgot to change a modified call from @pwpivi 's last update. 2016-01-13 12:49:21 +01:00
iceman1001 0d5ee8e245 ADD: @pwpiwi 's latest changes to 'hf mf hardnested' 2016-01-13 09:31:13 +01:00
iceman1001 d16b33feb5 REM: Removed lot of obselete code from before. 2016-01-13 00:24:37 +01:00
iceman1001 3a532acfe1 ADD: "lf hid bruteforce" for a simple bruteforce attact against a HID reader. *work in progress* 2016-01-13 00:16:11 +01:00
iceman1001 d04b71c168 FIX: tcgetattr for Linux in Ukbhit(), should return -1 if fail. 2016-01-13 00:14:08 +01:00
iceman1001 f37fe8cb10 FIX: Coverity, Unchecked return value, CID #121288, lets do the same check that is everywhere is this call is used. 2016-01-13 00:08:23 +01:00
iceman1001 3f3fdce685 FIX: Coverity, CID# 121351, #121371, #121372, old code that is not used any more, I should remove this. 2016-01-13 00:07:14 +01:00
iceman1001 978920b9fc FIX: textual changes 2016-01-13 00:05:55 +01:00
iceman1001 6178e80e4a FIX: Coverity, resource leak, CID #121357, Mat needs to be free 2016-01-12 23:56:15 +01:00
iceman1001 33db73516d FIX: Coverity, logical vs bitwise operator, remove the extra '&' for it to become bitwise. 2016-01-12 23:42:42 +01:00
iceman1001 95d96ea38a FIX: Coverity, Unintended sign extension, data[7] would have become int, then uint64_t. Should work better now with adding typecasting. 2016-01-12 23:40:57 +01:00
iceman1001 3906036e11 FIX: Coverity, Resource leak, CID #121361, filehandle f needs to be free 2016-01-12 23:38:47 +01:00