Commit Graph

  • 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
  • 628d1cb085 FIX: Coverity, CID #121346, resouce leak, close filehandle. iceman1001 2016-01-12 23:06:53 +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
  • 7144c99b07 CHG: syntax suger iceman1001 2016-01-12 22:42:31 +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
  • 6799b19374 Merge branch 'master' of https://github.com/iceman1001/proxmark3 iceman1001 2016-01-09 17:20:58 +01:00
  • fc893f8e33 FIX: minor fixes to the HID wiegand generation command. Still not complete iceman1001 2016-01-09 17:20:06 +01:00
  • 5cc88edfaf CHG: syntax suger iceman1001 2016-01-09 17:19:09 +01:00
  • 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. iceman1001 2016-01-09 17:17:36 +01:00
  • 88a2610af5 ADD: Travis now builds automatically. iceman1001 2016-01-09 17:13:54 +01:00
  • c46b5bc438 Update README.txt Iceman 2016-01-08 22:40:02 +01:00
  • 302073363e fix: gcc-arm-none-eabi still not working... iceman1001 2016-01-08 22:30:36 +01:00
  • d8784d5e8b ADD: added gcc-arm-none-eabi compiler to travie script iceman1001 2016-01-08 22:27:09 +01:00
  • 6c67617922 CHG: added the make command iceman1001 2016-01-08 22:18:15 +01:00
  • daa93f2a5f ADD: added integration with Travis CI, iceman1001 2016-01-08 22:14:22 +01:00
  • dd0434a6ed FIX: @marshmellow42 's cleanup of includes. iceman1001 2016-01-08 15:29:06 +01:00
  • 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 iceman1001 2016-01-08 15:28:24 +01:00
  • fcb1cdba15 REM: code cleanup. iceman1001 2016-01-08 14:31:27 +01:00
  • c46ea881a4 FIX: coverty scan, resourceleak in "hf mf sniff", added call to 'free' befor return. FIX: coverty scan, overflow in "hf 14a raw", added an extra len check against USB_CMD_DATA_SIZE iceman1001 2016-01-08 14:30:56 +01:00
  • f4fbfb83e2 ADD: @go_tus 's code to generate wiegand codes from FacilityCode/SiteCode and Cardnumber. Almost there, formatlength supported is 26,34,35,37,38,40,44,75,84, when its finised. iceman1001 2016-01-08 14:28:13 +01:00
  • 614da335f6 Syntax suger, making the code easier to read (for me at least) iceman1001 2016-01-08 14:26:35 +01:00
  • 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. iceman1001 2016-01-08 14:25:10 +01:00
  • b64712d7f9 Update README.txt Iceman 2016-01-08 13:29:59 +01:00
  • 3e8998b73a Update README.txt Iceman 2016-01-08 13:29:01 +01:00
  • 24cb200254 Update README.txt Iceman 2016-01-08 13:24:56 +01:00
  • 2b4d109a8f Update README.txt Iceman 2016-01-08 13:22:05 +01:00
  • 83cc664bbd Update README.txt Iceman 2016-01-06 18:38:12 +01:00
  • e3eefac08c added coverty build scan badge Iceman 2016-01-06 18:34:43 +01:00
  • 69e312afe7 ADD: added a Q5 parameter for "lf t55xx wipe", the default config blocks is: t55x7 : 000880E0 t5555 (Q5) : 6001F004 iceman1001 2016-01-04 10:13:38 +01:00
  • fe8042f29a ADD: added @pwpiwi 's corrections to "hf mf hardnested" iceman1001 2016-01-04 10:11:20 +01:00
  • 09181a5462 code clean up, added some comments to hitag iceman1001 2016-01-03 17:17:44 +01:00
  • a531720ae6 added @pwpiwi 's latest changes to "hf mf hardnested" iceman1001 2016-01-03 17:16:50 +01:00
  • 58962d4c3e added @broken_bad's imp of showing T555/Q5 trace data. (with my modifications ;) ) iceman1001 2016-01-03 17:16:06 +01:00
  • 08e11f0a90 REM: removed an offensive #include on archlinux. Compiles on mingw without. iceman1001 2015-12-23 23:26:03 +01:00
  • 341fd1debc FIX: removed printBits reference. iceman1001 2015-12-23 11:59:34 +01:00
  • c35145bf7a FIX: the usb_poll_validate_length() check should be inversed, thanks @marshmellow42 iceman1001 2015-12-22 16:14:03 +01:00
  • e869d59871 ADD: @marshmellow42 's changes to "hf mfu dump" iceman1001 2015-12-21 19:48:33 +01:00
  • f4d0ffd1b9 CHG: some textual change to README.txt ADD: a prng.c to collect some different PRNG's i've ran into ADD: some changes the tea implementation ADD: a enhanced version - SwapEndian64ex iceman1001 2015-12-21 19:48:00 +01:00
  • a7474bb30a add: added @AdamLaurie 's iclass raw keys changes iceman1001 2015-12-21 19:44:47 +01:00
  • 9332b857ff ADD: @marshmellow42 's fixes for Q5, t55xx, fskclock, iceman1001 2015-12-16 11:01:46 +01:00
  • 2b1f4228c2 ADD: @marshmellow42 's changes to "hf mfu *" , ADD: @marshmellow42 's changes to "hf mf sim", ADD: @pwpiwi 's parity files was missing. iceman1001 2015-12-15 09:34:55 +01:00
  • f8ada309e9 ADD: @pwpiwi 's latest code from his 'hardnested' branch. iceman1001 2015-12-15 08:51:29 +01:00
  • 8c671cfb97 FIX: minor fixes in hf mfu, from @marshmello42 's branch. iceman1001 2015-12-14 22:52:04 +01:00
  • 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. iceman1001 2015-12-14 22:50:54 +01:00
  • 0c97a4562d ADD: @marshmellow42 's fixes to cmdlft55xx.c (save_restoreGB) ADD: started with a skeleton method for printing hex and ascill. iceman1001 2015-12-10 10:30:13 +01:00
  • 2b9006bd14 Two fixes for warnings when compiling on Ubuntu14.04. iceman1001 2015-12-09 15:29:18 +01:00
  • bf32dd923f ADD: @marshmello42 's fixes for low frequency demodulation lengths greater the 512bits. iceman1001 2015-12-09 14:58:16 +01:00
  • 0a886a1d1b ADD: a TEA crypto algorithm implemention. iceman1001 2015-12-09 14:57:16 +01:00
  • f74d0b89a2 added some keys iceman1001 2015-12-05 22:18:42 +01:00
  • 5247c0c193 ADD: hooked up the new pwdgen functions inside the "hf mfu info", to be tested if the authlimit is not set. iceman1001 2015-12-02 23:06:03 +01:00
  • 9984b1735a CHG: updated helptext for lf t55xx bruteforce ADD: a ROL function in util.c ADD: two pwdgen functions in cmdhfmfu.c, call them with a 7byte UID and get a 4byte number back. Will see if it can be connected with the "hf mfu info" command, make data extraction easier later on. ADD: added some more easy pwd in the dictionary file default_pwd.dic iceman1001 2015-12-02 22:46:11 +01:00
  • 8ce3e4b4e9 add: missing two hard_nested files.. iceman1001 2015-12-02 16:48:25 +01:00
  • d08faa4e02 ADD: Added the possibility to exit the bruteforce mode (either rangesearch or file) with the keyboard. FIX: if not found, the range search printed wrong number. iceman1001 2015-12-01 22:47:03 +01:00
  • 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. iceman1001 2015-12-01 22:38:37 +01:00
  • fff6d2a3ba FIX: added a break if the device starts acting strange when aquirering data from tag. iceman1001 2015-12-01 20:44:12 +01:00
  • 060fdaf998 FIXES: the custom keys testloop now increases the read pwd :) iceman1001 2015-12-01 16:44:53 +01:00
  • 21865cda09 ADD: added the possibility to load a default pwd file to be used with the "lf t55xx bruteforce" command. new option: lf t55xx brutefore i default_pwd.dic - will load default pwds from file and test against tag. iceman1001 2015-12-01 13:07:01 +01:00
  • 1063a0a872 textual fix. iceman1001 2015-11-27 17:00:48 +01:00
  • 91079e36b5 FIX: the t55xx bruteforce method got some fixes, in commandname, uint32_t instead of int, and output texts. iceman1001 2015-11-27 16:59:35 +01:00
  • c188b1b9b2 ADD: @go_tus simple bruteforce for t55xx, refactored a bit. ADD: @pwpiwi 's implementation of Hardnested iceman1001 2015-11-27 16:24:00 +01:00
  • 1a570b0a6a CHG: Missing some headers FIX: some message/warning in pm3_binlib.c @gm4tr1x iceman1001 2015-11-23 10:49:16 +01:00
  • e9a92fe237 FIX: the read counter in "hf 14a sim" (for ntag/ev) should work better now. Instead of always returning zero, it increases aswell. iceman1001 2015-11-22 21:48:15 +01:00
  • 5636ee8ce6 ADD: 'hf mfu info' now prints following settings: NFC_COUNTER_EN - If set, every read,fast_read increases a counter. NFC_COUNTER_PROT_PWD - If set, reading nfc_counter needs a successfull pwd authentication before These new settings is only valid for NTAG213/215/216, iceman1001 2015-11-22 18:13:26 +01:00
  • 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. iceman1001 2015-11-22 17:33:41 +01:00
  • 52f2df615b ADD: lf indalademod output, The binary string is now printed with linebreaks every 16bits ADD: lf awid code is modified, some minor changes in outputs ADD: lf t55xx write now prints the password on the same row, looks better when using the new "lf t55xx wipe" command. ADD: the ioprox T55X7_IOPROX_CONFIG_BLOCK block. iceman1001 2015-11-21 18:48:58 +01:00
  • 6426f6ba86 @marshmellows last LF changes. - wipe a t55x7 tag - stable demods - iceman1001 2015-11-20 16:56:43 +01:00
  • 57c7b44be5 FIX: some fixes to indalademod and viking from @marshmellow42 iceman1001 2015-11-10 18:56:43 +01:00
  • 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. iceman1001 2015-11-10 11:45:45 +01:00
  • 70459879e9 added @marshmellows new viking demod. adjusted it to fit with the clone/demod that is under "lf viking" commands. iceman1001 2015-11-10 11:42:59 +01:00
  • 4db2af08cd fix: forgot to remove this when merging piwi's fixes. iceman1001 2015-11-09 22:06:48 +01:00
  • 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 iceman1001 2015-11-09 21:51:34 +01:00
  • bca7107931 ADD: @marshmellow fix for em41x clock. CHG: swap the int to a uint8_t to skip a compiler error iceman1001 2015-11-09 21:49:02 +01:00
  • 7c5f2ced5b ADD: @piwi's fixes to "hf snoop" where it empties the bigbuffer before snooping. iceman1001 2015-11-09 21:48:09 +01:00
  • 91d62a18fb ADD: @piwi's changes to .gitignore. iceman1001 2015-11-09 21:47:26 +01:00
  • cc3c0a5148 ADD: @piwi's fixes to .history iceman1001 2015-11-09 21:46:57 +01:00
  • 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.. iceman1001 2015-11-09 21:46:15 +01:00
  • bb9796ba26 ADD: @bm2gii some kind of andriod fix for the lua. iceman1001 2015-11-02 20:47:15 +01:00
  • 94422fa23f ADD: @marshmellow42 's fixex and resetread t55x7 iceman1001 2015-11-02 20:46:17 +01:00
  • f5d2e7f7df CHG: @ematrix / @piwi fixes for 'hf snoop' iceman1001 2015-11-02 11:41:25 +01:00
  • acd7ccdbc9 CHG: some magic generation1 tags is not following protocol and answers to the "halt" command. This gives an error and makes the users think something went wrong. This also affected the magic identification in "Hf 14a reader" command, where it in those moments stated "NO" even if the tag is indeed a generation1. iceman1001 2015-11-01 22:16:16 +01:00
  • afa86e5c03 ADD: help text for 'hf snoop' / 'hf search' / 'hf list' CHG: minor code changes. CHG: makefile , moved hi_sniffer.v from LF into HF row. @piwi suggestion for PR https://github.com/Proxmark/proxmark3/pull/141 iceman1001 2015-11-01 19:49:08 +01:00
  • eb4222d773 CHG: the updated fpga image for the "hf snoop" iceman1001 2015-10-30 09:10:09 +01:00
  • 857bc2ff6a CHG: some desfire changes from @bforbort fork. *untested* iceman1001 2015-10-30 09:09:35 +01:00
  • 84f9cf0626 ADD: a minor xor script iceman1001 2015-10-30 09:07:04 +01:00
  • f218d50efb ADD: @gm4tr1x found some new known mifare keys. iceman1001 2015-10-30 09:05:22 +01:00
  • 1d0ccbe04b ADD: added the "hf snoop" patch original from @Enio, rearranged by @Etmatrix. ADD: added the "t55x7" refactoring by @marshmellow42 iceman1001 2015-10-27 21:47:21 +01:00
  • 1c8fbeb93e ADD: 'LF T55X7 WAKEUP' command. For tags with AOR bit set, send this command with password to wake tag up and be able to do a "LF SEARCH" etc on it. iceman1001 2015-10-21 09:12:33 +02:00
  • f82894ba69 CHG: move some methods, its easier to read now. Cosmetic change. iceman1001 2015-10-21 09:07:36 +02:00
  • 2efd639484 CHG: some cleanup of pcf7931.c iceman1001 2015-10-20 19:02:03 +02:00
  • 9276e859a6 ADD: @marshmellows42 's fixes for "lf cmdread" and CHANGELOG.md iceman1001 2015-10-20 19:00:02 +02:00