Commit graph

2054 commits

Author SHA1 Message Date
iceman1001 7f0cb92e0d CHG: Added @icsom 's changes to his legic.lua script. 2016-03-01 07:07:56 +01:00
iceman1001 ff3e074478 CHG: some minor changes to the 14b, the read 14b lua, 2016-03-01 07:03:00 +01:00
iceman1001 cf69eca0ff CHG: a bit code clean up,
FIX: a comparison with signed vs unsigned was solved.   I'm reluctant to change this code since it is a vital piece.
2016-03-01 07:00:56 +01:00
iceman1001 ff4ff94b25 DEL: Removed old comment, after I've been compiling and testing all -W parameters in it. Didn't find any new warnings. Which is good. 2016-03-01 06:58:32 +01:00
iceman1001 c728b2b4cf FIX: Added @marshmellow42 's fix for ASK/Biphase simulation on deviceside.
CHG: Added @marshmellow42 's refactoring of "gprox-II" demod.
2016-03-01 06:57:02 +01:00
iceman1001 547595784f CHG: Updated the CHANGELOG.md 2016-02-29 09:05:54 +01:00
iceman1001 07291f87d8 ADD: finished of the "LF GUARD SIM" command. needs testing. 2016-02-28 23:28:38 +01:00
iceman1001 0d2c590974 ADD: num_to_bytebitsLSBF function.
ADD: lf guard clone - works...  needs some checking.
ADD: added a option to "addparity" to set zero on fixed pos.
2016-02-28 22:43:21 +01:00
iceman1001 733eb42022 ADD: Added three legic luascript from @iscom (Mosic) Great work! 2016-02-28 14:50:49 +01:00
iceman1001 2453ca6529 CHG: better not to show the unfinished commands.. 2016-02-27 19:48:19 +01:00
iceman1001 50564be0f8 ADD: Started to add a "LF GUARD CLONE/SIM" functionality. *not working* all thats needed now is fixing the transformation from FacilityCode/CardNumber -> raw data for t55x7. 2016-02-27 19:47:10 +01:00
iceman1001 98c799ba49 BUG: smash stack in addParity call. Didn't take in consideration that it adds bits per parity to the array.. 2016-02-27 19:21:49 +01:00
iceman1001 90639dd1cc FIX: lets see if this fixes the pyramid clone crash on OSX 2016-02-27 18:57:49 +01:00
iceman1001 69c4516d32 chg: minor changes to text, explaining current implementation for "lf pyramid clone/sim" only works for 26bits. 2016-02-27 12:12:05 +01:00
iceman1001 220d638d92 ADD: started to add a lua script for reading 14b tags, will help when making scripts against iso 14443b tags. 2016-02-27 09:24:40 +01:00
iceman1001 4b3655e7f4 FIX: spelling misstakes.
FIX: output of block number should be two digits for nicer layout
FIX: strange branching in the pyramid demod in cmddata.c,  it will now always print the unknown length message
FIX: another go at the coverity scan bug in proxmark3.c. (resource leak for cmd)
2016-02-27 09:21:19 +01:00
iceman1001 ce9a7cbf33 ADD: "LF PYRAMID SIM" 2016-02-26 22:40:13 +01:00
iceman1001 581b31fb8a FIX: "LF PYRAMID CLONE" now works. 2016-02-26 22:10:27 +01:00
iceman1001 f087591d59 FIX: calcs wiegand correct, adds wiegand parity correct, adds checksum correct, add even parity to blocks correct.
- when ran it clones nice,  the "lf search" finds a pyramid och checksom is ok.  However,  the wiegand decode is wrong.
Something about where in bitarray to put the startformat bit and wiegand bits...
2016-02-26 21:11:56 +01:00
iceman1001 f6af1cf0ad FIX: the 14b crc was called wrong in LUA. You enter a hexstring already, and get a hexstring back. 2016-02-25 17:51:02 +01:00
iceman1001 71cb7328e3 ADD: added some pyramid commands. //not finished. 2016-02-25 17:49:48 +01:00
iceman1001 916639ffd9 ADD: Chrisfu 's most excellent homebrew file, adjusted for my fork. REF: https://github.com/chrisfu/homebrew-proxmark3
His notes:
 :: Install homebrew if you haven't yet already done so: http://brew.sh/

 :: Tap this repo: brew tap iceman1001/proxmark3

 :: Install Proxmark3: brew install proxmark3 for stable release or brew install --HEAD proxmark3 for latest non-stable from GitHub.
2016-02-24 09:05:36 +01:00
iceman1001 683180cb60 ADD: added a simple test of known pwd algos based on uid. 2016-02-24 08:31:46 +01:00
iceman1001 b9411ebac8 ADD: added a simple sleep function. Thanks to Mosci 2016-02-23 08:24:01 +01:00
iceman1001 cd0bed3c98 FIX: textual fix 2016-02-22 17:51:07 +01:00
iceman1001 a75d63f19b ADD: added the crc8legic to Lua. call it with core.crc8legic
also a helper function to take a hexstring and calc the crc on it, was added inside utils.lua

   Call it inside a lua-script like this:

        local utils = require('utils')
        local data = '01020304'
	local crc = utils.Crc8Legic(data)
	print (uid,  ('%02x'):format(crc))
2016-02-22 17:50:32 +01:00
iceman1001 c0f15a05b3 ADD: Marshmellows fixes for "lf t55xx" and "lf cmdread" ref: https://github.com/Proxmark/proxmark3/pull/166/files 2016-02-21 17:44:25 +01:00
iceman1001 c7962313cc FIX: an extra break inside "Hf mf cgetsc" made it not read the fourth block in the sector. 2016-02-20 00:29:35 +01:00
iceman1001 14dff8e330 CHG: -O3 flag in the makefile. 2016-02-19 22:35:15 +01:00
iceman1001 b03006794f CHG: removing some time-debug statements.
CHG:  increased the time-out message 2sec, in proxmark,  to make "hf mf chk" work better.
CHG:  still trying to solve the "hf mf mifare" WDT_HIT bug.

With these changes,  the "hf mf chk" / "Hf mf nested" looks similar and should be a bit faster.
2016-02-19 22:34:39 +01:00
iceman1001 e66ff99cc9 CHG: revert old fiddeling, I should not touch the HIDflasher. 2016-02-19 22:32:38 +01:00
iceman1001 95215e873f FIX: this free call still annoys Coverity Scan. 2016-02-19 22:31:35 +01:00
iceman1001 0516439959 ADD: Added @marshmellow42 's new ST (sequence terminator detection) 2016-02-19 22:30:19 +01:00
iceman1001 25606bd724 FIX: For ld (linker) there is no "-=", so lets try re-assign ldlibs instead 2016-02-18 23:01:12 +01:00
iceman1001 28d47dc9b4 CHG: textual change in README.md
FIX: Mac OSX ld (linker) warning for -L/usr/local/lib,  testing to remove it for mac builds.
2016-02-18 21:08:47 +01:00
iceman1001 75cf8623d6 FIX: Undo one of my fixes.. *sigh* need to be more specific when / where to call free. 2016-02-18 20:48:24 +01:00
iceman1001 c0bab227ad CHG: Updated the README.md to be clearer. 2016-02-18 20:40:04 +01:00
iceman1001 eb5206bd20 FIX: resource leak, forgot a free 2016-02-18 20:39:41 +01:00
iceman1001 1abd86f17a CHG: CHange the definition of MAX_GRAPH_TRACE_LEN to match eachother.
REM:  removed a include header to graph.h in ui.h.
2016-02-18 20:19:33 +01:00
iceman1001 dfc5ee8893 FIX: Removed a double const 2016-02-18 20:08:55 +01:00
iceman1001 45293f1096 FIX: the #define M_PI is now optional. Moved a bunch of header invocations into the ui.h 2016-02-18 20:08:34 +01:00
iceman1001 02ac2ed464 FIX: 256 is too big for uint8_t 2016-02-18 20:07:50 +01:00
iceman1001 0608673a3f CHG: testing my travis-ci configuration 2016-02-18 19:04:15 +01:00
iceman1001 805cd07e25 CHG: this makefile should compile on Ubuntu 1404 without problems. The QT4-5 detection is inside MINQW detection part. 2016-02-18 18:55:44 +01:00
iceman1001 fd9552568d CHG: First step to make my makefile better for other dev.env's These changes makes it look more like PM3 master version. The extra libs are added when MINGW is detected. 2016-02-18 18:43:20 +01:00
iceman1001 07f970aad7 chg: ego credits....one of these days I'll remove 'em 2016-02-18 17:48:17 +01:00
iceman1001 6cf8fcb002 FIX: corrected one of my own bugs which made the calccrc8 not accept the input hexstring. 2016-02-18 17:46:11 +01:00
iceman1001 838c15a643 ADD: added some time debug statements to be able to measure execution time.
CHG: change the auth_ex method to send usb package faster,
REM: removed some bucketsort changes.
2016-02-17 17:30:37 +01:00
iceman1001 aacb96d7ed FIX: Coverity scan fixes, hard to keep track of stringlengths while reading and copying in C. 2016-02-17 10:46:08 +01:00
iceman1001 82885445b3 FIX: cuid order... 2016-02-16 23:51:52 +01:00