Commit graph

1679 commits

Author SHA1 Message Date
iceman1001 1d42f25fcd FIX: Coverity, out-of-bounds write, CID# 121336, s_index should take factor in consideration when looping. Not sure about this one.
FIX: another thing struck me, the g_index wasn't increased, meaning the "un-decimation" always worked on the same first byte of GraphBuffer.
2016-01-12 22:15:49 +01:00
iceman1001 6799b19374 Merge branch 'master' of https://github.com/iceman1001/proxmark3 2016-01-09 17:20:58 +01:00
iceman1001 fc893f8e33 FIX: minor fixes to the HID wiegand generation command. Still not complete 2016-01-09 17:20:06 +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 88a2610af5 ADD: Travis now builds automatically. 2016-01-09 17:13:54 +01:00
Iceman c46b5bc438 Update README.txt 2016-01-08 22:40:02 +01:00
iceman1001 302073363e fix: gcc-arm-none-eabi still not working... 2016-01-08 22:30:36 +01:00
iceman1001 d8784d5e8b ADD: added gcc-arm-none-eabi compiler to travie script 2016-01-08 22:27:09 +01:00
iceman1001 6c67617922 CHG: added the make command 2016-01-08 22:18:15 +01:00
iceman1001 daa93f2a5f ADD: added integration with Travis CI, 2016-01-08 22:14:22 +01:00
iceman1001 dd0434a6ed FIX: @marshmellow42 's cleanup of includes. 2016-01-08 15:29:06 +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 fcb1cdba15 REM: code cleanup. 2016-01-08 14:31:27 +01:00
iceman1001 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
2016-01-08 14:30:56 +01:00
iceman1001 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. 2016-01-08 14:28:13 +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
Iceman b64712d7f9 Update README.txt 2016-01-08 13:29:59 +01:00
Iceman 3e8998b73a Update README.txt 2016-01-08 13:29:01 +01:00
Iceman 24cb200254 Update README.txt 2016-01-08 13:24:56 +01:00
Iceman 2b4d109a8f Update README.txt 2016-01-08 13:22:05 +01:00
Iceman 83cc664bbd Update README.txt 2016-01-06 18:38:12 +01:00
Iceman e3eefac08c added coverty build scan badge 2016-01-06 18:34:43 +01:00
iceman1001 69e312afe7 ADD: added a Q5 parameter for "lf t55xx wipe",
the default config blocks is:
         t55x7      : 000880E0
         t5555 (Q5) : 6001F004
2016-01-04 10:13:38 +01:00
iceman1001 fe8042f29a ADD: added @pwpiwi 's corrections to "hf mf hardnested" 2016-01-04 10:11:20 +01:00
iceman1001 09181a5462 code clean up, added some comments to hitag 2016-01-03 17:17:44 +01:00
iceman1001 a531720ae6 added @pwpiwi 's latest changes to "hf mf hardnested" 2016-01-03 17:16:50 +01:00
iceman1001 58962d4c3e added @broken_bad's imp of showing T555/Q5 trace data. (with my modifications ;) ) 2016-01-03 17:16:06 +01:00
iceman1001 08e11f0a90 REM: removed an offensive #include on archlinux. Compiles on mingw without. 2015-12-23 23:26:03 +01:00
iceman1001 341fd1debc FIX: removed printBits reference. 2015-12-23 11:59:34 +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 e869d59871 ADD: @marshmellow42 's changes to "hf mfu dump" 2015-12-21 19:48:33 +01:00
iceman1001 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
2015-12-21 19:48:00 +01:00
iceman1001 a7474bb30a add: added @AdamLaurie 's iclass raw keys changes 2015-12-21 19:44:47 +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 8c671cfb97 FIX: minor fixes in hf mfu, from @marshmello42 's branch. 2015-12-14 22:52:04 +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 0c97a4562d ADD: @marshmellow42 's fixes to cmdlft55xx.c (save_restoreGB)
ADD: started with a skeleton method for printing  hex and ascill.
2015-12-10 10:30:13 +01:00
iceman1001 2b9006bd14 Two fixes for warnings when compiling on Ubuntu14.04.
FIX: a wrongly set parameter call to memset in CmdT55xxWipe .
FIX: an ignored fread call in  cmdhficlass.c,
2015-12-09 15:29:18 +01:00
iceman1001 bf32dd923f ADD: @marshmello42 's fixes for low frequency demodulation lengths greater the 512bits. 2015-12-09 14:58:16 +01:00
iceman1001 0a886a1d1b ADD: a TEA crypto algorithm implemention. 2015-12-09 14:57:16 +01:00
iceman1001 f74d0b89a2 added some keys 2015-12-05 22:18:42 +01:00
iceman1001 5247c0c193 ADD: hooked up the new pwdgen functions inside the "hf mfu info", to be tested if the authlimit is not set. 2015-12-02 23:06:03 +01:00
iceman1001 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
2015-12-02 22:46:11 +01:00
iceman1001 8ce3e4b4e9 add: missing two hard_nested files.. 2015-12-02 16:48:25 +01:00
iceman1001 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.
2015-12-01 22:47:03 +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