proxmark3-svn
4 years agoRedesign of lf hid card format handler as discussed with @marshmellow42
grauerfuchs [Mon, 27 Aug 2018 18:03:46 +0000 (14:03 -0400)]
Redesign of lf hid card format handler as discussed with @marshmellow42

The new handler accepts multiple formats of the same length.
Because of this, the existing pack/unpack commands are unsupported
and have been removed and replaced with 'lf hid encode' and 'lf hid decode'.
The decode command will test a packed Prox ID against all programmed
formats and return results for all matching formats.
The encode command takes the parameter of format name instead of
bit length (as per the old pack command). Additionally, an 'lf hid write'
command has been added as a single-command combination of encode and clone.

To support easier addition of new formats, a library for handling card
fields has been added. This will allow direct access to the card bits,
to linear fields, and to non-linear (jumping) fields in a single line
of code without having to resort to managing bit positions or masks
on the underlying data. A number of new formats have been added as working
examples of the new support functions.

4 years agoMerge pull request #9 from Proxmark/master
grauerfuchs [Wed, 22 Aug 2018 22:57:48 +0000 (18:57 -0400)]
Merge pull request #9 from Proxmark/master

Pulling in most recent changes in official code tree

4 years agoMerge pull request #649 from grauerfuchs/master
marshmellow42 [Wed, 22 Aug 2018 15:21:50 +0000 (11:21 -0400)]
Merge pull request #649 from grauerfuchs/master

client: lf hid - parity completed, native long-tag support in pack/unpack/clone

4 years agoAdd Smartcard functions (RDV4.0) (#646)
marshmellow42 [Tue, 21 Aug 2018 03:08:49 +0000 (23:08 -0400)]
Add Smartcard functions (RDV4.0) (#646)

* allow common makefile options-defines

* remove non-existing file references

* Uncomment lcd option (still) not enabled by default

use Makefile_Enabled_Options.common
to enable lcd if desired.

* Add Smartcard Functions

* add smartcard to menu + make get atr work

sc is now functioning as far as my limited knowledge takes me

* sc cleanup - add init to all sc commands...

because cmds won't work until the first init happens.  (multiple inits
don't appear to affect it negatively)

* default options to exclude Smartcard

for main repo

* update changelog

4 years agoLegic: fixed write (#655)
AntiCat [Tue, 21 Aug 2018 03:08:06 +0000 (05:08 +0200)]
Legic: fixed write (#655)

Due to an oversight the bytes to be written were fetched
from the wrong location. This is fixed now.

4 years agoLegic: rewrite reader to use xcorrelation and precise timing (#654)
AntiCat [Mon, 20 Aug 2018 20:29:34 +0000 (22:29 +0200)]
Legic: rewrite reader to use xcorrelation and precise timing (#654)

* Legic: rewrite reader to use xcorrelation and precise timing
 - Even tough Legic tags transmit just AM, receiving using
   xcorrelation results in a significantly better signal
   quality.
 - Switching from bit bang to a hardware based ssc frees
   up CPU time for other tasks e.g. prng and demodulation
 - Having all times based on a fixed ts, results in perfect
   rwd-tag synchronization without magic +/- calculations.
* hi_read_tx: remove jerry-riged hysteresis based receiver
- This feature got obsolete by a x-correlation based receiver.
* Legic: adjusted sampling to new ssp clock speed
- Sampling is 4 times faster and pipeline daly reduced to 1/4.
 The new code samples each bit earyler to account for the
 shorter pipeline. That introduced bit errors by leeking the
 next bit into the current one.
* Legic: average 8 samples for better noise rejection.
* Update CHANGELOG.md

4 years ago Adding native support for HID long-format 649/head
grauerfuchs [Sun, 19 Aug 2018 15:14:52 +0000 (11:14 -0400)]
Adding native support for HID long-format
    Removal of "l" flag for long writes; not needed anymore.
    Added HID Corporate 1000 48-bit format to known formats list
    Simulation not yet updated; need to modify ARM commands to support it
    Completed parity support on all included HID formats

4 years agoISO15693 device side improvements (#652)
pwpiwi [Wed, 15 Aug 2018 12:03:20 +0000 (14:03 +0200)]
ISO15693 device side improvements (#652)

* ISO15693 device side improvements
* increase accuracy by doubling the sample frequency (hi_read_rx_xcorr.v)
* adjust armsrc/iso15693.c and client/cmdhf15.c accordingly
* use more accurate approximation for sqrt(ci^2 + cq^2)
* improve EOF detection (was often mistaken for Logic0, resulting in "error, uneven octet! (extra bits!)")
* hi_read_r_xcorr.v: avoid overflows during accumulation and truncation
* explicitely cast unsigned ADC samples to signed

4 years agosome cards need to have Le=0x00, some need to not have... (#651)
Oleg Moiseenko [Tue, 14 Aug 2018 08:15:51 +0000 (11:15 +0300)]
some cards need to have Le=0x00, some need to not have... (#651)

4 years agofix: 32bit tick timer based on TC0 and TC1 (#653)
AntiCat [Tue, 14 Aug 2018 07:24:02 +0000 (09:24 +0200)]
fix: 32bit tick timer based on TC0 and TC1 (#653)

TC1 counts the number of TC0 overflows (carry bits).
In random conditions TC1 would return or stay at zero,
instead of counting up. This due to the behavior of the
reset signal.

SAM7S Series Datasheet, 33.5.6 Trigger:
Regardless of the trigger used, it will be taken into account
at the following active edge of the selected clock. This means
that the counter value can be read differently from zero just
after a trigger, especially when a low frequency signal is
selected as the clock.

The new code first prepares TC1 and asserts TC1 trigger and
then prepares TC0 and asserts TC0 trigger. The TC0 start-up
will reset TC1.

4 years agoBootrom version fix + .gitignore (#645)
Fl0-0 [Tue, 7 Aug 2018 07:23:11 +0000 (09:23 +0200)]
Bootrom version fix + .gitignore (#645)

* Fix bootrom Makefile

* Add armsrc/fpga_version_info.c to .gitignore

4 years agofix option comments to be more clear
marshmellow42 [Mon, 6 Aug 2018 11:39:39 +0000 (07:39 -0400)]
fix option comments to be more clear

4 years agoSeparate WITH_LF and WITH_LF_StandAlone
marshmellow42 [Mon, 6 Aug 2018 11:27:37 +0000 (07:27 -0400)]
Separate WITH_LF and WITH_LF_StandAlone

4 years agomod hw version: (#631)
pwpiwi [Sun, 5 Aug 2018 16:15:03 +0000 (18:15 +0200)]
mod hw version: (#631)

* create fpga version info at compile time (by additional functionality in fpgacompress)
* remove hw version caching (prepare USB reconnect)
* fix calculation of available compressed bytes in fpga_loader.c

4 years agoallow common makefile options-defines (#635)
marshmellow42 [Sun, 5 Aug 2018 16:13:44 +0000 (12:13 -0400)]
allow common makefile options-defines (#635)

4 years agoMerge pull request #638 from grauerfuchs/master
marshmellow42 [Sat, 4 Aug 2018 11:43:27 +0000 (07:43 -0400)]
Merge pull request #638 from grauerfuchs/master

fix truncation issue on "lf t55 config d"

4 years agofix truncation issue on "lf t55 config" modulation 638/head
grauerfuchs [Sat, 4 Aug 2018 10:26:36 +0000 (06:26 -0400)]
fix truncation issue on "lf t55 config" modulation

Fix for issue #637

4 years agoAdds `lf hid pack` and `lf hid unpack` offline commands. (#614)
Michael Farrell [Mon, 30 Jul 2018 17:33:06 +0000 (03:33 +1000)]
Adds `lf hid pack` and `lf hid unpack` offline commands. (#614)

* These are used to pack and unpack the bit length, facility code and card number from "short" HID Prox IDs.
* This also simplifies some repeated code that is used to parse hex digits in lfhid, and adds basic client-side validation to the `lf hid clone` and `lf hid sim` commands, for when an ID that is too long is entered.
* Implements parity checks/calculation for 26-bit H10301 cards.
* Adds links to useful resources for HID Prox cards.
* Adds an explicit warning about the lack of parities on non-26-bit cards.
* Changes all the examples to use 26-bit IDs that have a parity bit set.

4 years agosave 2.3K flash-memory by avoiding a single floating point operation (#630)
pwpiwi [Thu, 26 Jul 2018 15:18:10 +0000 (17:18 +0200)]
save 2.3K flash-memory by avoiding a single floating point operation (#630)

4 years agoFix Gcc 8 warnings (#632)
Fl0-0 [Thu, 26 Jul 2018 15:17:11 +0000 (17:17 +0200)]
Fix Gcc 8 warnings (#632)

4 years agofix: array index out of range in mfkeys.log (thanks to @TomHarkness)
pwpiwi [Thu, 19 Jul 2018 16:01:18 +0000 (18:01 +0200)]
fix: array index out of range in mfkeys.log (thanks to @TomHarkness)

4 years agoAllow disabling unlink() with -DNO_UNLINK. (#625)
Michael Farrell [Mon, 9 Jul 2018 07:49:03 +0000 (15:49 +0800)]
Allow disabling unlink() with -DNO_UNLINK. (#625)

4 years agoIgnore DS_Store (#620)
stuiterveer [Wed, 20 Jun 2018 04:34:00 +0000 (06:34 +0200)]
Ignore DS_Store (#620)

Prevent further commits containing DS_Store files

4 years agoCode cleanup (#616)
pwpiwi [Wed, 13 Jun 2018 06:13:20 +0000 (08:13 +0200)]
Code cleanup (#616)

* coverity fixes (including a real bug in cmdhftopaz.c)
* Typo fix
* replace TRUE/FALSE by stdbool true/false

4 years agoFixes a double-free issue in CloseProxmark: (#617)
Michael Farrell [Mon, 4 Jun 2018 11:54:41 +0000 (21:54 +1000)]
Fixes a double-free issue in CloseProxmark: (#617)

- CloseProxmark now clears global state.

- CloseProxmark now checks for a non-null serial_port before calling uart_close, to avoid unintentional double-free'ing serial_port.

- main now calls CloseProxmark once.

4 years agoUSB comms: part 4 towards @micolous PR #463
pwpiwi [Sun, 3 Jun 2018 12:25:20 +0000 (14:25 +0200)]
USB comms: part 4 towards @micolous PR #463

* make uart_communication(), storeCommand() and getCommand() static in comms.c
* move receiver thread creation and respective mutexes to comms.c
* add mutex and signal for tx buffer
* use comms.c for flasher as well
* remove comm functions from client/proxmark3.h
* this completes isolating all USB communication related functions in comms.c
* don't assume a port to be defined by a name. Change parameter in OpenProxmark() to void*
* comms.c: set sp and serial_port_name to NULL when offline

4 years agoDelete .DS_Store (#613)
Fl0-0 [Tue, 29 May 2018 16:05:32 +0000 (18:05 +0200)]
Delete .DS_Store (#613)

Mac hidden file accidentally merged in PR #593.

4 years agoAdded mifarePlus.lua script for communication with Mifare Plus. (#593)
Dominic Celiano [Mon, 28 May 2018 19:32:48 +0000 (20:32 +0100)]
Added mifarePlus.lua script for communication with Mifare Plus. (#593)

Personalize MifarePlus EV1 cards

4 years agofix gui (plot) bugs (#604)
marshmellow42 [Tue, 15 May 2018 06:19:49 +0000 (02:19 -0400)]
fix gui (plot) bugs (#604)

G keypress event would cause a crash if no data
Q keypress didn't work.

Thanks to @iceman1001 for identifying and providing the fixes.

4 years agofix HitagS simulation erors (issue #605) (#606)
pwpiwi [Fri, 11 May 2018 03:24:02 +0000 (05:24 +0200)]
fix HitagS simulation erors (issue #605) (#606)

4 years agorework of GetFromBigBuf() (#597)
pwpiwi [Tue, 8 May 2018 05:54:49 +0000 (07:54 +0200)]
rework of GetFromBigBuf() (#597)

* this should fix crashes reported in issue #497
* don't allow receiver thread to write directly into arbitrary main thread's memory
* instead use cmdBuffer[] for CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K as well
* add timeout and warning options to GetFromBigBuf(), same as in WaitForResponseTimeoutW()
* move GetFromBigBuf() from data.c to comms.c
* remove data.c and data.h

4 years agoMerge pull request #600 from marshmellow42/master
Iceman [Sat, 5 May 2018 04:59:39 +0000 (06:59 +0200)]
Merge pull request #600 from marshmellow42/master

more graceful exit to lf search if no signal found

4 years agomore graceful exit to lf search if no signal found 600/head
marshmellow42 [Sat, 5 May 2018 03:54:01 +0000 (23:54 -0400)]
more graceful exit to lf search if no signal found

4 years agoUpdate CHANGELOG.md
pwpiwi [Fri, 4 May 2018 06:25:08 +0000 (08:25 +0200)]
Update CHANGELOG.md

4 years agoChange driver file proxmark3.inf to support both old and new Vendor/Product IDs
pwpiwi [Fri, 4 May 2018 06:19:37 +0000 (08:19 +0200)]
Change driver file proxmark3.inf to support both old and new Vendor/Product IDs

(see http://www.proxmark.org/forum/viewtopic.php?pid=32072#p32072)

4 years agofix bug if -DWITH_ISO14443a_StandAlone is removed from makefile (#598)
marshmellow42 [Thu, 3 May 2018 17:36:51 +0000 (13:36 -0400)]
fix bug if -DWITH_ISO14443a_StandAlone is removed from makefile (#598)

4 years agoUSB comms: part 3 towards @micolous PR#463
pwpiwi [Sat, 28 Apr 2018 08:09:16 +0000 (10:09 +0200)]
USB comms: part 3 towards @micolous PR#463

* change variable 'sp' from global to static
* move code to open and close USB port to comms.c (OpenProxmark() and CloseProxmark())
* change scope of USBCommandReceived() to static
* (flasher still unchanged)

4 years agoUSB comms: part 2 towards @micolous PR#463 (#595)
pwpiwi [Tue, 24 Apr 2018 06:27:29 +0000 (08:27 +0200)]
USB comms: part 2 towards @micolous PR#463 (#595)

* change variable 'offline' from global to static
* change variable 'FlushAfterWrite' from global to static
* remove unused global variable 'current_command'
* WaitForResponseTimeoutW(CMD_UNKNOWN, ...) waits for any command
* #include "printf.h" or <stdio.h> in iso15693tools.c to define sprintf()
* and some minor changes/comments

4 years agoFix for swapped parity when using lf_bulk_program.lua (#591)
Tom Harkness [Tue, 3 Apr 2018 06:14:51 +0000 (16:14 +1000)]
Fix for swapped parity when using lf_bulk_program.lua (#591)

4 years agoUSB comm: prepare for @micolous change (PR#463) (#587)
pwpiwi [Sat, 31 Mar 2018 07:52:43 +0000 (09:52 +0200)]
USB comm: prepare for @micolous change (PR#463) (#587)

* move communication related code from proxmark3.c and cmdmain.c to new file comms.c
* replace byte_t by uint8_t in uart_posix.c and uart_win32.c
* move OpenProxmark() and CloseProxmark() from flasher.c to flash.c
* move print_lock mutex including initializer to ui.c
* minor changes in printing help texts
* no changes in comms functionality yet

4 years agoadd: save and load options in hf list (#577)
pwpiwi [Fri, 30 Mar 2018 15:55:41 +0000 (17:55 +0200)]
add: save and load options in hf list (#577)

4 years agoFix empty key list bug in mfkeys.lua (#579)
AnthraX1 [Fri, 30 Mar 2018 15:54:45 +0000 (02:54 +1100)]
Fix empty key list bug in mfkeys.lua (#579)

When input key list size is greater than 85, table.concat() returns empty because the last parameter is the end offset not the increment value.

4 years agoMerge pull request #589 from Proxmark/revert-588-indala-preamble-fix
pwpiwi [Wed, 28 Mar 2018 12:58:46 +0000 (14:58 +0200)]
Merge pull request #589 from Proxmark/revert-588-indala-preamble-fix

Revert "Fix offset Indala UID display"

4 years agoRevert "Fix offset Indala UID display" 589/head
marshmellow42 [Wed, 28 Mar 2018 12:50:08 +0000 (08:50 -0400)]
Revert "Fix offset Indala UID display"

4 years agoMerge pull request #588 from megabug/indala-preamble-fix
Iceman [Wed, 28 Mar 2018 11:10:33 +0000 (13:10 +0200)]
Merge pull request #588 from megabug/indala-preamble-fix

Fix offset Indala UID display

4 years agoFix offset Indala UID display 588/head
Matthew Daley [Wed, 28 Mar 2018 10:37:07 +0000 (23:37 +1300)]
Fix offset Indala UID display

Commit 1dae9811f22b7f2cea340cee6945cb349046129d extended the amount of
fixed bits searched for when decoding 64-bit Indala. These additional
bits come from the end of one UID, and therefore need to be skipped past
when actually retrieving the UID.

4 years agomfu read block: retry block with bad CRC (#584)
James Chambers [Fri, 23 Mar 2018 19:26:30 +0000 (15:26 -0400)]
mfu read block: retry block with bad CRC (#584)

* mfu read block: retry block with bad CRC, command timeout, or unknown response.

4 years agoOSX: Multiple libedit/readline fixes (#585)
Michael Farrell [Wed, 21 Mar 2018 15:05:03 +0000 (02:05 +1100)]
OSX: Multiple libedit/readline fixes (#585)

* OSX: Multiple libedit/readline fixes.

4 years agoMerge pull request #580 from Proxmark/iceman1001-patch-1
W8M2Hg9lLmWqXSGC [Mon, 26 Feb 2018 06:25:21 +0000 (17:25 +1100)]
Merge pull request #580 from Proxmark/iceman1001-patch-1

Update README.md

4 years agoUpdate README.md 580/head
Iceman [Mon, 26 Feb 2018 06:16:08 +0000 (07:16 +0100)]
Update README.md

Added hackerwarehouse

4 years agoMerge pull request #578 from Tom5ive/master
Iceman [Thu, 22 Feb 2018 13:08:33 +0000 (14:08 +0100)]
Merge pull request #578 from Tom5ive/master

fix for swapped parity bits

4 years agofix for swapped parity bits 578/head
Tom Harkness [Thu, 22 Feb 2018 12:38:53 +0000 (23:38 +1100)]
fix for swapped parity bits

4 years agoMerge pull request #565 from Proxcloud/usb_android
Iceman [Sat, 17 Feb 2018 11:39:19 +0000 (12:39 +0100)]
Merge pull request #565 from Proxcloud/usb_android

Allow non-root access on Android devices

4 years agoMerge pull request #572 from merlokk/hflistms_fix
Iceman [Wed, 14 Feb 2018 22:36:41 +0000 (23:36 +0100)]
Merge pull request #572 from merlokk/hflistms_fix

`hf list mf` fix key length in printf

4 years agosmall fix 572/head
merlokk [Wed, 14 Feb 2018 22:20:00 +0000 (00:20 +0200)]
small fix

4 years agosmall fix `hf list mf`
merlokk [Wed, 14 Feb 2018 22:18:02 +0000 (00:18 +0200)]
small fix `hf list mf`

4 years agoMerge pull request #571 from merlokk/hf_list_mf
Iceman [Wed, 14 Feb 2018 21:06:29 +0000 (22:06 +0100)]
Merge pull request #571 from merlokk/hf_list_mf

added command `hf list mf`

4 years agoMerge pull request #570 from marshmellow42/master
Iceman [Wed, 14 Feb 2018 21:06:00 +0000 (22:06 +0100)]
Merge pull request #570 from marshmellow42/master

improve lf cmdread

4 years agoupdate changelog 570/head
marshmellow42 [Wed, 14 Feb 2018 20:41:39 +0000 (15:41 -0500)]
update changelog

+fix a comment typo
+ move clear bigbuf after fpgadownloadandgo...

4 years agosmall fix and added line to changelog. 571/head
merlokk [Wed, 14 Feb 2018 10:36:22 +0000 (12:36 +0200)]
small fix and added line to changelog.

4 years agomove annotate* functions
merlokk [Tue, 13 Feb 2018 15:14:51 +0000 (17:14 +0200)]
move annotate* functions

4 years agoadded hardnested sketch. final cleaning.
merlokk [Tue, 13 Feb 2018 15:07:49 +0000 (17:07 +0200)]
added hardnested sketch. final cleaning.

4 years agonested works
merlokk [Tue, 13 Feb 2018 13:12:41 +0000 (15:12 +0200)]
nested works

4 years agocode cleaning
merlokk [Tue, 13 Feb 2018 10:35:33 +0000 (12:35 +0200)]
code cleaning

4 years agocheck parity works
merlokk [Tue, 13 Feb 2018 10:33:15 +0000 (12:33 +0200)]
check parity works

4 years agoadded parity check of deciphered command
merlokk [Mon, 12 Feb 2018 16:53:12 +0000 (18:53 +0200)]
added parity check of deciphered command

4 years agosmall fix
Oleg Moiseenko [Sat, 10 Feb 2018 22:45:12 +0000 (00:45 +0200)]
small fix

4 years agoadded cipherstream recovery
Oleg Moiseenko [Sat, 10 Feb 2018 22:44:24 +0000 (00:44 +0200)]
added cipherstream recovery

4 years agomove ks to authdata
Oleg Moiseenko [Sat, 10 Feb 2018 22:40:24 +0000 (00:40 +0200)]
move ks to authdata

4 years agoreconfigure lf cmdread ...
marshmellow42 [Sat, 10 Feb 2018 22:30:32 +0000 (17:30 -0500)]
reconfigure lf cmdread ...

to use lf config settings instead of it's own settings.  (now allows
full options of lf config...)

also it will now run `data samples` when the command completes making it
not necessary to run manually...

note: adjusted client wait message as it was confusing.

4 years agoadded some cone in nested. not tested.
Oleg Moiseenko [Sat, 10 Feb 2018 22:28:23 +0000 (00:28 +0200)]
added some cone in nested. not tested.

4 years agoadded destroy
Oleg Moiseenko [Sat, 10 Feb 2018 21:28:15 +0000 (23:28 +0200)]
added destroy

4 years agomock of key checking
Oleg Moiseenko [Sat, 10 Feb 2018 21:25:28 +0000 (23:25 +0200)]
mock of key checking

4 years agoadded mock of key check
Oleg Moiseenko [Sat, 10 Feb 2018 21:06:01 +0000 (23:06 +0200)]
added mock of key check

4 years agohf list mf 1st auth works
Oleg Moiseenko [Sat, 10 Feb 2018 20:33:32 +0000 (22:33 +0200)]
hf list mf 1st auth works

4 years agosmall fix util.c
Oleg Moiseenko [Sat, 10 Feb 2018 20:10:38 +0000 (22:10 +0200)]
small fix util.c

4 years agofix appearance
Oleg Moiseenko [Sat, 10 Feb 2018 18:41:56 +0000 (20:41 +0200)]
fix appearance

4 years agocorrect 1st key calculation
Oleg Moiseenko [Sat, 10 Feb 2018 18:28:30 +0000 (20:28 +0200)]
correct 1st key calculation

4 years agoadded get parity
Oleg Moiseenko [Sat, 10 Feb 2018 17:19:56 +0000 (19:19 +0200)]
added get parity

4 years agosmall fix
Oleg Moiseenko [Sat, 10 Feb 2018 17:06:34 +0000 (19:06 +0200)]
small fix

4 years agocombine all auth data to single struct and fill it
Oleg Moiseenko [Sat, 10 Feb 2018 17:03:29 +0000 (19:03 +0200)]
combine all auth data to single struct and fill it

4 years agoadd bitbang option to lf cmdread
marshmellow42 [Fri, 9 Feb 2018 20:49:55 +0000 (15:49 -0500)]
add bitbang option to lf cmdread

by setting delay to 0 we can use cmd binary to bitbang the antenna.

note that the timing isn't perfect (especially on the off periods) but
is fairly close. worst i've seen it off is 8us on a large off period.
but i don't have the best test equipment...

4 years agoadded check reader/tag
merlokk [Fri, 9 Feb 2018 17:40:39 +0000 (19:40 +0200)]
added check reader/tag

4 years agoadded some get auth data
merlokk [Fri, 9 Feb 2018 17:32:17 +0000 (19:32 +0200)]
added some get auth data

4 years agomoved some functions and added auth sequence annotation
merlokk [Fri, 9 Feb 2018 16:23:04 +0000 (18:23 +0200)]
moved some functions and added auth sequence annotation

4 years agoadded cmdhflist file
merlokk [Fri, 9 Feb 2018 15:37:31 +0000 (17:37 +0200)]
added cmdhflist file

4 years agoadd nested auth decoding to `hf mf sniff`
Oleg Moiseenko [Fri, 9 Feb 2018 14:50:55 +0000 (16:50 +0200)]
add nested auth decoding to `hf mf sniff`

4 years agoMerge pull request #569 from pwpiwi/fix_WDT_crash
Iceman [Thu, 8 Feb 2018 18:02:16 +0000 (19:02 +0100)]
Merge pull request #569 from pwpiwi/fix_WDT_crash

fix hf mf mifare (WDT crash)

4 years agomake product string even length 565/head
Proxcloud [Thu, 8 Feb 2018 14:32:08 +0000 (22:32 +0800)]
make product string even length

4 years agohf mf mifare: 569/head
pwpiwi [Thu, 8 Feb 2018 13:50:03 +0000 (14:50 +0100)]
hf mf mifare:
* prevent WDT crash on repeated tries
* comes with faster execution as side effect
* use uint8_t instead of byte_t
* populate ar instead of (correctly) assuming that it is zero
* remove the "will take a few seconds longer" message because it is no longer true

4 years agochange product desc to 9 and add extra null byte
Proxcloud [Thu, 8 Feb 2018 12:40:57 +0000 (20:40 +0800)]
change product desc to 9 and add extra null byte

4 years agoremove debug change
Proxcloud [Thu, 8 Feb 2018 11:43:03 +0000 (19:43 +0800)]
remove debug change

4 years agoremove old Manufacturer description code. fix Product description length
Proxcloud [Thu, 8 Feb 2018 11:37:55 +0000 (19:37 +0800)]
remove old Manufacturer description code. fix Product description length

4 years agoRemove BOS descriptor, leave just manufacturer descriptor for Android
Proxcloud [Thu, 8 Feb 2018 09:47:40 +0000 (17:47 +0800)]
Remove BOS descriptor, leave just manufacturer descriptor for Android

4 years agofix: hf mf mifare - populate keylist (#568)
Iceman [Thu, 8 Feb 2018 03:15:42 +0000 (04:15 +0100)]
fix: hf mf mifare -   populate keylist (#568)

This will solve the long running of the attack, since all candidate keys will be tested.

4 years agoAdd BOS USB descriptor. This allows non-root access on Android devices
Proxcloud [Tue, 6 Feb 2018 17:07:48 +0000 (01:07 +0800)]
Add BOS USB descriptor. This allows non-root access on Android devices

4 years agoMerge pull request #560 from pwpiwi/fix_hfmfmif
Iceman [Tue, 6 Feb 2018 07:15:03 +0000 (08:15 +0100)]
Merge pull request #560 from pwpiwi/fix_hfmfmif

fix: prevent hf mf mifare from always running twice

4 years agofix: prevent hf mf mifare from always running twice 560/head
pwpiwi [Sat, 3 Feb 2018 17:24:32 +0000 (18:24 +0100)]
fix: prevent hf mf mifare from always running twice
(issue #510)

4 years agoMerge pull request #558 from pwpiwi/fix_alignment
Iceman [Thu, 1 Feb 2018 08:49:43 +0000 (09:49 +0100)]
Merge pull request #558 from pwpiwi/fix_alignment

add force_align_arg_pointer attribute to all callback functions

4 years agohf mf nested: use bitwise or instead. (#556)
Arnie97 [Thu, 1 Feb 2018 07:09:14 +0000 (15:09 +0800)]
hf mf nested: use bitwise or instead. (#556)

Impressum, Datenschutz