Commit graph

819 commits

Author SHA1 Message Date
marshmellow42 776f7e6160 put back viking clone bug fix
forgot i added this on a different computer recently - forgot to merge
it in...
2016-02-14 17:00:20 -05:00
marshmellow42 38d618baa9 remove redundant llx prix64 defines
remove unused commented out #includes
coverity indicates compressed_fpga_stream.opaque needs to be initialized
to Z_NULL
fgetc returns int
define llu
2016-02-14 14:43:19 -05:00
marshmellow42 d23411ef61 resource leak and malloc(x) cannot be negative
thanks iceman1001
2016-02-14 13:41:25 -05:00
marshmellow42 735136e6a3 lf t55 bruteforce lots of resource leaks...
plus strlen(Cmd) can never be less than 0
iceman1001 fixes...
2016-02-14 13:37:05 -05:00
marshmellow42 8ea5706047 additional memory leaks, overflow and unchecked ...
return values fixed

thanks to iceman1001
2016-02-14 13:24:03 -05:00
marshmellow42 568377946c FIX: Coverity, Out-of-bounds. In the loop, variable i, can...
...be as much as 1051, overflowing the databuf with size 1024.
2016-02-14 12:36:55 -05:00
marshmellow42 165e0775b1 fix possible null if no file found
also initialize filename variable so not null

found by iceman1001
2016-02-14 12:33:07 -05:00
marshmellow42 b0c68b72d3 fix keyNbr entry error checking
coverity scan by iceman1001 found.
2016-02-14 12:26:03 -05:00
marshmellow42 eb5b63b4a6 FIX, Coverity, Argument can't be negative. CID# 212322, ftell(f) can …
…be negative. Not allowed in malloc...
from iceman1001
2016-02-14 12:13:22 -05:00
marshmellow42 7a616c0d70 FIX, Coverity, Argument can't be negative. CID# 212322, ftell(f) can …
…be negative. Not allowed in malloc...
from @iceman1001
2016-02-14 12:06:29 -05:00
marshmellow42 3d4982ddbf 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.
from @iceman1001 .
2016-02-14 11:42:34 -05:00
marshmellow42 fd9172d5c2 @iceman1001 s coverity fixes
resource leak in hf mf sniff
possible overflow in hf 14a raw - add check to fix
2016-02-14 11:26:00 -05:00
marshmellow42 33c795d0bd add check to fread call 2016-02-14 11:07:16 -05:00
marshmellow42 0c1cb4aef0 fix lf viking clone mask bug
should be a 32 bit mask not a 16 bit mask
also added client feedback.
2016-02-09 13:40:01 -05:00
marshmellow42 9fc602c835 fix print clock as decimal instead of uint8_t 2016-01-28 00:27:53 -05:00
marshmellow42 c4c3af7c16 some @iceman1001 s coverty scan fixes
great work!
2016-01-08 18:26:56 -05:00
marshmellow42 3975d477e1 comment out unused includes and defines
prep for permanent removal.
2016-01-07 21:54:32 -05:00
marshmellow42 5490c2d6d2 add broken_bad and @iceman1001 s q5 trace and ...
wipe adjustments
2016-01-05 21:21:06 -05:00
marshmellow42 254687260c Merge remote-tracking branch 'upstream/master' 2015-12-21 23:56:55 -05:00
Adam Laurie bc37cfb3eb add support for raw block 3/4 iclass keys 2015-12-19 16:37:32 +00:00
marshmellow42 af5384bc90 additional Q5 lf t55xx fixes 2015-12-14 17:36:08 -05:00
marshmellow42 6ca1477c74 fix occasional strange printed clock value with...
...fskdemod
Fix Q5 tag detection in lf t55xx detect
Fix param_get8 reversed parameters
2015-12-14 16:51:11 -05:00
Martin Holst Swende 2c7928874b Merge pull request #149 from marshmellow42/T55xx_tests
Add lf viking, lf demod/clock detection improvements
2015-12-10 10:44:44 +01:00
marshmellow42 534678c3e9 Fix incorrect memset parameters in lf t55xx wipe
thanks @iceman1001 for the catch

add added a restore graphbuffer after lf t55xx psk demodulation
2015-12-09 22:44:01 -05:00
marshmellow42 7bc6fac3ce fix sprint_bin bug i made :( 2015-12-09 20:40:12 -05:00
marshmellow42 ace26dbdfd Fix printdemodbuffer length tests + add length...
parameter
increase askdemod MaxBits
fix util.c sprint_bin_break and increase buffer size (had memory
overflow possible before)
2015-12-07 21:18:30 -05:00
marshmellow42 51923aca85 minor help text changes 2015-12-04 12:09:26 -05:00
marshmellow42 6e083f0412 include default password dictionary for lf t55xx...
...bruteforce
2015-12-03 16:44:06 -05:00
marshmellow42 506672c48b icemans lf fixes & adjustments + lf t55xx bruteforce
Fix small fskdemod clock bug
2015-12-02 17:27:12 -05:00
marshmellow42 fe876493f8 include cmdlfviking.c in makefile and cmdlf
fix minor typos
2015-11-26 21:05:46 -05:00
marshmellow42 ab5ffe3bef iceman's finished t55xx detect parameter adjustments 2015-11-26 20:30:58 -05:00
marshmellow42 d1cea2a4a0 fix const vs static... 2015-11-22 16:42:13 -05:00
marshmellow42 709665b5d1 lf viking build / lf awid refactor / lfdemod.c debugMode==2
lf viking from other users - just put my spin on it
lf awid refactored code - possible to make it not 26bit specific now
with minor chanages
lfdemod.c now supports extra debug printing if `data setdebug` = 2 when
not on device (on client not arm)
2015-11-22 00:00:32 -05:00
marshmellow42 6fe5c94bda lf demod cleanup nrz clock detect fixes
slight adjustment to lf t55xx sampling code to start at the same spot
more consistently
reduce indala detection false positives
lf t55xx commands heavily tested and seem to be stable and reliable on
most modulations/bitrates (excluding Sequence Terminator configured
cards).
2015-11-18 00:10:11 -05:00
marshmellow42 93507a3375 remove old comment 2015-11-16 18:55:46 -05:00
marshmellow42 db8296025f lf t55xx and some lf demod fixes/adjustments
finally think I like the lf t55xx detect and read cmds.  pretty reliable
now.
2015-11-16 18:49:20 -05:00
Martin Holst Swende 9983a92943 Merge pull request #143 from marshmellow42/master
lfops cleanup, t55xx additions/fixes, PCF7931 input cleanup
2015-11-15 13:22:26 +01:00
marshmellow42 f665067919 add some Q5 functionality - add t55xx wipe cmd
not fully tested yet
2015-11-12 00:27:24 -05:00
marshmellow42 14331320c4 Fix viking demod bug - clean my indala demod code
NOTE lf indalademod is still available as it uses a different technique
to demodulating, which sometimes works better (and sometimes worse).
2015-11-10 11:59:41 -05:00
marshmellow42 415274a7c3 Add Viking demod,
fix compiler warning for int vs uint8_t for em410x sim clock variable
2015-11-09 23:09:26 -05:00
András Veres-Szentkirályi 7cdf6236cb Fixed copypasted hex output to match input
The value `x0` was obviously copypasted but not edited to reflect the real values used in `case` matching.
2015-11-09 21:06:58 +01:00
marshmellow42 daa4fbaeec fix em410xsim help - add clock input to em410xsim 2015-11-07 21:02:30 -05:00
pwpiwi 2487dfeb07 fix: .history was never written 2015-11-06 11:34:43 +01:00
marshmellow42 8949e04584 Merge remote-tracking branch 'upstream/master' 2015-11-03 20:19:46 -05:00
marshmellow42 76346455d2 minor lf updates/cleanup 2015-11-03 20:18:16 -05:00
pwpiwi b2fe0e77c5 Merge branch 'topaz'
Conflicts:
	CHANGELOG.md
	client/cmdhf.c
2015-11-03 21:06:59 +01:00
etmatrix edc9ce00b3 - Little change to description in client
- Added description to CHANGELOG.md
2015-11-03 07:15:56 +01:00
marshmellow42 9f669cb26f minor cleanups 2015-10-31 23:12:42 -04:00
marshmellow42 66837a0302 Add lf t55xx resetread cmd + fix clone cmds
resetread cmd to determine start of streaming bits of ata5577 or
compatible chips...
fixed lf clone bugs introduced while refactoring recently...
2015-10-30 23:23:27 -04:00
pwpiwi d9cc4e1ae2 Merge branch 'master' into topaz. Update Changelog. 2015-10-27 20:57:16 +01:00