Commit graph

16270 commits

Author SHA1 Message Date
iceman1001 029d5aa358 fix cid #404827 - resource leak 2023-02-18 22:51:44 +01:00
iceman1001 475bbe183d some generic devices has other sizes of flash 2023-02-18 22:02:20 +01:00
Iceman 21ab53c7cf
Merge pull request #1914 from henrygab/serial_from_flash_uniqueid
Use unique USB Serial using flash's uniqueID
2023-02-18 21:43:06 +01:00
Iceman bfe8a2efd4
Merge pull request #1918 from henrygab/more_const
improve const correctness
2023-02-18 21:42:38 +01:00
Henry Gabryjelski 89ce0acf31 improve const correctness 2023-02-18 12:34:16 -08:00
Henry Gabryjelski c531bd0f65 make style updates 2023-02-18 12:20:43 -08:00
Henry Gabryjelski 229454963b standardize flash uniqueID to big-endian 2023-02-18 12:16:50 -08:00
Iceman bb2fa1e572
Merge pull request #1916 from henrygab/patch-1
check daughterboard connection for SIM issues
2023-02-18 20:26:13 +01:00
Henry Gabryjelski b520f1ff5d
check daughterboard connection for SIM issues
Signed-off-by: Henry Gabryjelski <henrygab@users.noreply.github.com>
2023-02-18 11:17:06 -08:00
iceman1001 08ff269803 text 2023-02-18 15:13:15 +01:00
iceman1001 cd554d67ab if more than one device is connected the tr command does not split the line resulting in pm3 --list to fail. 2023-02-18 15:01:39 +01:00
Henry Gabryjelski 48ca513a96 updates from make style 2023-02-17 17:27:07 -08:00
Henry Gabryjelski 6eea476076 Add changelog 2023-02-17 17:19:01 -08:00
Henry Gabryjelski 44676bde72 Bootrom: Enable serial number from flash
* Add `.ramfunc` section to bootrom loader script
* exclude spiffs functionality from flashmem.h/flashmem.c
   (allows bootrom to use flashmem)
* hide unused tick.h / flashmem.h functions from bootrom
   (not technically necessary; see comments)
* bootrom: add source files, include path, and defines when
  `PLATFORM_DEFS` defines `WITH_FLASH`
* Define `AS_BOOTROM` to indicate code is building for bootrom
2023-02-17 17:07:13 -08:00
Henry Gabryjelski 5784c8de77 Update USB Serial Number from SPI flash's uniqueID
Also allow flash to be separately enabled via PLATFORM_EXTRAS.

NOTE: this does *NOT* enable the serial number
in the bootrom.  Still investigating options there.
2023-02-17 17:07:13 -08:00
iceman1001 944d6ee596 simpler 2023-02-17 17:51:59 +01:00
Iceman 70d9619f8a
Merge pull request #1913 from fersingb/show_iclass_creds_in_view
Mark credentials as decrypted in decrypted dumps and show them when using the view command
2023-02-17 17:35:48 +01:00
Philippe Teuwen 2a150b8c6b Fix bug preventing args to be passed to the client
Bug introduced by ab9dab3294
It was not possible to pass args anymore, e.g. `pm3 -l myscript.lua`
2023-02-17 16:37:06 +01:00
Boris Fersing 5d4fe5b8df - Mark the credentials as decrypted when decrypting a dump
- In the view command, show the credentials if the input dump is decrypted
2023-02-17 10:18:00 -05:00
iceman1001 bfd2fc2a56 Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2023-02-14 21:17:36 +01:00
iceman1001 e8d448e6d0 text 2023-02-14 21:17:19 +01:00
iceman1001 736d24cdab increased the readline package to 8.2 2023-02-14 21:16:38 +01:00
Iceman 76f0bb068d
Merge pull request #1912 from jmichelp/master
Allow current directory to import python libraries
2023-02-14 07:34:17 +01:00
Jean-Michel Picod 5a2c6406d8 Allow current directory to import python libraries
also fixed a bunch of wrong comments.
2023-02-13 21:58:34 +01:00
iceman1001 3ee7ac3254 style 2023-02-11 11:53:20 +01:00
iceman1001 8f977ef989 fix #1909 intendation breaks the makefile 2023-02-11 11:43:29 +01:00
iceman1001 08d2c2f1a5 style 2023-02-11 11:42:58 +01:00
Iceman 881783585b
Merge pull request #1907 from natesales/iceclass-read-sim
feat: add standalone ICECLASS read/sim mode
2023-02-11 11:27:49 +01:00
Nate Sales 917b99ff47
Merge branch 'master' into iceclass-read-sim
Signed-off-by: Nate Sales <nate@natesales.net>
2023-02-10 21:55:57 -05:00
Nate Sales c42aa99d05 refactor: add iceclass read sim info 2023-02-10 21:55:23 -05:00
Iceman 6df86578c7
Merge pull request #1908 from lnv42/master
fix infinity loop in SpinDelayUs() and SpinDelayUsPrecision()
2023-02-10 20:53:24 +01:00
Yann GASCUEL a89239cd90 Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 2023-02-10 13:32:25 +01:00
Yann GASCUEL a7b699b27e fix infinity loop in SpinDelayUs() and SpinDelayUsPrecision()
I don't know why : but AT91C_BASE_PWMC_CH0->PWMC_CCNTR value is never
equal to 0, so if start+ticks was equal to 0, it was inifity looping.
This fix may produce bit longer wait than expected in some case,
depending on if AT91C_BASE_PWMC_CH0->PWMC_CCNTR delay between 0xFFFF
and 0x0001 is just 1 step or 2...

/!\ Figure out why AT91C_BASE_PWMC_CH0->PWMC_CCNTR is never 0 and fix
it there is probably a better way to fix this infinity loop issue /!\
2023-02-10 13:31:33 +01:00
Iceman 3d5278f90e
Merge pull request #1906 from natesales/hficlass-encode-verbose
Add -v verbose flag to "hf iclass encode"
2023-02-10 06:59:41 +01:00
Nate Sales 75403452de
Merge branch 'master' into iceclass-read-sim
Signed-off-by: Nate Sales <nate@natesales.net>
2023-02-09 17:19:01 -05:00
Nate Sales 66f227df9f
Merge branch 'master' into hficlass-encode-verbose
Signed-off-by: Nate Sales <nate@natesales.net>
2023-02-09 17:18:31 -05:00
Iceman db6243790e
Merge pull request #1903 from henrygab/option_1902
Fix Makefile regression from #1894
2023-02-09 21:11:49 +01:00
Iceman ae57c3b885
Merge pull request #1905 from ah01/waveshare-epaper-new-uid
Add new UID of Waveshare 1.54" NFC ePaper
2023-02-09 21:10:38 +01:00
Henry Gabryjelski 55f85a82c9 Add changelog 2023-02-08 23:01:50 -08:00
Nate Sales 5133d4a512 feat: add -v verbose flag to "hf iclass encode" 2023-02-08 20:49:49 -05:00
Nate Sales b1fb181f71 feat: add standalone ICECLASS read/sim mode 2023-02-08 20:31:40 -05:00
ah01 b0dcfdf2c5 Add new UID of Waveshare 1.54" NFC ePaper (probably new HW revision) 2023-02-09 01:22:04 +01:00
iceman1001 cb6f3f381d text 2023-02-08 23:17:19 +01:00
Henry Gabryjelski c6b6f2b6a7 Option for PR 1902 2023-02-07 19:20:42 -08:00
iceman1001 f9dbf1e34d added suggestion how to generate 256kb image in sample file 2023-02-06 21:44:31 +01:00
Iceman a074c4124a
Merge pull request #1894 from henrygab/wsl2_docs
Enable use under WSL2 w/Kali Linux distribution
2023-02-05 21:16:35 +01:00
Iceman 01d30e14fc
Merge branch 'master' into wsl2_docs
Signed-off-by: Iceman <iceman@iuse.se>
2023-02-05 21:15:57 +01:00
Iceman 6f2bc12d59
Merge pull request #1899 from wh201906/clear
Add a option to clear the scrollback buffer
2023-02-05 11:38:20 +01:00
Self Not Found e139c137f9
Add CHANGELOG entry 2023-02-05 17:47:55 +08:00
Self Not Found a7bc082d2d
Add a option to clear the scrollback buffer 2023-02-05 17:37:13 +08:00