]> git.zerfleddert.de Git - proxmark3-svn/log
proxmark3-svn
5 years agoiso14443b: trying to approach iClass
pwpiwi [Wed, 23 Oct 2019 07:09:13 +0000 (09:09 +0200)]
iso14443b: trying to approach iClass
* decode and handle SOF only responses in Handle14443bSamplesDemod()
* allow 1 byte commands with 'hf 14b raw'

5 years ago'hf 14b' formatting
pwpiwi [Tue, 22 Oct 2019 19:02:02 +0000 (21:02 +0200)]
'hf 14b' formatting
* renaming a few functions
* whitespace
* moving a bit towards RRG repo

5 years agofix 'hf iclass reader'
pwpiwi [Wed, 16 Oct 2019 07:36:37 +0000 (09:36 +0200)]
fix 'hf iclass reader'
* code deduplication. Use functions from iso15693.c
* speedup CodeIso15693AsReader()
* invert reader command coding. 0 now means 'unmodulated' ( = field on)
* decode SOF only as a valid tag response in Handle15693SamplesFromTag()
* complete decoding of EOF in Handle15693SamplesFromTag()
* determine and write correct times to trace
* FPGA-change: generate shorter frame signal to allow proper sync in StartCountSspClk()
* modify StartCountSspClk() for 16bit SSC transfers
* whitespace in util.c
* add specific LogTrace_ISO15693() with scaled down duration. Modify cmdhflist.c accordingly.
* allow 'hf 15 raw' with single byte commands
* check for buffer overflow, card timeout and single SOF in 'hf 15 raw'

5 years agoMerge pull request #862 from pwpiwi/fix_iclass_sim
pwpiwi [Mon, 21 Oct 2019 19:25:44 +0000 (21:25 +0200)]
Merge pull request #862 from pwpiwi/fix_iclass_sim

fix hf iclass sim:
* sim 2: add responses to read(1) (Config) and read(5) (AIA)
* sim 2/3: don't restrict CC to 00 bytes only
* sim 3: add responding to read block commands
* sim 2/3: add responding to READ_CHECK_KC
* fix sizes of pre-encoded tag answers
* sim 2: change default card challenge
* remove commented code
* use #defines instead of numerical constants for simulation modes
* some reformatting and whitespace fixes
* fix debug print on unhandled commands
* deduplicate: use sim functions from iso15693.c
* fix times in tracelog and 'hf list iclass' (sim only)
* don't check parity in 'hf list iclass'
* fix timing in TransmitTo15693Reader()
* add simulation of block 3 and 4 (Kd and Kc) reads
* add simulation of READ4 (4 blocks read)
* FPGA change (hi_simulate.v): avoid spp_clk phase changes
* chg to reader command decoder in iso15693.c (require no modulation before SOF)
* add 'has_been_low_for' logic to hi_simulate.v (same as in other FPGA modes, default to "no modulation")
* add simulation of chip status (IDLE, ACTIVE, SELECTED, HALTED)
* check ACSN on SELECT
* add simulation of RESELECT
* always check length of reader commands
* fix printing of NR, MAC in sim 2 mode
* fix response length to CHECK command
* implement UPDATE and CHECK[Kc]
* add simulation of multiple pages (PAGESEL by @sherhannn9)
* maintain cipher states per page
* update cipher state after UPDATE commands (@sherhannn9)
* add simulation of personalization mode
* respond with SOF on HALT
* display "\<SOF\>" instead of "0f" in 'hf list iclass'
* standard LED handling
* speedup CodeIso15693AsTag()
* TransmitTo15693Tag(): don't send unmodulated start of SOF
* reduce modulation depth in hi_simulate.v

5 years agoMerge pull request #873 from quantum-x/patch-2
Iceman [Tue, 8 Oct 2019 12:47:17 +0000 (14:47 +0200)]
Merge pull request #873 from quantum-x/patch-2

Update README.md

5 years agoUpdate README.md 873/head
quantum-x [Tue, 8 Oct 2019 12:40:11 +0000 (14:40 +0200)]
Update README.md

Updated as per PR discussion thead

5 years agoUpdate README.md
quantum-x [Tue, 8 Oct 2019 11:24:25 +0000 (13:24 +0200)]
Update README.md

Updated reference to Lab401 as an EU reseller, not a HK reseller.

5 years agoMerge branch 'master' into fix_iclass_sim 862/head
pwpiwi [Tue, 8 Oct 2019 09:54:22 +0000 (11:54 +0200)]
Merge branch 'master' into fix_iclass_sim

5 years agofix iclass reader functions
pwpiwi [Tue, 8 Oct 2019 09:48:49 +0000 (11:48 +0200)]
fix iclass reader functions

* remove unused CMD_ICLASS_READCHECK
* fix wrong command coding in CodeIClassCommand()
* switch field off at end of commands to avoid RDV4 overheating

5 years agofix 'hf iclass sim'
pwpiwi [Sat, 5 Oct 2019 15:57:16 +0000 (17:57 +0200)]
fix 'hf iclass sim'
* fix tag response timing. iClass differs from ISO15693 in this respect.
* speedup CodeIso15693AsTag()
* TransmitTo15693Tag(): don't send unmodulated start of SOF
* reduce modulation depth in hi_simulate.v
* calculate CRC for configuration block when simulating
* Show real response time instead of planned response time in 'hf list iclass'

5 years agofix 'hf iclass sim'
pwpiwi [Tue, 1 Oct 2019 19:03:18 +0000 (21:03 +0200)]
fix 'hf iclass sim'
* add simulation of multiple pages (PAGESEL by @sherhannn9)
* maintain cipher states per page
* update cipher state after UPDATE commands (@sherhannn9)
* add simulation of personalization mode
* respond with SOF on HALT
* display "<SOF>" instead of "0f" in 'hf list iclass'
* standard LED handling

5 years agofix 'hf iclass eload' (thanks to @sherhannn79)
pwpiwi [Mon, 30 Sep 2019 06:29:20 +0000 (07:29 +0100)]
fix 'hf iclass eload' (thanks to @sherhannn79)

5 years agofix 'hf iclass sim':
pwpiwi [Wed, 25 Sep 2019 16:40:05 +0000 (18:40 +0200)]
fix 'hf iclass sim':
* implement CHECK[Kc] based on @sherhannn79
* implement UPDATE based on @sherhannn79

5 years agofix 'hf iclass sim':
pwpiwi [Wed, 25 Sep 2019 12:24:36 +0000 (14:24 +0200)]
fix 'hf iclass sim':
* ignore standard iso15693 INVENTORY commands silently
* make iso15693 command decoder more strict (prevent decoding rubbish)
* re-enable sim 3

5 years agoMerge branch 'master' into fix_iclass_sim
pwpiwi [Tue, 24 Sep 2019 17:34:05 +0000 (19:34 +0200)]
Merge branch 'master' into fix_iclass_sim

5 years agofix 'hf iclass sim':
pwpiwi [Sat, 21 Sep 2019 09:58:51 +0000 (11:58 +0200)]
fix 'hf iclass sim':
* chg to reader command decoder in iso15693.c (require no modulation before SOF)
* add 'has_been_low_for' logic to hi_simulate.v (same as in other FPGA modes, default to "no modulation")
* add simulation of chip status (IDLE, ACTIVE, SELECTED, HALTED)
* check ACSN on SELECT
* add simulation of RESELECT
* always check length of reader commands
* fix printing of NR, MAC in sim 2 mode
* fix response length to CHECK command

5 years agofix compile issue with gcc 9.1.0 (issue #868)
pwpiwi [Sat, 21 Sep 2019 12:56:01 +0000 (13:56 +0100)]
fix compile issue with gcc 9.1.0 (issue #868)

5 years ago'hf iclass loclass': fix error handling (#865)
pwpiwi [Thu, 12 Sep 2019 07:21:10 +0000 (09:21 +0200)]
'hf iclass loclass': fix error handling (#865)

* fix handling of "BEING_CRACKED" flag
* don't try to calculate KCus when some bytes couldn't be brute forced
* whitespace fixes

5 years agofix 'hf iclass sim':
pwpiwi [Tue, 10 Sep 2019 16:18:54 +0000 (18:18 +0200)]
fix 'hf iclass sim':
* add simulation of block 3 and 4 reads
* add simulation of READ4 (4 blocks read)
* fixing TransmitTo15693Reader()  (again)
* FPGA change (hi_simulate.v): avoid spp_clk phase changes
* some whitespace fixes

5 years agofix 'hf iclass sim'
pwpiwi [Mon, 2 Sep 2019 09:10:45 +0000 (11:10 +0200)]
fix 'hf iclass sim'
* fix debug print on unhandled commands
* deduplicate: use sim functions from iso15693.c
* fix times in tracelog and 'hf list iclass' (sim only)
* don't check parity in 'hf list iclass'
* fix timing in TransmitTo15693Reader()

5 years agofix hf iclass sim
pwpiwi [Wed, 28 Aug 2019 09:57:53 +0000 (11:57 +0200)]
fix hf iclass sim
* sim 2: add responses to read(1) (Config) and read(5) (AIA)
* sim 2/3: don't restrict CC to 00 bytes only
* sim 3: add responding to read block commands
* sim 2/3: add responding to READ_CHECK_KC
* fix sizes of pre-encoded tag answers
* change default card challenge
* remove commented code
* use #defines instead of numerical constants for simulation modes
* some reformatting

5 years agoMerge pull request #861 from pwpiwi/iclass_MAC_speedup
pwpiwi [Fri, 30 Aug 2019 15:14:26 +0000 (17:14 +0200)]
Merge pull request #861 from pwpiwi/iclass_MAC_speedup

iClass MAC calculation speedup (optimized_cipher.c)

5 years agoadd iclass.h 861/head
pwpiwi [Sun, 25 Aug 2019 12:03:11 +0000 (14:03 +0200)]
add iclass.h

5 years agoMerge branch 'master' into iclass_MAC_speedup
pwpiwi [Sat, 24 Aug 2019 16:27:01 +0000 (18:27 +0200)]
Merge branch 'master' into iclass_MAC_speedup

5 years agoiclass.c: speeding up MAC calculation
pwpiwi [Sat, 24 Aug 2019 13:07:56 +0000 (15:07 +0200)]
iclass.c: speeding up MAC calculation

5 years ago'lf hitag writer': add Hitag2 password auth
pwpiwi [Thu, 22 Aug 2019 05:54:55 +0000 (07:54 +0200)]
'lf hitag writer': add Hitag2 password auth

* (PRs 233, 303, 304 by @ViRb3 on https://github.com/RfidResearchGroup/proxmark3)
* replace byte_t by uint8_t
* note that Hitag1 commands are not yet available
* whitespace fixes
* #define Hitag2 commands
* whitespace
* add EOF wait time
* add powerup wait time

5 years agoadd: 'hf mf personalize' (personalize UID on Mifare Classic EV1 7byte UID cards)
pwpiwi [Thu, 22 Aug 2019 05:53:17 +0000 (07:53 +0200)]
add: 'hf mf personalize' (personalize UID on Mifare Classic EV1 7byte UID cards)

* add/use some #defines
* whitespace fixes
* #include refactoring
* add line to CHANGELOG.md

5 years agoPCF7931: Print found single/consecutive block(s), fixes to block 1 check
Samuele [Thu, 22 Aug 2019 05:51:46 +0000 (07:51 +0200)]
PCF7931: Print found single/consecutive block(s), fixes to block 1 check

5 years agocleaning up iclass.c and optimized_cipher.c
pwpiwi [Wed, 21 Aug 2019 20:10:24 +0000 (22:10 +0200)]
cleaning up iclass.c and optimized_cipher.c
* add iclass.h
* reformatting
* whitespace fixes
* (no functional changes)

5 years agochg 'hf mf chk':
pwpiwi [Sat, 10 Aug 2019 21:30:47 +0000 (23:30 +0200)]
chg 'hf mf chk':

* don't repeatedly clear trace while running (PR 243 by @mceloff from https://github.com/RfidResearchGroup/proxmark3)
* standard LED handling
* better check for key file syntax
* get rid of "res" column when printing the result. Show unknown keys more prominent as "     ?     "

5 years ago'hf 14a apdu' improvement
pwpiwi [Thu, 1 Aug 2019 15:01:56 +0000 (11:01 -0400)]
'hf 14a apdu' improvement

(PR 249 by @merlokk on https://github.com/RfidResearchGroup/proxmark3)
* add option to print APDU (if it can be decoded)
* add option to cconstruct extended and normal size APDUs

5 years agofix emv search behavior
pwpiwi [Thu, 1 Aug 2019 14:58:22 +0000 (10:58 -0400)]
fix emv search behavior

(taken from PRs 261 and 262 by @merlokk on https://github.com/RfidResearchGroup/proxmark3)
+ whitespace fixes

5 years agofix 'hf mf sim': access conditions to write Key B were not decoded correctly
pwpiwi [Thu, 1 Aug 2019 14:55:47 +0000 (10:55 -0400)]
fix 'hf mf sim': access conditions to write Key B were not decoded correctly

(from PR 279 https://github.com/RfidResearchGroup/proxmark3)

5 years agoImplement Originality Signature Check in 'hf mfu info'
pwpiwi [Thu, 1 Aug 2019 14:53:26 +0000 (10:53 -0400)]
Implement Originality Signature Check in 'hf mfu info'

* add support for elliptic curve 'secp128r1' to mbedtls library
* change ecdsa_signature_verify() to allow different curves, signature lengths, and skipping hash
* add another public key for Mifare Ultralight EV1

5 years agoFix Issue #843 - hf mf chk - t Doesnt save to emulator memory
mwalker33 [Tue, 23 Jul 2019 18:47:29 +0000 (04:47 +1000)]
Fix Issue #843 - hf mf chk - t Doesnt save to emulator memory

5 years agoAdd 'hf 15 csetuid' command to set UID on ISO15693 Magic tags (#842)
t0m4 [Sun, 14 Jul 2019 10:31:33 +0000 (12:31 +0200)]
Add 'hf 15 csetuid' command to set UID on ISO15693 Magic tags (#842)

5 years agoupdate em4x05 timing (#846)
marshmellow42 [Thu, 11 Jul 2019 18:31:51 +0000 (14:31 -0400)]
update em4x05 timing (#846)

See @mwalker33 issue #838

5 years agoMerge pull request #837 from mwalker33/master
marshmellow42 [Thu, 11 Jul 2019 17:17:36 +0000 (13:17 -0400)]
Merge pull request #837 from mwalker33/master

lf t55xx downlink modes support added

5 years agowhitespace cleaning 837/head
jmorsch [Thu, 11 Jul 2019 17:01:36 +0000 (13:01 -0400)]
whitespace cleaning

5 years agoUpdate lfops.c
mwalker33 [Sat, 6 Jul 2019 19:00:08 +0000 (05:00 +1000)]
Update lfops.c

boundary length check

5 years agoUpdate lfops.c
mwalker33 [Sat, 6 Jul 2019 05:20:25 +0000 (15:20 +1000)]
Update lfops.c

Fixed lf t55 reset

5 years agoCode tidy
mwalker33 [Wed, 3 Jul 2019 09:58:49 +0000 (19:58 +1000)]
Code tidy

removed commented code

5 years agoUpdate lfops.c
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

5 years agoCode improved for less memory
mwalker33 [Wed, 26 Jun 2019 01:34:31 +0000 (11:34 +1000)]
Code improved for less memory

5 years agoUpdate CHANGELOG.md
pwpiwi [Tue, 25 Jun 2019 16:37:25 +0000 (18:37 +0200)]
Update CHANGELOG.md

5 years agoUpdate CHANGELOG.md
mwalker33 [Tue, 25 Jun 2019 10:52:29 +0000 (20:52 +1000)]
Update CHANGELOG.md

5 years agoResolved Conflicts
mwalker33 [Tue, 25 Jun 2019 10:46:10 +0000 (20:46 +1000)]
Resolved Conflicts

5 years agoUpdate lfops.c
mwalker33 [Tue, 25 Jun 2019 09:28:06 +0000 (19:28 +1000)]
Update lfops.c

5 years agoMerge branch 'master' into master
mwalker33 [Tue, 25 Jun 2019 09:01:13 +0000 (19:01 +1000)]
Merge branch 'master' into master

5 years agoUpdate lfops.c
mwalker33 [Tue, 25 Jun 2019 08:56:32 +0000 (18:56 +1000)]
Update lfops.c

5 years agoUpdate CHANGELOG.md
pwpiwi [Mon, 24 Jun 2019 06:42:57 +0000 (08:42 +0200)]
Update CHANGELOG.md

5 years agoUpdate CHANGELOG.md
mwalker33 [Sun, 23 Jun 2019 12:23:08 +0000 (22:23 +1000)]
Update CHANGELOG.md

Change Log Update

5 years agoadd lf em 4x05protect plus lf config s option (#833)
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

5 years agoT55xx Downlink - Updates
mwalker33 [Sat, 22 Jun 2019 05:26:56 +0000 (15:26 +1000)]
T55xx Downlink - Updates

Improved code.

5 years agoCleanup 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

5 years agoUpdate cmdlft55xx.c
mwalker33 [Mon, 17 Jun 2019 12:01:25 +0000 (22:01 +1000)]
Update cmdlft55xx.c

Fixed bruteforce filename

5 years agoUpdate cmdlft55xx.c
mwalker33 [Mon, 17 Jun 2019 11:37:50 +0000 (21:37 +1000)]
Update cmdlft55xx.c

Minor Cleanup

5 years agoT55xx downlink Modes
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

5 years agoupgrading 'hf mfu' (#830)
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

5 years agoSpecify that we need TCP and not UDP connection (#828)
Vladimir Serbinenko [Wed, 29 May 2019 16:57:17 +0000 (18:57 +0200)]
Specify that we need TCP and not UDP connection (#828)

5 years agofix 'lf pcf7931 bruteforce' (bug reported in http://www.proxmark.org/forum/viewtopic...
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)

5 years agostart updating 'hf mfu' commands (#818)
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

5 years agoadd: Home (Pos1) and End key bindings in graph GUI (based on @mcd1992 change on RRG...
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)

5 years agofix compiler warning in cmdhflegic.c (and whitespace fixes) (#826)
pwpiwi [Mon, 27 May 2019 05:57:40 +0000 (07:57 +0200)]
fix compiler warning in cmdhflegic.c (and whitespace fixes) (#826)

5 years agoAdd: new option 'd' in 'hf mf ekeyprn' to create dumpkeys.bin from emulator memory...
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)

5 years agoUpdate README.md
Iceman [Mon, 22 Apr 2019 16:25:52 +0000 (18:25 +0200)]
Update README.md

5 years agoMerge pull request #817 from Fl0-0/Fix_typo_cmdlf
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

5 years agoFix typo lf config usage 817/head
Fl0-0 [Fri, 19 Apr 2019 11:14:41 +0000 (13:14 +0200)]
Fix typo lf config usage

5 years agofix hf mf sim (#812)
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

5 years agoAdded support for Legic tags to `hf search` command (#815)
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

5 years agoMerge pull request #808 from MalteHillmann/master
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

5 years agoBugfixes for LF FDX 808/head
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

5 years agofixed bug in CmdFdxDemod
Malte F. Hillmann [Wed, 27 Mar 2019 13:36:39 +0000 (14:36 +0100)]
fixed bug in CmdFdxDemod

5 years agofixed bug in ASKbiphaseDemod()
Malte F. Hillmann [Wed, 27 Mar 2019 13:34:42 +0000 (14:34 +0100)]
fixed bug in ASKbiphaseDemod()

5 years agofixed bug in CmdBiphaseDecodeRaw()
Malte F. Hillmann [Wed, 27 Mar 2019 13:04:01 +0000 (14:04 +0100)]
fixed bug in CmdBiphaseDecodeRaw()

5 years agofix FpgaSetupSsc() (#807)
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!

5 years agoFPGA changes (#803)
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

5 years agoiso14443b modifications (#804)
pwpiwi [Sun, 24 Mar 2019 17:04:42 +0000 (18:04 +0100)]
iso14443b modifications (#804)

* LED handling
* improve 'hf plot' support

5 years agoNdef and MAD (#801)
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

5 years agoAdded some LED utility functions (#802)
Samson Gama [Fri, 15 Mar 2019 06:41:07 +0000 (23:41 -0700)]
Added some LED utility functions (#802)

5 years agofix hitag functions (issue #798) (#800)
pwpiwi [Wed, 13 Mar 2019 09:53:40 +0000 (10:53 +0100)]
fix hitag functions (issue #798) (#800)

* ... and whitespace formating

5 years agofix LED signalling in hf 15 snoop and hf 14a snoop (#797)
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

5 years agoadd 14a apdu send framing (based on RRG repo PR86 by Merlokk) (#795)
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)

5 years agochip manufacturer and type identification: (#796)
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]

5 years agofix ATR length (#790)
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

5 years agoEmv scan via contact interface (#789)
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

5 years agoAdd raw HF signal plotting (#786)
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

5 years agofix rare bug in tlv.c (#788)
Oleg Moiseenko [Wed, 20 Feb 2019 17:35:39 +0000 (19:35 +0200)]
fix rare bug in tlv.c (#788)

5 years agoFix for USB uart slowness since PR #720 (#787)
Fl0-0 [Sun, 17 Feb 2019 13:43:40 +0000 (14:43 +0100)]
Fix for USB uart slowness since PR #720 (#787)

5 years agoadd tracing functions (#784)
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

5 years agofix emv roca hash error (#781)
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

5 years agofix endless loop (#782)
Oleg Moiseenko [Sat, 9 Feb 2019 21:38:09 +0000 (23:38 +0200)]
fix endless loop (#782)

5 years agoemv/sc fixes and modifications: (#780)
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

5 years agoUpdate list of Certificate Authorities Public Keys (source: https://www.eftlab.co...
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

5 years agoEVM fixes and additions (RRG repository PRs 78-82 by @merlokk) (#776)
pwpiwi [Wed, 6 Feb 2019 06:50:57 +0000 (07:50 +0100)]
EVM fixes and additions (RRG repository PRs 78-82 by @merlokk) (#776)

5 years agoadded SoloKey certificate (#778)
Oleg Moiseenko [Mon, 4 Feb 2019 18:53:04 +0000 (20:53 +0200)]
added SoloKey certificate (#778)

5 years agofido fix (#775)
Oleg Moiseenko [Mon, 4 Feb 2019 07:03:44 +0000 (09:03 +0200)]
fido fix (#775)

5 years agoUpdate list of known EMV AIDs. Source: https://www.eftlab.co.uk/index.php/site-map...
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)

5 years agoAdding support for standard USB Smartcard Readers (#769)
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

5 years agoLegic TagSim: increased reader timeout (#771)
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.

Impressum, Datenschutz