iceman1001
cc81b5bed9
fix: tolower
2019-03-09 12:31:29 +01:00
iceman1001
d998602690
textual
2019-03-09 11:31:53 +01:00
iceman1001
59eb83bf90
fix: use defines instead.
2019-03-09 11:10:54 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
Philippe Teuwen
edc19f202a
Convert the few files with still Windows carriage returns
2019-03-09 08:49:41 +01:00
Iceman
17435d366f
Merge pull request #122 from RfidResearchGroup/computeSignalProperties
...
Replace isNoise by computeSignalProperties and removeSignalOffset
2019-03-09 08:35:37 +01:00
Philippe Teuwen
1cba26decf
remove redundant removeSignalOffset
2019-03-08 20:30:54 +01:00
Philippe Teuwen
ae719c3b05
Fix CmdT55xxBruteForce infinite loop
2019-03-08 20:10:16 +01:00
Philippe Teuwen
4160e32b0a
Replace isNoise by computeSignalProperties and removeSignalOffset
2019-03-08 19:06:55 +01:00
iceman1001
3d84e4dc03
fix: dead code
2019-02-24 23:43:35 +01:00
iceman1001
7bbb2cdb9d
chg: 'lf t55xx chk' - logic params.
...
chg: colors
2019-02-24 15:07:41 +01:00
iceman1001
38262389fc
chg: colors
2019-02-24 14:58:22 +01:00
iceman1001
cea5b5214d
chg: colors
2019-02-24 14:51:21 +01:00
iceman1001
46cbbe8d05
textual
2019-01-12 18:53:11 +01:00
iceman1001
fcfbeb6ac3
textual
2019-01-12 18:33:40 +01:00
iceman1001
f215ebef80
Refactored 'lf t55xx brute', split it up into two commands.
...
- lf t55xx brute (tries bruteforcing a range of pwds
- lf t55xx chk (uses dictionary file or RDV4 flashmem)
FIX: adjust lf sim (@marshmellow42) see 7008cf9c15
"attempt to speed up the loops waiting for carrier signal to go high or low
by only checking for a halt (button press or usbpol) every 256th loop
iteration. some users were experiencing modulating reactions to be too slow.
ADD: 'lf t55xx chk'
It uses @marshmellows42 idea behind commit (6178b085a0
)
With calculating a baseline (read block0 32times and average the signal-ish) and sampling only 1024 signal data. The algo then proceeds to calc the average and keep track of the candidate which is given the most difference in signal data average value. I do some squaring and shifting for this.
The candidate is then send back to client to be tested properly with trymodulation like before.
This seems to work good on t55xx card which has a ASK configuration.
WORK-IN-PROGRESS
2019-01-11 14:46:27 +01:00
Chris
64df44d186
cleaning
2018-11-14 15:14:31 +01:00
Chris
eb4310395e
CHG: 'LF T55XX DETECT' - swapped some demod order. From FSK-PSK-ASK, to FSK-ASK-PSK since PSK is the leasted used modulation
2018-11-12 22:19:54 +01:00
Chris
dc67b5d7c9
chg: revert fpga_major mode in LF.
...
chg: 'lf t55xx deviceconfig' - persistence to flashmem is now option with param P
2018-09-23 05:29:55 +02:00
Chris
151ad3b31f
CHG: missing declaration
2018-09-16 22:40:09 +02:00
Chris
a965dff52c
CHG: 'lf t55xx deviceconfig' - better helptext. Command takes timing values in FIELD CLOCK, which is converted to (US) on device.
2018-09-16 20:54:08 +02:00
Chris
dcd0300913
chg: helptext
2018-09-11 22:14:41 +02:00
Chris
ba2543b627
ADD: 'lf t55xx deviceconfig' - command that allows for setting t55xx timings via the client. If run on a RDV40, it also saves the config to flashmemory. This gives you option to have custom timings for your custom antenna in order for your RDV40 to work optimal against a t55xx tag and with your custom antenna. (@iceman)
2018-09-11 18:35:07 +02:00
Chris
0a648d482d
chg: remove warning unused variable
2018-09-09 23:16:47 +02:00
Chris
d774e4c84f
Chg: step2 in the signed vis unsigned graphbuffer signal processing.
...
It will break some tone-based demods like ti etc.
2018-09-09 12:34:43 +02:00
Chris
24eaac8681
CHG: the thread comms refactoring from offical pm3 repo
...
chg: FPC com speed limited to 115200 when compiled with FPC
chg: USART remake (@drandreas)
2018-09-06 21:43:20 +02:00
Chris
4200ed5dc9
fix: justnoice
2018-09-05 19:16:49 +02:00
grauerfuchs
910c86a30f
fixed: "lf t55 config d" won't accept modulations with length > 4 chars (FSK2a, etc.)
2018-08-04 20:49:20 -04:00
iceman1001
1d8d611737
chg: unified download
2018-05-02 19:54:06 +02:00
iceman1001
207fa2b574
add: potential fix for OSX uses, by @piwi
...
chg: adapting fix to support iceman forks extended commands.
2018-05-02 08:11:29 +02:00
iceman1001
fec833de03
chg: 'lf t55 resetread' - getfrombigbuf has now timeout
...
chg: 'lf t55 ' - (aquiredata) getfrombigbuf has now timeout
2018-04-27 16:45:02 +02:00
iceman1001
24482211ad
chg: the dot progress is not logged anymore. Force fflush afterwards.
2018-03-05 20:07:29 +01:00
Brian Pow
618b868daf
tweak message
2018-02-21 20:43:52 +08:00
Brian Pow
8e15b3fa22
use PrintAndLogEx() instead of PrintAndLog()
2018-02-21 20:43:51 +08:00
iceman1001
2f3dbbcaa3
rename: ul_switch_off_field -> DropField (inside cmdhf14a.c)
...
chg: Fix memory bounds error (@wsmoses)
c3511781a1
2017-11-11 23:23:01 +01:00
iceman1001
30ceea4aea
chg: cleaning up some function calls.
...
fix: check to see clock is bigger than zero.
2017-11-09 19:15:56 +01:00
iceman1001
dd0b11c0ef
fix: ..its not noise ...
...
fix: only assume Graphbuffer values 128 -> -127 ...
2017-11-06 15:43:15 +01:00
iceman1001
881c7115a7
CHG: centralized the LF signal properties LOW/HIGH/MEAN/AMPLITUDE/ISNOISE into one struct.
...
CHG: 'data raw ar' - didn't take in consideration the command line parameter CLOCK.
2017-11-06 15:06:42 +01:00
iceman1001
3b1c01cd13
CHG: 'lf search' - hitag/cotag wrong return values
...
CHG: is_justnoise - safety checks
CHG: 'hitag reader' - debug printing
2017-10-30 22:20:08 +01:00
iceman1001
6f948be842
CHG: some average / mean functions to enhance justNoise functions.
...
FIX: 'lf t55xx' - verifying that collected signal is not just noise..
2017-10-30 16:44:04 +01:00
iceman1001
c5616dfe76
minor corrections..
2017-08-29 15:47:26 +02:00
iceman1001
e598aec890
lf t55xx commands works again. Need to find a better sprinf_bin_break function
2017-07-31 15:12:38 +02:00
iceman1001
f28da2da6e
monster merge...
...
all those changes marshmellow did.. and more...
2017-07-30 09:17:48 +02:00
iceman1001
46a0ec7130
CHG: removed old TRUE/FALSE defines... some left still..
2017-07-27 09:28:43 +02:00
iceman1001
e8015142cd
fix: TRUE/FALSE -> bools
...
fix: 'iclass' filepath 255, to use FILE_PATH_SIZE
fix: unified params test
2017-07-14 20:54:11 +02:00
iceman1001
ec16d16d05
fixes: removal of TRUE/FALSE defines into bools
2017-07-14 16:20:34 +02:00
iceman1001
de97a6f1b0
fix: removed on warning of unused variable.
2017-07-11 19:38:36 +02:00
iceman1001
310d0da9a4
fixes.. to bool
2017-07-11 18:31:10 +02:00
iceman1001
5e9d59fe2a
syntax sugar
2017-02-19 01:34:45 +01:00
iceman1001
42c235e7ef
ADD: T55XX_WRITE_TIMEOUT to make sure all WaitForResponseTimeout for t55xx behaves the same.
...
CHG: removed some "DONE!" device prints..
CHG: unified some "clone" commands output.
2017-01-18 22:54:27 +01:00
iceman1001
6df022667d
CHG: spelling mistakes. (
2017-01-18 20:19:08 +01:00
iceman1001
bf35008962
CHG: 'lf t55xx recoverpw" - added the possibility to cancel the command when pressing 'enter' key.
2017-01-18 11:27:17 +01:00
iceman1001
f56b1fae2d
FIX: sprint_bin_break didn't print the last digit in array.
2017-01-17 22:58:16 +01:00
iceman1001
3e5b5bb2da
ADD: 'lf t55xx detect' - added a search for known config blocks, if found it will select it. Usually when indala (psk) configured tags generates serveral possible configblocks. The found config block is set, not need to manually set it anymore. :)
2017-01-17 22:07:40 +01:00
iceman1001
9682ed9aaa
CHG: increased the t55xx writeblock timeout
2017-01-16 22:39:33 +01:00
iceman1001
81b7e89434
CHG: lowered the number of bytes collected for T55xxReadBlock. Was 12000 -> 7679
...
CHG: added some documentation about what arguments does.
CHG: 'data tune' - added flush after printf.
2017-01-16 21:06:51 +01:00
iceman1001
cf94c75b7e
CHG: 'lf t55xx' the no-time limit waiting for the device to ACK when transfering data from device to client, is changed to 8 seconds.
...
CHG: 'lf t55xx dump' - added ASCII printing of dumped data blocks.
2017-01-16 14:46:42 +01:00
iceman1001
8cdf15c2b3
CHG: 'lf awid brute' - extra check if device gotten offline
...
CHG: 'lf t55x7 brute' - extra check if device gotten offline
CHG: 'lf nedap' - Nedap is supposed to be Diphase.
2016-12-19 14:55:58 +01:00
iceman1001
2dcf60f3df
CHG: "hf mf hardnested" - less printing
...
CHG: some filehandles = NULL.
2016-10-21 16:06:53 +02:00
iceman1001
f885043422
FIX: "hf 14a read" / "hf mf *" / "hf mfdes info" and failure when calling these commands serveral times in row.
...
For long transactions the sspclock compare with >1 instead of >=1 .. Now the timer resets properly.
CHG: use some #define constants for iso-commands.
2016-09-23 21:28:07 +02:00
iceman1001
f2abf6732b
help text adjustments
2016-08-14 17:11:42 +02:00
iceman1001
ab74872d40
ADD: added a sanity check in T55x7 commands info/trace/detect against useing the commands when device is in offline but user didn't use '1' in arguments.
2016-08-14 17:04:40 +02:00
Alexis Green
415e9f00d5
Adding a 'recoverpw' command for T55xx to try to recover corrupt password written by a handheld cloner by fiddling with bits in the expected password.
2016-07-31 12:33:03 -07: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
0516439959
ADD: Added @marshmellow42 's new ST (sequence terminator detection)
2016-02-19 22:30:19 +01:00
iceman1001
4c36581b96
CHG: clearCommandBuffer(); before calling cmdparser.
2016-02-14 15:24:11 +01:00
iceman1001
0697080e26
FIX: CoverityScan complains on getchar(), not reading the returning value
2016-01-19 16:58:07 +01:00
iceman1001
e1ad67eaf2
FIX: Coverity Scan fixes, a bunch of them.
2016-01-16 22:58:44 +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
b891758968
FIX: Coverity, resource leaks 'nd more.. in "lf t55xx bruteforce" nasty piece of code...
2016-01-13 12:50:18 +01:00
iceman1001
dd0434a6ed
FIX: @marshmellow42 's cleanup of includes.
2016-01-08 15:29:06 +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
58962d4c3e
added @broken_bad's imp of showing T555/Q5 trace data. (with my modifications ;) )
2016-01-03 17:16:06 +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
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
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
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
iceman1001
fff6d2a3ba
FIX: added a break if the device starts acting strange when aquirering data from tag.
2015-12-01 20:44:12 +01:00
iceman1001
060fdaf998
FIXES: the custom keys testloop now increases the read pwd :)
2015-12-01 16:44:53 +01:00
iceman1001
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.
2015-12-01 13:07:01 +01:00
iceman1001
1063a0a872
textual fix.
2015-11-27 17:00:48 +01:00
iceman1001
91079e36b5
FIX: the t55xx bruteforce method got some fixes, in commandname, uint32_t instead of int, and output texts.
2015-11-27 16:59:35 +01:00
iceman1001
c188b1b9b2
ADD: @go_tus simple bruteforce for t55xx, refactored a bit.
...
ADD: @pwpiwi 's implementation of Hardnested
2015-11-27 16:24:00 +01:00
iceman1001
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.
2015-11-22 17:33:41 +01:00
iceman1001
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.
2015-11-21 18:48:58 +01:00
iceman1001
6426f6ba86
@marshmellows last LF changes.
...
- wipe a t55x7 tag
- stable demods
-
2015-11-20 16:56:43 +01:00
iceman1001
94422fa23f
ADD: @marshmellow42 's fixex and resetread t55x7
2015-11-02 20:46:17 +01:00
iceman1001
1d0ccbe04b
ADD: added the "hf snoop" patch original from @Enio, rearranged by @Etmatrix.
...
ADD: added the "t55x7" refactoring by @marshmellow42
2015-10-27 21:47:21 +01:00
iceman1001
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.
...
CHG: Minor code changes on T55X7 code. Default password is back to 'FF FF FF FF',
REM: removed @marshmellow42 's wakeup option in "lf t55x7 read",
--- BASICALLY:
if a T55X7 tag has following bits set:
AOR - send wakeup command with pwd, to enable LF interacting with it.
PWD - send read/write/trace/info command with pwd. No need to send wakeup.
2015-10-21 09:12:33 +02:00
iceman1001
9276e859a6
ADD: @marshmellows42 's fixes for "lf cmdread" and CHANGELOG.md
...
ADD: Added the "lf t55x7 wakeup" command. It will send a pwd, and leave the antenna on.
Process like:
1. lf t55x7 wakeup p 11223344
2. lf search
---
It is still not finished, will work together with the "lf t55x7 commands" in next step when I figure out the process from the datasheets.
2015-10-20 19:00:02 +02:00
iceman1001
a739812e89
FIX: thanks @tony, for pointing out a "end" statement inside tnp3sim.lua
...
ADD: @marshmello42 fixs for t55x7
2015-10-16 23:16:46 +02:00
iceman1001
952a812c00
FIX: a suggested fix for #136 where the "lf t55x7 read" command when called with a password. The call will now try loading the config block, decode it and see if PWD is set.
...
If PWD Bit is set, the call will be allowed to execute.
If PWD Bit is NOT set, the call will print a message and excute the call but without sending the password.
If config block is not being able to read or decode, the call with print a warning message and exit the call.
2015-10-15 19:17:20 +02:00
iceman1001
ac2df3460a
ADD: @marshmellows fixes for t55x7 reading signal.
...
ADD: @marshmellows "diphase" definition for T55x7.
MOV: extracted the aquisition from the t55x7 methods and put them inside lfsampling.c
FIX: pcf7931 write, there is 16bytes in a block.. not 4 as I thought before.
FIX: t55x7 lowered the WRITE_0 to 16. Even bigger gap.
2015-10-15 10:23:15 +02:00
iceman1001
2285d9dd94
FIX: I did a clean up of the "LF PCF7931" code. The write command is not quite done.
...
FIX: Added some more "clearCommandBuffer" calls before sending..
2015-10-12 21:30:54 +02:00
iceman1001
e98572a1e2
I just merged @marshmellow's branch "iclass" and that was a lot of new functionality. *great work*
...
Things like the ICLASS, tryDecryptWord,
--
My other stuff like default keys, some new Mifare EV1 commands 0x40, 0x43 for the logging annotation, start of the T55x7 configblock helper functionality (ripped from Adam Lauries RFIdler code)
Changes to the PCF7931 functions written, which has a lousy input check..
2015-10-07 23:00:46 +02:00
iceman1001
0de8e3874d
A lot of changes...
...
.. ntag simulation stuff from @marshmellows branch "ntag/sim"
.. hf mf mifare fixes from @pwpivi.
.. hw status command
.. speedtest function from @pwpivi
.. Viking Functionalities, (not a proper DEMOD, but a start)
.. GetCountUS better precision from @pwpivi
.. bin2hex, hex2bin from @holiman
...
starting with getting the T55x7 CONFIGURATION_BLOCK for different clone situations. Ripped from Adam Lauries RFidler, nothing working or finished..
...
Started working with the T55x7 read command with password actually performs a write block... See Issue #136 https://github.com/Proxmark/proxmark3/issues/136 Not solved yet.
...
Started add SHA256.. not working yet..
2015-10-04 18:01:33 +02:00
iceman1001
05beaa8dd8
MINOR CHG: help text change for the "lf t55xx config" command. change NZ into NRZ
2015-08-12 21:39:29 +02:00
iceman1001
db25599d7f
ADD: @holiman's clearCommandBuffer in cmdlft55xx.c
...
ADD: @VERTCraig's AVID commands.
TEST: testing some changes to iso14443 demod.
2015-07-18 20:43:14 +02:00
iceman1001
ad6219fc91
ADD: @marshmellow42 's fixed version of the ISO11784 FDX-B
...
ADD: crc16_ccitt_rev (reverse version of crc16_ccitt 0x0000)
2015-06-04 10:33:55 +02:00
iceman1001
2d2f7d1948
ADD: @marshmellow42 's changes / fixes.
2015-05-31 21:47:33 +02:00
marshmellow42
411105e036
added nexwatch demod & iceman lua
...
added nexwatch demod (also added to lf search)
added iceman's lua script adjustments
2015-04-08 14:19:03 -04:00
marshmellow42
322f7eb111
fix to lf t5 detect/read cmds
...
i think this functions fairly well...
still some issues with demod positioning for various reasons.
ASK/Biph/FSK work pretty well
the PSK Demod still needs a little attention to help it better demod
various carriers...
2015-04-08 11:18:29 -04:00
marshmellow42
fef74fdce4
lf ask consolidation
...
backend:
askman and askraw demods merged into askdemod (args adjusted
accordingly)
re-arranged lfdemod.h in alphabetical order and by category
front end:
data detectclock a (ask) now also reports the selected best start
position for demod
data manrawdecode takes an invert arg now
2015-04-08 01:07:39 -04:00
marshmellow42
cc15a1187b
lf cleanup - fixes
...
more lf em em4x50read fixes
adjust heavy clipping ask clock detection
clean up t55xx minor items
2015-04-06 23:17:30 -04:00
marshmellow42
224ce36eb1
lf t5xx - icemans update
2015-04-05 16:37:41 -04:00
marshmellow42
2767fc0291
lf cleaning
...
remove unneeded code/functions
fix lfdemod askmandemod bug with maxErr=0
silence output for getting samples in lf search
2015-04-05 00:58:57 -04:00
Martin Holst Swende
9795e535c9
Compiler correctly identified a buffer overflow, fixed that and made the code use snprintf instead of unsafe sprintf
2015-04-01 09:24:29 +02:00
marshmellow42
a4669d6ef3
small fix in t5 trace data
2015-03-31 11:30:16 -04:00
marshmellow42
1fbf895616
lf updates
...
applies icemans full ata55x7 read/write settings
adds checksum to ioprox (thanks to iceman)
adds silent mode for lf read and getSamples
fix lf em em410xwatch and lf em410xspoof
improve data rawdemod ar - for biphase demods
improve detectclock a for strong antennas
2015-03-23 16:29:50 -04:00
marshmellow42
13d77ef964
lf t5 read plus lf demod adjustments
...
lf t5xx commands updated from ICEMAN
lf em410x commands updated
lf search bug fix for 2 args
test scripts from iceman
lf demod:
better ask clock detection with Strong fully clipped waves
better ask raw demod with strong fully clipped waves
fsk demod add back in skipped bits during demod
nrz demod add back in skipped bits during demod
2015-03-22 15:28:48 -04:00
iceman1001
3fe4ff4f03
CHG: generic code clean up. Removal of commented code.
...
CHG: USB_CMD_DATA_SIZE is now used as maxsize for transfer of data between client and pm3device
CHG: suggested a fix for the underscore problem in ioclass\fileutils.c
ADD: tnp3xx support
ADD: nxp tag idents.
ADD: identifiction of chinese backdoor commands to hf 14a reader.
2015-01-05 15:51:27 +01:00
roel@libnfc.org
54a942b05d
merged all patches into CDC repository
2013-02-28 17:04:23 +00:00