Commit graph

61 commits

Author SHA1 Message Date
mwalker33 f109915ebd T55xx Save and Restore 2019-10-11 20:29:20 +11:00
mwalker33 f0ae164fdf Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 into RfidResearchGroup-master 2019-10-10 23:13:20 +11:00
mwalker33 e435d8a6ff t55x7 save and restore eml/bin 2019-10-10 21:27:48 +11:00
Philippe Teuwen d3efe5342c misspelled fct 2019-10-09 22:32:38 +02:00
Philippe Teuwen e7a632292d fix t55 comments 2019-10-08 16:13:36 +02:00
mwalker33 275c628da5 lf t55xx detect and help
Added lf t55xx detect to try without password first and try password if still not detected.
Added password status to detected output.

Updated lf t55xx help to show current default downlink mode.

typo fixed in win10 color help
2019-10-08 21:46:36 +11:00
iceman1001 cfe8810407 add 'lf paradox clone' - take raw hex and clone to t55x7 2019-09-26 20:31:02 +02:00
iceman1001 21a7de38b8 style 2019-09-19 10:54:34 +02:00
iceman1001 412f016b94 chg: 'lf t55xx config' - can set config based on a block0, offset and Q5
lf t55xx config c 000880E0 o 10     - sets a T55x7 w offset 10
lf t55xx config c 000880E0 o 6 Q5   - sets a Q5/T5555 w offset 6
2019-09-16 12:36:04 +02:00
iceman1001 3726df62a4 chg: enhanced verify t55xx write.
We set config to the cloned block0,  whats left is to identify the offset,  which we try to do.
2019-09-16 11:11:54 +02:00
iceman1001 a933eb4f9e adjusting beahavior for auto detection 2019-09-15 20:30:05 +02:00
iceman1001 da197e1999 CHG: 'lf t55xx wipe c' - now accepts user provided configuration block to configure a wiped tag with.
ADD: 'lf t55xx protect' -  Sets password and enables password protection in configuration block.   It tries to validate its writes aswell.

Samples:
lf t55xx protect n 11223344            - set pwd to 11223344
lf t55xx protect n 01020304 p 11223344 - change a password protected tag from 11223344 to 01020304

To remove the password protection, you need to remember the password :)
lf t55xx wipe p 11223344               - wipes whole tag, removes password protection bits.
2019-09-14 18:27:58 +02:00
mwalker33 c3756f1903 T55xx DLMode Update 2019-09-14 14:13:55 +10:00
iceman1001 af02ee871d chg: 'lf t55xx info c' - renamed from "d" to "c", takes a block0 and print info.
chg: 'lf t55xx config c'  - now takes a block0 and use as configuration.

usage:
lf t55xx config c 000880E8
lf t55xx info c 000880E8
2019-09-13 20:50:00 +02:00
Philippe Teuwen d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
mwalker33 4e0e69ed63 Added T55 downlink mode support 2019-07-23 09:50:28 +10:00
Philippe Teuwen 7d48ad19f9 Rework Cmd exposed API, use more static and fix [-Wmissing-prototypes], ongoing... 2019-04-12 01:00:54 +02:00
Philippe Teuwen 35e97ba96a static 2019-04-11 00:10:21 +02:00
Philippe Teuwen 7259a27f05 Change printT55xxBlock API 2019-04-06 22:04:02 +02:00
Philippe Teuwen 98d9408746 make style 2019-04-06 00:52:55 +02:00
iceman1001 38162917dc Add: new lua scripting support for some t55xx commands.
core.t55xx_detect()    - same as 'lf t55xx detect'
  core.t55xx_readblock() - read t55xx block, don't forget to run detect before.  Returns actual blockdata.
2019-04-03 19:48:00 +02:00
Philippe Teuwen d448549524 t55xx info: tag out of spec FSKa modulations in standard mode 2019-03-31 21:30:30 +02:00
Philippe Teuwen e88fa75fd0 Revamped t55xx info: support offline block0, Q5, fix extended, add warns etc 2019-03-31 19:06:36 +02:00
Philippe Teuwen 720c410278 Fix lf t55xx trace: read the correct block 2019-03-31 01:13:59 +01:00
iceman1001 54e8eafa49 fix: 'lf t55xx chk'
fix: 'lf t55xx brute'
fix: 'lf t55xx recoverpwd'
 - now works like they should again.
2019-03-26 20:21:10 +01:00
iceman1001 9133a9164f chg: 'lf t55xx chk' - refactored to use loadDictionary 2019-03-26 16:18:40 +01:00
iceman1001 52be3f4fe5 chg: 'lf indala clone' - differnt input parms. '-L' gives a long UID.
chg: 'lf indala demod' - tries to descramble parts,  and detection is changed.  Still issues with PSK2..
2019-03-26 09:09:43 +01:00
iceman1001 4288e9db73 style 2019-03-18 22:04:53 +01:00
Philippe Teuwen 0373696662 make style 2019-03-10 00:00:59 +01:00
Philippe Teuwen 0d9223a547 client: fix mix of spaces & tabs 2019-03-09 23:35:06 +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
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 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 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
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 409c7b1029 chg: added some nedap blocks 2018-04-20 16:09:40 +02:00
iceman1001 7b01acd6cc fix: ref to <ctype.h> for isxdigit() 2017-12-04 21:18:08 +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 2b58d4fd34 updated commments 2017-08-15 23:09:39 +02:00
iceman1001 f28da2da6e monster merge...
all those changes marshmellow did..  and more...
2017-07-30 09:17:48 +02:00
iceman1001 3d53f941aa some time_t issues 2017-07-28 01:35:49 +02:00
iceman1001 310d0da9a4 fixes.. to bool 2017-07-11 18:31:10 +02:00
iceman1001 388d8618c7 CHG: moved definition and includes into header file 2017-01-18 20:19:42 +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 0516439959 ADD: Added @marshmellow42 's new ST (sequence terminator detection) 2016-02-19 22:30:19 +01:00
iceman1001 5a6e19e614 ADD: Started to add a Presco LF clone functionality. Can calc Wiegand from printed number. 2016-02-13 20:53:06 +01:00
iceman1001 9260bcca56 ADD: added a valid pyramid T55x7 configblock. 2016-02-10 13:07:04 +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