mwalker33 [Thu, 27 Jun 2019 06:57:28 +0000 (16:57 +1000)]
Update lfops.c
moved wakeup and reset to call T55xx_SendCMD. Small code improvements
mwalker33 [Wed, 26 Jun 2019 01:34:31 +0000 (11:34 +1000)]
Code improved for less memory
pwpiwi [Tue, 25 Jun 2019 16:37:25 +0000 (18:37 +0200)]
Update CHANGELOG.md
mwalker33 [Tue, 25 Jun 2019 10:52:29 +0000 (20:52 +1000)]
Update CHANGELOG.md
mwalker33 [Tue, 25 Jun 2019 10:46:10 +0000 (20:46 +1000)]
Resolved Conflicts
mwalker33 [Tue, 25 Jun 2019 09:28:06 +0000 (19:28 +1000)]
Update lfops.c
mwalker33 [Tue, 25 Jun 2019 09:01:13 +0000 (19:01 +1000)]
Merge branch 'master' into master
mwalker33 [Tue, 25 Jun 2019 08:56:32 +0000 (18:56 +1000)]
Update lfops.c
pwpiwi [Mon, 24 Jun 2019 06:42:57 +0000 (08:42 +0200)]
Update CHANGELOG.md
mwalker33 [Sun, 23 Jun 2019 12:23:08 +0000 (22:23 +1000)]
Update CHANGELOG.md
Change Log Update
marshmellow42 [Sun, 23 Jun 2019 11:43:56 +0000 (07:43 -0400)]
add lf em 4x05protect plus lf config s option (#833)
* add "samples to skip" for lf config (mainly for lf snoop)
* add lf em 4x05protect command to write protection on em4x05 chips
* fix spacing
* and remove old comment git added back in..
* update changelog
* fix flags - only need 1 bit
mwalker33 [Sat, 22 Jun 2019 05:26:56 +0000 (15:26 +1000)]
T55xx Downlink - Updates
Improved code.
mwalker33 [Tue, 18 Jun 2019 11:17:12 +0000 (21:17 +1000)]
Cleanup Code
Update downlink option from e to r
fixed long leading reference
added downling option to original bruteforce
mwalker33 [Mon, 17 Jun 2019 12:01:25 +0000 (22:01 +1000)]
Update cmdlft55xx.c
Fixed bruteforce filename
mwalker33 [Mon, 17 Jun 2019 11:37:50 +0000 (21:37 +1000)]
Update cmdlft55xx.c
Minor Cleanup
mwalker33 [Sun, 16 Jun 2019 05:35:10 +0000 (15:35 +1000)]
T55xx downlink Modes
Changes :
- Added t55xx downlink protocols (long leading reference, leading 0 and 1 of 4)
- Added function to all read to call differnet downlink functions (to match write)
- Update functions to support using differnet downlink modes.
- Added support for calling downlink modes for lf t55 read, write and detect
- Added new function lf t55 bruteforcedl to support downlink modes as well as try each mode
for each password in password file.
for functions with downlink mode extenstion.
e <mode> - OPTIONAL downlink encoding '0' fixed-bit-length (default),
'1' Long Zero Reference,
'2' Leading Zero,
'3' 1 of 4
pwpiwi [Thu, 6 Jun 2019 05:33:12 +0000 (07:33 +0200)]
upgrading 'hf mfu' (#830)
* chg: write new dump file format by @mceloff
* chg: rename 'hf mfu dump' option 'n' to 'f' to align with other commands and RRG repo
* chg: replace ISO14443A_CMD_READBLOCK by MIFARE_CMD_READBLOCK, same for WRITEBLOCK
* fix: mifare_ultra_readblock() returned 14 bytes instead of 16
* chg: param_gethex_ex() now checks maximum output buffer length
* chg: ul_comp_write() was incomplete and for magic testing only
* fix: 16bit ULC counter had been displayed as 32bit
* chg: add check for 7 Byte UID, drop check for ATQA in type identification GetHF14AMfU_Type()
* fix: send HALT instead of dropping field in order to maintain a defined state
* chg: DropField() when command ends
* chg: check for invalid page ranges in 'hf mfu dump'
* fix: print correct lock bits when page range is used
* fix: do not write (incomplete) dumpfile when page range is used
* add: use UID for filename when no filename is given (RRG repo)
* chg: don't clear trace on each ULC authentication, clear trace at beginning of each command
* fix: don't send (DESFire?) deselect command after authentication
Vladimir Serbinenko [Wed, 29 May 2019 16:57:17 +0000 (18:57 +0200)]
Specify that we need TCP and not UDP connection (#828)
pwpiwi [Tue, 28 May 2019 05:50:58 +0000 (07:50 +0200)]
fix 'lf pcf7931 bruteforce' (bug reported in http://www.proxmark.org/forum/viewtopic.php?id=6490) (#824)
(and whitespace fixes)
pwpiwi [Tue, 28 May 2019 05:48:55 +0000 (07:48 +0200)]
start updating 'hf mfu' commands (#818)
* use PrintAndLogEx()
* fix some printouts
* some #include refactoring
* whitespace
pwpiwi [Mon, 27 May 2019 05:58:09 +0000 (07:58 +0200)]
add: Home (Pos1) and End key bindings in graph GUI (based on @mcd1992 change on RRG repo) (#823)
pwpiwi [Mon, 27 May 2019 05:57:40 +0000 (07:57 +0200)]
fix compiler warning in cmdhflegic.c (and whitespace fixes) (#826)
pwpiwi [Wed, 22 May 2019 17:02:58 +0000 (19:02 +0200)]
Add: new option 'd' in 'hf mf ekeyprn' to create dumpkeys.bin from emulator memory (#822)
(and whitespace fixes)
Iceman [Mon, 22 Apr 2019 16:25:52 +0000 (18:25 +0200)]
Update README.md
marshmellow42 [Fri, 19 Apr 2019 11:31:54 +0000 (07:31 -0400)]
Merge pull request #817 from Fl0-0/Fix_typo_cmdlf
Fix typo lf config usage
Fl0-0 [Fri, 19 Apr 2019 11:14:41 +0000 (13:14 +0200)]
Fix typo lf config usage
pwpiwi [Fri, 19 Apr 2019 08:22:10 +0000 (10:22 +0200)]
fix hf mf sim (#812)
* fix parity encryption (thanks to Eloff, http://www.proxmark.org/forum/viewtopic.php?id=6347)
* add support to simulate Mifare Mini, Mifare 2K and Mifare 4K
* change to standard LED handling (A: PM is working, B: reader is sending, C: tag is responding, D: HF field is on)
* NAK on unknown commands
* allow unencrypted HALT
* don't display messages during simulation (or we will miss next reader command)
* use DMA to receive reader command
* switch earlier from send to listen mode
* move ADC initializer to iso14443_setup
* remove remainders of incomplete Mifare 10Byte UID simulation
* show 'short' bytes (7Bits or 8Bits without parity) in 'hf list mf' and 'hf list 14a'
* whitespace
András Veres-Szentkirályi [Fri, 12 Apr 2019 06:52:18 +0000 (08:52 +0200)]
Added support for Legic tags to `hf search` command (#815)
* hf legic: use CMD_ACK instead of Dbprintf
* hf search: add support for Legic tags
marshmellow42 [Thu, 28 Mar 2019 23:15:44 +0000 (19:15 -0400)]
Merge pull request #808 from MalteHillmann/master
Fixed bugs for FDX-B demod
Malte F. Hillmann [Thu, 28 Mar 2019 21:40:29 +0000 (22:40 +0100)]
Bugfixes for LF FDX
Changed CmdBiphaseDecodeRaw to allow 7 digits
Changed CmdFdxRead to read 39999 samples instead of 10000 to improve reading from small tags
Malte F. Hillmann [Wed, 27 Mar 2019 13:36:39 +0000 (14:36 +0100)]
fixed bug in CmdFdxDemod
Malte F. Hillmann [Wed, 27 Mar 2019 13:34:42 +0000 (14:34 +0100)]
fixed bug in ASKbiphaseDemod()
Malte F. Hillmann [Wed, 27 Mar 2019 13:04:01 +0000 (14:04 +0100)]
fixed bug in CmdBiphaseDecodeRaw()
pwpiwi [Tue, 26 Mar 2019 20:50:41 +0000 (21:50 +0100)]
fix FpgaSetupSsc() (#807)
* ouch! Be aware that same major modes are used in LF and HF!
pwpiwi [Sun, 24 Mar 2019 17:11:41 +0000 (18:11 +0100)]
FPGA changes (#803)
* merge hf_rx_xcorr and hf_tx modes into one module with common ssp_clk and ssp_frame
* get rid of most of the warnings when compiling the HF verilog sources
* refactoring the constants in Verilog sources
pwpiwi [Sun, 24 Mar 2019 17:04:42 +0000 (18:04 +0100)]
iso14443b modifications (#804)
* LED handling
* improve 'hf plot' support
Oleg Moiseenko [Tue, 19 Mar 2019 06:51:10 +0000 (08:51 +0200)]
Ndef and MAD (#801)
* move mifare stuff to separate folder
* add mad and ndef
Samson Gama [Fri, 15 Mar 2019 06:41:07 +0000 (23:41 -0700)]
Added some LED utility functions (#802)
pwpiwi [Wed, 13 Mar 2019 09:53:40 +0000 (10:53 +0100)]
fix hitag functions (issue #798) (#800)
* ... and whitespace formating
pwpiwi [Tue, 12 Mar 2019 06:49:23 +0000 (07:49 +0100)]
fix LED signalling in hf 15 snoop and hf 14a snoop (#797)
* LED_A (yellow): PM3 is active (snooping)
* LED_B (green): reader is sending a command
* LED_C (red): tag is sending a reply
pwpiwi [Tue, 12 Mar 2019 06:46:49 +0000 (07:46 +0100)]
add 14a apdu send framing (based on RRG repo PR86 by Merlokk) (#795)
pwpiwi [Sun, 3 Mar 2019 10:59:38 +0000 (11:59 +0100)]
chip manufacturer and type identification: (#796)
* add more manufacturers
* refactor chipID decoding
* move to separate file taginfo.[ch]
pwpiwi [Tue, 26 Feb 2019 18:48:25 +0000 (19:48 +0100)]
fix ATR length (#790)
* TS, T0, T[A-D][1-4], max. 15 HB, TCK = 34 Bytes
Oleg Moiseenko [Thu, 21 Feb 2019 21:02:22 +0000 (23:02 +0200)]
Emv scan via contact interface (#789)
* share getATR from smartcard.h/c
* remove duplicates in tlv.h and add get_uint_8
* check ATS/ATR length
pwpiwi [Wed, 20 Feb 2019 18:18:12 +0000 (19:18 +0100)]
Add raw HF signal plotting (#786)
* Add raw HF signal plotting
* new fpga module hi_get_trace.v - store A/D converter output to circular buffer on FPGA
* new command 'hf plot' - pull data from FPGA and display it in Graph Window
Oleg Moiseenko [Wed, 20 Feb 2019 17:35:39 +0000 (19:35 +0200)]
fix rare bug in tlv.c (#788)
Fl0-0 [Sun, 17 Feb 2019 13:43:40 +0000 (14:43 +0100)]
Fix for USB uart slowness since PR #720 (#787)
pwpiwi [Sat, 16 Feb 2019 16:51:04 +0000 (17:51 +0100)]
add tracing functions (#784)
* add trace buffer for PCSC smartcard readers
* new option 'p' in 'hf list' to select PCSC trace buffer
* 'sc list' now supports PCSC smartcard readers
* add 'hf list 14-4' for ISO 14443-4 protocol
pwpiwi [Tue, 12 Feb 2019 08:06:30 +0000 (09:06 +0100)]
fix emv roca hash error (#781)
* fix ICC Public Key Hash calculation
* add -a option to 'emv roca'
* replace print() by PrintAndLogEx() in emv_pki.c
Oleg Moiseenko [Sat, 9 Feb 2019 21:38:09 +0000 (23:38 +0200)]
fix endless loop (#782)
pwpiwi [Sat, 9 Feb 2019 14:15:17 +0000 (15:15 +0100)]
emv/sc fixes and modifications: (#780)
* print selected Smartcard Reader in PrintChannel()
* implement 'sc sel <readername>'. Readername can include wildcards * and ?
* fixing EMV APDU exchange (again)
* use EMVExchangeEx() instead of EMVExchange() in fidocore.c
pwpiwi [Wed, 6 Feb 2019 06:51:49 +0000 (07:51 +0100)]
Update list of Certificate Authorities Public Keys (source: https://www.eftlab.co.uk/index.php/site-map/knowledge-base/243-ca-public-keys) (#777)
* allow tabs in client/emv/capk.txt
* fix issue with printing RID and CSN of certificates
pwpiwi [Wed, 6 Feb 2019 06:50:57 +0000 (07:50 +0100)]
EVM fixes and additions (RRG repository PRs 78-82 by @merlokk) (#776)
Oleg Moiseenko [Mon, 4 Feb 2019 18:53:04 +0000 (20:53 +0200)]
added SoloKey certificate (#778)
Oleg Moiseenko [Mon, 4 Feb 2019 07:03:44 +0000 (09:03 +0200)]
fido fix (#775)
pwpiwi [Fri, 1 Feb 2019 20:13:00 +0000 (21:13 +0100)]
Update list of known EMV AIDs. Source: https://www.eftlab.co.uk/index.php/site-map/knowledge-base/211-emv-aid-rid-pix (#770)
pwpiwi [Fri, 1 Feb 2019 20:12:20 +0000 (21:12 +0100)]
Adding support for standard USB Smartcard Readers (#769)
* add PCSC reader support to 'sc raw' and all 'emv' commands
* move all APDU -> TPDU mapping to ExchangeAPDUSC()
* print "PSE" instead of "PPSE" when using contact interface
* fix some #defines in protocols.h
* DropField only when using contactless
* some refactoring
AntiCat [Wed, 30 Jan 2019 21:20:57 +0000 (22:20 +0100)]
Legic TagSim: increased reader timeout (#771)
Bug reports from @raphCode and @uhei over at the
RfidResearchGroup have shown that the tag to rwd
timeout is too short.
pwpiwi [Mon, 28 Jan 2019 20:54:34 +0000 (21:54 +0100)]
Add support for standard USB Smartcard Readers (#765)
* add PCSC interface (pcsc.c and pcsc.h)
* new command 'sc select' to choose an USB Smartcard Reader
* updated CI/.travis.yml accordingly
* remove TCK CRC check in i2c.c It is done in PrintATR() anyway
* Fix TCK CRC check in PrintATR()
* Add PCSC reader support to 'sc info'
pwpiwi [Mon, 21 Jan 2019 18:26:54 +0000 (19:26 +0100)]
Add ROCA vulnerability test (RRG repository PR 76 by @merlokk) (#762)
Fl0-0 [Thu, 17 Jan 2019 08:13:38 +0000 (09:13 +0100)]
restore #755 reverted after #757 (#761)
pwpiwi [Thu, 17 Jan 2019 06:50:01 +0000 (07:50 +0100)]
Add smartcard protocol T=0 (RRG repository PRs 71,72,74,75 by @merlokk) (#757)
pwpiwi [Wed, 16 Jan 2019 08:54:19 +0000 (09:54 +0100)]
Add hf list 15 (#754)
and refactoring: move all of hf list code to cmdhflist.c
Fl0-0 [Wed, 16 Jan 2019 08:52:20 +0000 (09:52 +0100)]
Increase threshold to 160, fix for issue 756 (#760)
Michael Farrell [Wed, 16 Jan 2019 08:51:55 +0000 (21:51 +1300)]
Allow skipping or trying different keys in hf mf dump (#759)
pwpiwi [Wed, 16 Jan 2019 08:40:35 +0000 (09:40 +0100)]
adjust CI testscript for new emv commands (#758)
Fl0-0 [Sun, 13 Jan 2019 15:53:09 +0000 (16:53 +0100)]
Fix CmdSmartUpgrade GCC8 strncpy specified bound depends on the length of the source argument warning (#755)
pwpiwi [Sat, 12 Jan 2019 12:28:26 +0000 (13:28 +0100)]
Fix 15 snoop (#752)
* fixing hf 15: implement hf 15 snoop
* rename hf 15 record to hf 15 snoop
* speedup sampling / decoding:
* new FPGA mode FPGA_HF_READER_RX_XCORR_AMPLITUDE implements amplitude(ci, cq) on FPGA
* inlining the decoders in iso15693.c
* inlining memcpy/memset in LogTrace()
* giving up the moving correlator for SOF in Handle15693SamplesFromTag
* decode more of EOF in Handle15693SamplesFromTag()
* some refactoring
pwpiwi [Sat, 12 Jan 2019 12:26:53 +0000 (13:26 +0100)]
RDV4.0 Smartcard Slot Firmware Upgrade (#751)
* RDV4.0 Smartcard Slot Firmware Upgrade
* new firmware in client/sc_upgrade_firmware directory
* improved sc upgrade:
* check SHA-512 of firmware file
* search and find firmware file in predefined directory
* more sanity checks
* fixed offline indicators of sc commands
pwpiwi [Sat, 12 Jan 2019 12:24:22 +0000 (13:24 +0100)]
Added ATR decoding (RfidResearchGroup PRs 67/68 by @merlokk) (#749)
... and fixed merge errors in cmdsmartcard.c
Fl0-0 [Mon, 7 Jan 2019 07:55:04 +0000 (08:55 +0100)]
Fix CMD_PCF7931_BRUTEFORCE duplicate case value (#750)
Samuele [Sun, 6 Jan 2019 17:33:06 +0000 (18:33 +0100)]
PCF7931: improved read code and implemented a simple password bruteforce (#745)
* Improved PCF 7931 read code and implemented a simple PCF7931 password bruteforce
* Warning on the PCF7931 bruteforce command
Fl0-0 [Sat, 5 Jan 2019 17:41:51 +0000 (18:41 +0100)]
Fix PrintAndLogEx ERR (#748)
☃ Stephen Shkardoon ☃ [Sat, 5 Jan 2019 08:48:59 +0000 (21:48 +1300)]
Paradox clone functionality implemented (#747)
This involves a refactor to the arm HID code to allow for arbitrary
preambles (such as HID Proximity and Paradox).
The client also borrows from the HID code, but is not shared, so could
use a significant refactor in the future.
pwpiwi [Sat, 5 Jan 2019 08:47:12 +0000 (09:47 +0100)]
Emv commands work with smartcard interface (RfidResearchGroup PR67 by @Merlokk) (#743)
* replace 'hf emv' commands by 'emv' commands
* Enable smartcard commands by default (-DWITH_SMARTCARD)
* update i2c.c from RfidResearchGroup repository
* update smartcard.c from RfidResearchGroup repository
pwpiwi [Fri, 4 Jan 2019 07:53:30 +0000 (08:53 +0100)]
avoid compiler warning in client/cliparser/argtable3.c (#746)
Oleg Moiseenko [Fri, 7 Dec 2018 17:55:35 +0000 (19:55 +0200)]
delete travis. it plaed in folder `CI` (#736)
Oleg Moiseenko [Fri, 7 Dec 2018 15:42:37 +0000 (17:42 +0200)]
Fido2 (#727)
* add tinycbor
* add client/fido
* add test file with options for fido2
* hf fido commands
* add changelog
ralik [Fri, 7 Dec 2018 13:10:08 +0000 (00:10 +1100)]
Update default_pwd.dic (#735)
Fl0-0 [Fri, 7 Dec 2018 13:09:41 +0000 (14:09 +0100)]
Added mifare trailer block decoding for sector commands (#734)
pwpiwi [Thu, 6 Dec 2018 06:53:25 +0000 (07:53 +0100)]
Change mbedtls initializers to be compatible with older versions of gcc (#732)
* fix issue #731
Jean-Michel Picod [Tue, 4 Dec 2018 07:12:05 +0000 (08:12 +0100)]
Fix compilation error on OS X (#730)
Vladimir Serbinenko [Mon, 3 Dec 2018 07:53:26 +0000 (08:53 +0100)]
Support TCP ports for proxmark (#720)
On ChromeOS Linux apps can't access serial port but they can connect to TCP,
so I wrote a simple app to forward TCP to serial. I suppose this can
have other uses as well.
Oleg Moiseenko [Mon, 3 Dec 2018 07:29:13 +0000 (09:29 +0200)]
added mifare trailer block decoding (#726)
florianrock [Mon, 3 Dec 2018 07:23:53 +0000 (08:23 +0100)]
Update hitagS.c (#729)
Bugfix for #605 - wrong compare for tag.LKP
Fl0-0 [Fri, 30 Nov 2018 17:44:52 +0000 (18:44 +0100)]
Fix public key lenght to 65 bytes (#725)
florianrock [Fri, 30 Nov 2018 16:42:22 +0000 (17:42 +0100)]
HitagS Improvements (#721)
* support of HITAG S standard communication mode
* fixed wrong AC (Anti Collision) decoding
* support of block read mode
* fixed wrong uid send when using simulation
* support of communication mode parameter (client is backward compatible)
* support of start-page parameter (important for some weird tags) (client is backward compatible)
* also expect pages if tag memory size in con0 is 11 (we got some tags)
* corrected hitagS reader cmd help
Fl0-0 [Fri, 30 Nov 2018 08:03:44 +0000 (09:03 +0100)]
Fix format-truncation warning, missing string.h inclusion and strnlen warning (#723)
* Fix format-truncation warning, missing string.h inclusion and strnlen warning
* Dynamic string width field
Oleg Moiseenko [Fri, 30 Nov 2018 07:43:46 +0000 (09:43 +0200)]
jansson update. 2.11 to 2.12 (#724)
pwpiwi [Fri, 30 Nov 2018 06:45:01 +0000 (07:45 +0100)]
fix "hf mf chk" <t|d|s|ss> flags (based on PR #700) (#718)
Fl0-0 [Mon, 26 Nov 2018 07:11:11 +0000 (08:11 +0100)]
Fix util.c:116:2: error: unknown type name ‘va_list’ (#722)
Oleg Moiseenko [Sun, 25 Nov 2018 15:56:12 +0000 (17:56 +0200)]
Fido U2F complete (#716)
* add pkwrite
* asn1print
* asn1dump and CA
* added PrintAndLogEx for merge commits between repo easier than now
* changelog
Oleg Moiseenko [Fri, 23 Nov 2018 18:03:46 +0000 (20:03 +0200)]
Get rid of polarssl (#717)
Oleg Moiseenko [Mon, 19 Nov 2018 08:02:38 +0000 (10:02 +0200)]
move from polarssl to mbedtls (#708)
* update polarssl to mbedtls
* fix a warning in armsrc/iso15693
* added random generator and ecdsa test
* added signature check to test
* move crypto lib to client directory
Oleg Moiseenko [Sat, 17 Nov 2018 18:22:21 +0000 (20:22 +0200)]
FIDO U2F NFC authenticators (#697)
* `hf fido` command
* detects FIDO tag
* add new commands for fido u2f
* added changelog
* added fido2 info
Oleg Moiseenko [Sat, 17 Nov 2018 17:04:56 +0000 (19:04 +0200)]
fix - some card cant reset so quick. (#713)
Oleg Moiseenko [Sat, 17 Nov 2018 17:04:25 +0000 (19:04 +0200)]
fix get length in tlv (#714)
pwpiwi [Wed, 31 Oct 2018 21:00:36 +0000 (22:00 +0100)]
fix hf 15 reader (merge error)
Oleg Moiseenko [Wed, 31 Oct 2018 18:47:37 +0000 (20:47 +0200)]
fix warning under linux (#709)
drhatson [Wed, 31 Oct 2018 18:46:12 +0000 (18:46 +0000)]
changes to mifare plus code (#706)