Commit Graph

  • 72ffc28d37
    Bugfix: Output typing on print of HID card formats grauerfuchs 2019-12-05 19:48:57 -05:00
  • f3a75efb1c fix 'hf iclass chk' * Check for Credidt Keys as well * reduce authentication tries from 6 to 3 * correct text in 'hf iclass clone' for 'l' parameter * some reformatting and whitespace fixes pwpiwi 2019-12-02 07:37:31 +01:00
  • 124bed1513 fix 'hf 15 csetuid' * switch off field after UID update * return last tag response (if there is any) pwpiwi 2019-12-05 07:53:11 +01:00
  • dcf63ca057 fix 'hf 15 csetuid' * don't break when tag doesn't respond to magic commands pwpiwi 2019-12-04 19:29:10 +01:00
  • 28ae37b746
    fix 'hf iclass replay' (#888) pwpiwi 2019-12-04 18:34:53 +01:00
  • 0046522ead fix 'hf 15 csetuid' and 'hf 15 cmd write -o' * allow longer timeout for write commands * add function to send EOF only * modify 'hf list 15' to display "<EOF>" * add tracing of Reader commands * if REQ_OPTION is set on write commands, send separate EOF to request tag response * use #defines instead of hex constants * some whitespace fixes pwpiwi 2019-12-04 18:14:33 +01:00
  • c617e3a329 fix 'hf 15 csetuid' * check for error codes, prevent client crash * some include file refactoring * some whitespace fixes pwpiwi 2019-12-02 19:30:09 +01:00
  • 59d56bb097 fix 'hf iclass replay' * implement option -n for authentication with replayed NR/MAC pairs in 'dump' and 'readbl' * delete 'hf iclass replay' pwpiwi 2019-11-26 07:56:18 +01:00
  • 00848e096b
    Hitag fixes (#887) pwpiwi 2019-11-25 08:38:23 +01:00
  • b4dc97531a Hitag fixes * don't display error message during 'lf search' when no Hitag tag is present * remove superfluous options in 'lf hitag read' * fix setting of default threshold when selecting FPGA_CMD_SET_EDGE_DETECT_THRESHOLD major mode * some refactoring pwpiwi 2019-11-19 08:50:29 +01:00
  • e938f71011
    Merge pull request #884 from pwpiwi/fix_iclass_snoop pwpiwi 2019-11-19 18:11:26 +01:00
  • cd028159be implement 'hf iclass snoop -j' * fix long option --jam * make room for one more bit for FPGA minor mode * new mode FPGA_HF_READER_MODE_SEND_JAM * implement jamming in Handle15693SampleFromReader pwpiwi 2019-11-13 16:42:29 +01:00
  • be09ea8603 fix 'hf iclass snoop' * code deduplication: use ISO15693 snoop function * speed up SnoopIso15693(), reduce DMA buffer size * add jamming option '-j' to 'hf iclass snoop' * fix issue #882 * whitespace fixes pwpiwi 2019-11-08 14:27:09 +01:00
  • 1ce689684f fix 'hf iclass snoop' * 'hf 15 snoop': determine and write meaningful times into trace pwpiwi 2019-11-08 07:47:14 +01:00
  • d3bcdbdabf
    mod 'hf list' (#881) pwpiwi 2019-11-13 18:00:51 +01:00
  • 496bb4be33
    fix 'hf iclass' (#879) pwpiwi 2019-11-13 18:00:33 +01:00
  • b69c7a5375 mod 'hf list' * switch to argtable command line parsing (i.e. options must now be preceded by '-') * add option '-r' to display relative times * add option '-u' to display times in microseconds * fix: graceful exit if trace is requested from offline PM3 pwpiwi 2019-11-08 07:51:21 +01:00
  • ea5e5d042e
    fix 'hf 14b sriwrite' (#880) pwpiwi 2019-11-05 11:43:03 +01:00
  • a316e04b50 fix 'hf 14b sriwrite' pwpiwi 2019-11-01 07:07:46 +01:00
  • 9b3fa91713 fix 'hf iclass' * add loooong timeout for UPDATE command * add flags FLAG_ICLASS_READER_INIT and FLAG_ICLASS_READER_CLEARTRACE * don't overwrite trace buffer during 'hf iclass dump' * fix long waiting time when start_time==0 in TransmitTo15693Tag() * remove some additional debug prints * refactoring: move helper functions from protocols.c to cmdhficlass.c * add 'h' and '1' options to 'hf iclass reader' (from RRG repository) * use correct key when only CreditKey is given in 'hf iclass dump' * separate select_and_auth * DropField() on errors * dump last block in 'hf iclass dump' * display correct memory size (number of blocks) in 'hf iclass reader' and dump * more whitespace fixes pwpiwi 2019-10-30 15:17:16 +01:00
  • e55b441992
    Merge pull request #876 from pwpiwi/fix_iclass_reader pwpiwi 2019-10-30 18:55:13 +01:00
  • ece38ef311 fix 'hf iclass reader' and 'hf iclass readblk' * don't do READCHECK when not trying to authenticate * standard LED handling * remove unused FLAG_ICLASS_READER_ONLY_ONCE and FLAG_ICLASS_READER_ONE_TRY * sanity check for negative times in TransmitTo15693Tag() * increase reader timeout for 'hf 15' functions to be enough for slot 7 answers to ACTALL * add 'hf iclass permute' inspired by RRG repository * whitespace fixes pwpiwi 2019-10-27 16:51:27 +01:00
  • a3bef9863b iso14443b: trying to approach iClass * decode and handle SOF only responses in Handle14443bSamplesDemod() * allow 1 byte commands with 'hf 14b raw' pwpiwi 2019-10-23 09:09:13 +02:00
  • a334de73d2 'hf 14b' formatting * renaming a few functions * whitespace * moving a bit towards RRG repo pwpiwi 2019-10-22 21:02:02 +02:00
  • c41dd5f9f6 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' pwpiwi 2019-10-16 09:36:37 +02:00
  • b41be3cb11
    Merge pull request #862 from pwpiwi/fix_iclass_sim pwpiwi 2019-10-21 21:25:44 +02:00
  • 3fb6e1fa40
    Merge pull request #873 from quantum-x/patch-2 Iceman 2019-10-08 14:47:17 +02:00
  • 5eacacfd9a
    Update README.md quantum-x 2019-10-08 14:40:11 +02:00
  • a534629505
    Update README.md quantum-x 2019-10-08 13:24:25 +02:00
  • f31b4cd888 Merge branch 'master' into fix_iclass_sim pwpiwi 2019-10-08 11:54:22 +02:00
  • f784539dfb
    fix iclass reader functions pwpiwi 2019-10-08 11:48:49 +02:00
  • 8efd0b80f2 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' pwpiwi 2019-10-05 17:57:16 +02:00
  • d651d592ab 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 pwpiwi 2019-10-07 09:02:24 +02:00
  • ae60ceca92 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 pwpiwi 2019-10-01 21:03:18 +02:00
  • 26d0156a46
    fix 'hf iclass eload' (thanks to @sherhannn79) pwpiwi 2019-09-30 07:29:20 +01:00
  • 05ca9d2173 fix 'hf iclass eload' (thanks to sherhannn79) pwpiwi 2019-09-29 20:58:59 +02:00
  • 8ddb81a217 fix 'hf iclass sim': * implement CHECK[Kc] based on @sherhannn79 * implement UPDATE based on @sherhannn79 pwpiwi 2019-09-25 18:40:05 +02:00
  • e49d31c0e7 fix 'hf iclass sim': * ignore standard iso15693 INVENTORY commands silently * make iso15693 command decoder more strict (prevent decoding rubbish) * re-enable sim 3 pwpiwi 2019-09-25 14:24:36 +02:00
  • 1963cc9fe0 Merge branch 'master' into fix_iclass_sim pwpiwi 2019-09-24 19:34:05 +02:00
  • 5b12974a7f 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 pwpiwi 2019-09-21 11:58:51 +02:00
  • 70dbfc3fc7
    fix compile issue with gcc 9.1.0 (issue #868) pwpiwi 2019-09-21 13:56:01 +01:00
  • b82b550492 fix compile issue with gcc 9.1.0 (issue #868) pwpiwi 2019-09-21 12:04:48 +02:00
  • d8ecc98a8e
    'hf iclass loclass': fix error handling (#865) pwpiwi 2019-09-12 09:21:10 +02:00
  • a66f26da18 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 pwpiwi 2019-09-10 18:18:54 +02:00
  • 3d2c9c9b06 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() pwpiwi 2019-09-02 11:10:45 +02:00
  • 6612150834 'hf iclass loclass': fix error handling * fix handling of "BEING_CRACKED" flag * don't try to calculate KCus when some bytes couldn't be brute forced * whitespace fixes pwpiwi 2019-09-02 11:26:17 +02:00
  • 0e972d66e4 'hf iclass loclass' fix error handling * fix handling of "BEING_CRACKED" flag * don't try to calculate KCus when some bytes couldn't be brute forced * whitespace fixes pwpiwi 2019-09-02 11:04:16 +02:00
  • 0ab9002f36 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 pwpiwi 2019-08-28 11:57:53 +02:00
  • 8b2dd94e88
    Merge pull request #861 from pwpiwi/iclass_MAC_speedup pwpiwi 2019-08-30 17:14:26 +02:00
  • deb965b54d add iclass.h pwpiwi 2019-08-25 14:03:11 +02:00
  • a1ff338bd5 Merge branch 'master' into iclass_MAC_speedup pwpiwi 2019-08-24 18:27:01 +02:00
  • 1477ba8a3c iclass.c: speeding up MAC calculation pwpiwi 2019-08-24 15:07:56 +02:00
  • f2dbf3d2aa
    'lf hitag writer': add Hitag2 password auth pwpiwi 2019-08-22 07:54:55 +02:00
  • 0b4efbdef2
    add: 'hf mf personalize' (personalize UID on Mifare Classic EV1 7byte UID cards) pwpiwi 2019-08-22 07:53:17 +02:00
  • cfa9c98d57 PCF7931: Print found single/consecutive block(s), fixes to block 1 check Samuele 2019-08-22 07:51:46 +02:00
  • 17505ce2a7 cleaning up iclass.c and optimized_cipher.c * add iclass.h * reformatting * whitespace fixes * (no functional changes) pwpiwi 2019-08-21 22:10:24 +02:00
  • 8e7de677a5 Fixed RB1 mask in block 1 check sguerrini97 2019-08-19 12:23:22 +02:00
  • 96004396f0 PCF7931: Print found single/consecutive block(s), fixes to block 1 check and some comments. Printing blocks makes it easier to manually reorder blocks when block 0 and 1 are not transmitted sguerrini97 2019-08-19 11:33:49 +02:00
  • 68284b1675 Remove space in long option pwpiwi 2019-08-14 08:12:19 +02:00
  • b7f9b71f5d 'lf hitag': some cleanup, some fixes * #define Hitag2 commands * whitespace * add EOF wait time * add powerup wait time pwpiwi 2019-08-09 18:30:12 +02:00
  • 091e4fe16d Merge branch 'master' into hf_mf_perso pwpiwi 2019-08-12 08:51:34 +02:00
  • 4edcaee910 add line to CHANGELOG.md pwpiwi 2019-08-12 07:54:31 +02:00
  • f98702bace
    chg 'hf mf chk': pwpiwi 2019-08-10 23:30:47 +02:00
  • 95f35689fe add: 'hf mf personalize' (personalize UID on Mifare Classic EV1 7byte UID cards) * add/use some #defines * whitespace fixes * #include refactoring pwpiwi 2019-08-10 21:00:49 +02:00
  • 56e92b77da '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 pwpiwi 2019-08-06 13:00:35 +02:00
  • b293deed7e 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 " ? " pwpiwi 2019-07-26 19:04:37 +02:00
  • 5a446cb212
    'hf 14a apdu' improvement pwpiwi 2019-08-01 11:01:56 -04:00
  • ca24170fd4
    fix emv search behavior pwpiwi 2019-08-01 10:58:22 -04:00
  • faa35ae029
    fix 'hf mf sim': access conditions to write Key B were not decoded correctly pwpiwi 2019-08-01 10:55:47 -04:00
  • 3a5ffba7c1
    Implement Originality Signature Check in 'hf mfu info' pwpiwi 2019-08-01 10:53:26 -04:00
  • 8cb17b99a3 Add an entry to CHANGELOG.md for NXP Originality Check pwpiwi 2019-08-01 16:47:13 +02:00
  • 18d03c2d1e 'hf 14a apdu' improvement (PR 249 by @merlokk on https://github.com/RfidResearchGroup/proxmark3) * print APDU (if it can be decoded) * construct extended and normal size APDU pwpiwi 2019-07-25 20:02:17 +02:00
  • c42b7d4d74 fix emv search behavior (taken from PRs 261 and 262 by @merlokk on https://github.com/RfidResearchGroup/proxmark3) whitespace fixes pwpiwi 2019-07-25 17:41:10 +02:00
  • 93f3640762 fix 'hf mf sim': wrong access rights to write key B in trailer (from PR 279 https://github.com/RfidResearchGroup/proxmark3) pwpiwi 2019-07-25 15:59:07 +02:00
  • 88b3dada70 Fix Issue #843 - hf mf chk - t Doesnt save to emulator memory mwalker33 2019-07-24 04:47:29 +10:00
  • 3a159d1df0 Merge branch 'master' into originality_check pwpiwi 2019-07-23 19:12:58 +02:00
  • e3176fbcbb add NXP originality check * add support for elliptic curve 'secp128r1' to mbedtls library * change ecdsa_signature_verify() to allow different curves, signature lengths, and skipping hash * add originality check in 'hf mfu info' * add another public key for Mifare Ultralight EV1 pwpiwi 2019-04-25 07:54:35 +02:00
  • 9be45786a3 Update cmdhfmf.c mwalker33 2019-07-23 17:35:18 +10:00
  • 11105a272b Update cmdhfmf.c mwalker33 2019-07-18 20:48:49 +10:00
  • 5c79a017e4 Update CHANGELOG.md mwalker33 2019-07-16 20:12:38 +10:00
  • f7bcfead7f Update cmdhfmf.c mwalker33 2019-07-16 20:10:50 +10:00
  • 096dee1784 Add 'hf 15 csetuid' command to set UID on ISO15693 Magic tags (#842) t0m4 2019-07-14 12:31:33 +02:00
  • 59f0b036d1
    Merge pull request #1 from Proxmark/master mwalker33 2019-07-12 10:46:27 +10:00
  • 817611f565 update em4x05 timing (#846) marshmellow42 2019-07-11 14:31:51 -04:00
  • 1ebf9f2560 update em4x05 timing marshmellow42 2019-07-11 13:35:52 -04:00
  • 4d8a07c829
    Merge pull request #837 from mwalker33/master marshmellow42 2019-07-11 13:17:36 -04:00
  • 347efc1274 whitespace cleaning jmorsch 2019-07-11 13:01:36 -04:00
  • 05bb3c3d3b Changelog update t0m4 2019-07-07 14:41:13 +02:00
  • 109f859475 Code cleaning t0m4 2019-07-07 12:18:47 +02:00
  • bdc9779645 Update lfops.c mwalker33 2019-07-07 05:00:08 +10:00
  • ef389bc22a Add 'hf 15 csetuid' command to set UID on ISO15693 Magic tags t0m4 2019-07-06 18:57:58 +02:00
  • dcd936a1da Update lfops.c mwalker33 2019-07-06 15:20:25 +10:00
  • d7569065cb Code tidy mwalker33 2019-07-03 19:58:49 +10:00
  • 28597bb6c7 Update lfops.c mwalker33 2019-06-27 16:57:28 +10:00
  • 7db36608a2 Code improved for less memory mwalker33 2019-06-26 11:34:31 +10:00
  • 59f75a7895
    Update CHANGELOG.md pwpiwi 2019-06-25 18:37:25 +02:00
  • 2994ab10d6 Update CHANGELOG.md mwalker33 2019-06-25 20:52:29 +10:00
  • 5a9964829e Resolved Conflicts mwalker33 2019-06-25 20:46:10 +10:00
  • 50764caadc Update lfops.c mwalker33 2019-06-25 19:28:06 +10:00
  • 644493821c
    Merge branch 'master' into master mwalker33 2019-06-25 19:01:13 +10:00