This project is mirrored from https://github.com/Proxmark/proxmark3.git. Updated .
  1. 16 Mar, 2020 2 commits
  2. 13 Feb, 2020 1 commit
  3. 09 Feb, 2020 1 commit
  4. 06 Feb, 2020 2 commits
  5. 04 Feb, 2020 1 commit
  6. 27 Jan, 2020 2 commits
    • pwpiwi's avatar
      replace msleep() by thread signalling in comms.c · 3458bb27
      pwpiwi authored
      3458bb27
    • pwpiwi's avatar
      uart_posix.c rework · d2ca5dbf
      pwpiwi authored
      * added some LED handling in appmain.c (helped with debugging)
      * finally replaced the infamous device unlink by msleep(1000)
      * fixed some format strings in comms.c (with -DCOMMS_DEBUG)
      * made uart_receive() and uart_send() behave as described in header
      * some formating
      d2ca5dbf
  7. 24 Jan, 2020 1 commit
  8. 23 Jan, 2020 2 commits
  9. 17 Jan, 2020 1 commit
    • pwpiwi's avatar
      modify USB communications · b8ed9975
      pwpiwi authored
      * use different data types for commands and responses
      * use variable length responses
      * maintain client/flasher compatibility with old format (e.g. when using old bootloader)
      * maintain bootloader compatibility with old format (e.g. when using old or RRG flasher.exe)
      * fix length of version string in appmain.c
      b8ed9975
  10. 15 Jan, 2020 3 commits
    • pwpiwi's avatar
      usb communication (device side) refactoring · 867e10a5
      pwpiwi authored
      * merge cmd.c into usb_cdc.c
      * move back usb_cdc.[ch] to common/
      * declare low level functions usb_read() and usb_write() and more functions as static
      * use cmd_receive() in bootrom.c and appmain.c
      * remove unused memory wasting csrTab[100] in usb_cdc.c
      * replace more byte_t by uint8_t
      * more whitespace fixes
      867e10a5
    • pwpiwi's avatar
      usb communication (device side) housekeeping · 72622d64
      pwpiwi authored
      * move cmd.[ch] and usb_cdc.[ch] to armsrc
      * sorting out #includes
      * replace byte_t by uint8_t
      * some reformatting
      * whitespace fixes
      * (no functional changes)
      72622d64
    • pwpiwi's avatar
      Merge pull request #909 from pwpiwi/fix_button_break · d00a30d5
      pwpiwi authored
      Fix "Sending bytes to proxmark failed" with BUTTON_PRESS()
      d00a30d5
  11. 10 Jan, 2020 2 commits
  12. 09 Jan, 2020 1 commit
    • pwpiwi's avatar
      speedup 'hf mf chk' (#901) · a749b1e5
      pwpiwi authored
      * add separate timeout for tag response to nr_ar
      * measure response time and use it for response timeout
      * don't drop field between keyblocks
      * some reformatting
      * some whitespace fixes
      * fishing for microseconds in TransmitFor14443a()
      * allow arbitrary number of keys in MifareChkKeys()
      * and move progress printing to MifareChkKeys()
      Co-authored-by: default avataruzlonewolf <github_com@hacker-nin.com>
      a749b1e5
  13. 07 Jan, 2020 1 commit
  14. 03 Jan, 2020 1 commit
  15. 28 Dec, 2019 2 commits
    • pwpiwi's avatar
      fix 'hf iclass writebl' and 'hf iclass clone' (#896) · a4ff62be
      pwpiwi authored
      * check for correct responses after block updates
      * reduce number of tries from 10 to 3
      * Allow to override warning on attempt to clone blocks < 5
      * add same warning and override option to 'hf iclass writebl'
      * some reformatting and minor refactoring
      * Drop field after dump and clone functions
      * If dumping AA1 with Credit Key, authenticate as Debit Key
      * Initialize reader when beginning to clone
      a4ff62be
    • Phil's avatar
      "hf mf ekeyprn d" doesn't works properly (#904) · 1d4b67cb
      Phil authored
      FIX: command "hf mf ekeyprn  d" doesn't use the correct offset to locate the A key in data[] array and record the 2 last bytes followed by 4 0x00 instead of the 6 good bytes (All the A keys are corrupted in file dumpkeys.bin). B keys are not affected.
      1d4b67cb
  16. 23 Dec, 2019 1 commit
    • uzlonewolf's avatar
      Nested loop fix for static nonces · 5a03ea99
      uzlonewolf authored
      * add detection of static tag nonces
      * add tag nonce to error message
      * modify mfCheckKeys() to pass button press events upstream
      * don't abort nested when a static nonce is encountered
      * modify nested to try multiple keys in a single operation
      * Print keys remaining only every 10 seconds, and add estimated worst-case time
      5a03ea99
  17. 20 Dec, 2019 1 commit
    • pwpiwi's avatar
      fix 'hf 15 csetuid' (#890) · 1f4789fe
      pwpiwi authored
      * fix 'hf 15 csetuid'
      * check for error codes, prevent client crash
      * some include file refactoring
      * some whitespace fixes
      * 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
      * switch off field after UID update
      * return last tag response (if there is any)
      * iso15693: decode WRITE_MULTI_BLOCK in 'hf list 15'
      1f4789fe
  18. 09 Dec, 2019 1 commit
    • pwpiwi's avatar
      fix 'hf iclass chk' (#894) · e73c9f1b
      pwpiwi authored
      * 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
      e73c9f1b
  19. 06 Dec, 2019 1 commit
    • grauerfuchs's avatar
      Bugfix: Output typing on print of HID card formats (#895) · 763d1bef
      grauerfuchs authored
      * Bugfix: Output typing on print of HID card formats
      
      The 'PrintAndLog' calls were using signed types and sometimes too few bits in width for formatting/outputting the data as was revealed in the forums. This commit will correct the printf-formatted output typing on display of the fields.
      
      * Update hidcardformats.c
      
      Updated to use macros as requested by @pwpiwi
      763d1bef
  20. 04 Dec, 2019 1 commit
    • pwpiwi's avatar
      fix 'hf iclass replay' (#888) · 28ae37b7
      pwpiwi authored
      * implement option -n for authentication with replayed NR/MAC pairs in 'dump' and 'readbl'
      * delete 'hf iclass replay'
      28ae37b7
  21. 25 Nov, 2019 1 commit
    • pwpiwi's avatar
      Hitag fixes (#887) · 00848e09
      pwpiwi authored
      * 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
      00848e09
  22. 19 Nov, 2019 1 commit
    • pwpiwi's avatar
      Merge pull request #884 from pwpiwi/fix_iclass_snoop · e938f710
      pwpiwi authored
      * determine and write meaningful times into trace
      * 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
      * make room for one more bit for FPGA minor mode
      * new mode FPGA_HF_READER_MODE_SEND_JAM
      * implement jamming in Handle15693SampleFromReader
      e938f710
  23. 13 Nov, 2019 5 commits
    • pwpiwi's avatar
      implement 'hf iclass snoop -j' · cd028159
      pwpiwi authored
      * 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
      cd028159
    • pwpiwi's avatar
      fix 'hf iclass snoop' · be09ea86
      pwpiwi authored
      * 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
      be09ea86
    • pwpiwi's avatar
      fix 'hf iclass snoop' · 1ce68968
      pwpiwi authored
      * 'hf 15 snoop': determine and write meaningful times into trace
      1ce68968
    • pwpiwi's avatar
      mod 'hf list' (#881) · d3bcdbda
      pwpiwi authored
      * 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
      d3bcdbda
    • pwpiwi's avatar
      fix 'hf iclass' (#879) · 496bb4be
      pwpiwi authored
      * 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
      496bb4be
  24. 05 Nov, 2019 1 commit
  25. 30 Oct, 2019 1 commit
    • pwpiwi's avatar
      Merge pull request #876 from pwpiwi/fix_iclass_reader · e55b4419
      pwpiwi authored
      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'
      * decode and handle SOF only responses in Handle14443bSamplesDemod()
      * allow 1 byte commands with 'hf 14b raw'
      * 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 in cmdhficlass.c
      e55b4419
  26. 27 Oct, 2019 1 commit
    • pwpiwi's avatar
      fix 'hf iclass reader' and 'hf iclass readblk' · ece38ef3
      pwpiwi authored
      * 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
      ece38ef3
  27. 23 Oct, 2019 1 commit
  28. 22 Oct, 2019 1 commit
    • pwpiwi's avatar
      'hf 14b' formatting · a334de73
      pwpiwi authored
      * renaming a few functions
      * whitespace
      * moving a bit towards RRG repo
      a334de73