]> git.zerfleddert.de Git - proxmark3-svn/log
proxmark3-svn
6 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)

6 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)

6 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

6 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

6 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.

6 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

6 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.

6 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

6 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.

6 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)

6 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

6 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

6 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

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

6 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)

6 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)

6 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)

6 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

6 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)

6 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

6 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)

6 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.

6 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"

6 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"

6 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

6 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.

6 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.

6 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.

6 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

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

Added hackerwarehouse

6 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

6 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

6 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

6 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

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

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

6 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`

6 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

6 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...

6 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.

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

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

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

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

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

6 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

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

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

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

6 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.

6 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.

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

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

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

6 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

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

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

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

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

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

6 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

6 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...

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

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

6 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

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

6 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`

6 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)

6 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

6 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

6 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

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

6 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

6 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

6 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.

6 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

6 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

6 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)

6 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

6 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)

6 years agoadd force_align_arg_pointer attribute to all callback functions 558/head
pwpiwi [Wed, 31 Jan 2018 17:31:51 +0000 (18:31 +0100)]
add force_align_arg_pointer attribute to all callback functions
* inspired by issue #404 and respective fix PR #538
* possible fix for mysterious crashes, e.g. issue #497 and http://www.proxmark.org/forum/viewtopic.php?id=5388

6 years agoupdate license conditions in armsrc/optimized_cipher.[ch] (#554)
pwpiwi [Wed, 31 Jan 2018 07:14:56 +0000 (08:14 +0100)]
update license conditions in armsrc/optimized_cipher.[ch] (#554)

6 years agoMerge pull request #555 from Arnie97/master
Iceman [Fri, 26 Jan 2018 18:31:23 +0000 (19:31 +0100)]
Merge pull request #555 from Arnie97/master

hf mf nested: transfer keys to the correct block in one sector mode.

6 years agohf mf nested: transfer keys to the correct block in one sector mode. 555/head
Arnie97 [Fri, 26 Jan 2018 17:55:38 +0000 (01:55 +0800)]
hf mf nested: transfer keys to the correct block in one sector mode.

6 years agohf mf eset: reuse mfEmlSetMem().
Arnie97 [Fri, 26 Jan 2018 17:09:56 +0000 (01:09 +0800)]
hf mf eset: reuse mfEmlSetMem().

6 years agoMerge pull request #553 from Arnie97/master
Iceman [Thu, 25 Jan 2018 08:50:47 +0000 (09:50 +0100)]
Merge pull request #553 from Arnie97/master

Minor fixes

6 years agomfkeys.lua: Remove trailing whitespaces. 553/head
Arnie97 [Thu, 25 Jan 2018 06:48:26 +0000 (14:48 +0800)]
mfkeys.lua: Remove trailing whitespaces.

6 years agomfkeys.lua: Align empty cells in the table.
Arnie97 [Thu, 25 Jan 2018 06:48:12 +0000 (14:48 +0800)]
mfkeys.lua: Align empty cells in the table.

6 years agomfkeys.lua: Remove the user input helpers (now in lualibs/utils.lua)
Arnie97 [Thu, 25 Jan 2018 06:10:41 +0000 (14:10 +0800)]
mfkeys.lua: Remove the user input helpers (now in lualibs/utils.lua)

6 years agohf mf ecfill: Add the missing line break.
Arnie97 [Thu, 25 Jan 2018 05:49:40 +0000 (13:49 +0800)]
hf mf ecfill: Add the missing line break.

6 years agoFix typo in lua scripts: 1443a -> 14443a.
Arnie97 [Thu, 25 Jan 2018 05:43:01 +0000 (13:43 +0800)]
Fix typo in lua scripts: 1443a -> 14443a.

6 years agoMerge pull request #551 from pwpiwi/remove_reveng
Iceman [Wed, 24 Jan 2018 09:47:59 +0000 (10:47 +0100)]
Merge pull request #551 from pwpiwi/remove_reveng

Remove reveng

6 years agoRemove reveng 551/head
pwpiwi [Mon, 8 Jan 2018 06:48:13 +0000 (07:48 +0100)]
Remove reveng
(its license was not compatible with PM3 license, see issue #527)

6 years agoMerge pull request #550 from pwpiwi/fix_warnings
Iceman [Tue, 23 Jan 2018 16:43:07 +0000 (17:43 +0100)]
Merge pull request #550 from pwpiwi/fix_warnings

fix clang compiler warnings

6 years agofix clang compiler warnings 550/head
pwpiwi [Tue, 23 Jan 2018 07:27:58 +0000 (08:27 +0100)]
fix clang compiler warnings
identified in http://www.proxmark.org/forum/viewtopic.php?id=5388

6 years agoMerge pull request #549 from rkblackfire/master
Iceman [Mon, 22 Jan 2018 18:33:41 +0000 (19:33 +0100)]
Merge pull request #549 from rkblackfire/master

Debug&Improvement of HW TUNE

6 years agoRevert "dbg: Watchdog resets while 'hw tune lf'" 549/head
rkblackfire [Mon, 22 Jan 2018 18:25:22 +0000 (19:25 +0100)]
Revert "dbg: Watchdog resets while 'hw tune lf'"

This reverts commit fc175230f431e7e33c7628c6b31064d4f7d1e1ad.

6 years agochg: print only valid tuning data
rkblackfire [Mon, 22 Jan 2018 17:59:48 +0000 (18:59 +0100)]
chg: print only valid tuning data

only print the ranges which were tuned, thus not showing an error for
'lf antenna' when called 'hw tune hf' and vice versa

6 years agodbg: Watchdog resets while 'hw tune lf'
rkblackfire [Mon, 22 Jan 2018 17:54:29 +0000 (18:54 +0100)]
dbg: Watchdog resets while 'hw tune lf'

loop does not finish, u_int is always '>=0'

6 years agoMerge pull request #548 from merlokk/mfsniff_fix
Iceman [Wed, 17 Jan 2018 22:16:08 +0000 (23:16 +0100)]
Merge pull request #548 from merlokk/mfsniff_fix

`hf mf sniff` not a small fix

Impressum, Datenschutz