Commit graph

289 commits

Author SHA1 Message Date
Philippe Teuwen db2e97c860 Release v4.9230 - Ice Coffee 2020-05-21 12:51:35 +02:00
Philippe Teuwen 4382f8c9be mkversion: add --undecided 2020-05-21 11:50:03 +02:00
iceman1001 3e389c6e07 Revert "Release v4.9224 - Ice Coffee "
This reverts commit 9cec93fd54.
2020-05-21 09:25:32 +02:00
iceman1001 9cec93fd54 Release v4.9224 - Ice Coffee 2020-05-21 09:25:32 +02:00
iceman1001 521a76d3c2 Revert "Release v4.9222 - Ice Coffee "
This reverts commit a5aeadc339.
2020-05-21 09:24:38 +02:00
iceman1001 a5aeadc339 Release v4.9222 - Ice Coffee 2020-05-21 09:23:32 +02:00
Philippe Teuwen e2a20631c7 remove section version_information for client 2020-05-20 21:11:45 +02:00
Philippe Teuwen ef586c2a41 version info also for client, still cmake to do 2020-05-20 21:11:45 +02:00
iceman1001 3dd55e2c04 simpler define 2020-05-19 20:53:52 +02:00
Iceman 6a87bdd44e
Merge pull request #739 from grspy/master
Fix 32-bit time_t compilation error on WIN64
2020-05-19 20:47:49 +02:00
grspy 8509d233d2 Fix 32-bit time_t compilation error on WIN64 2020-05-19 20:49:25 +03:00
Philippe Teuwen cb8d589fc4 armsrc: clarify static vars vs global vars, part 3 2020-05-19 18:12:40 +02:00
Philippe Teuwen 5984e1c03e makefiles: allow to skip pthread (for termux) 2020-05-15 17:40:59 +02:00
Philippe Teuwen a739d33398 Add mf_nonce_brute from https://github.com/iceman1001/mf_nonce_brute and merge to pm3 Makefile 2020-05-15 13:07:27 +02:00
iceman1001 af47a3fd34 chg: copied from pm3 repo 2020-05-13 20:16:29 +02:00
Philippe Teuwen b3f84bf7b3 make style 2020-04-29 19:41:45 +02:00
iceman1001 1b16b95565 cppchecker fix 2020-04-28 22:39:04 +02:00
iceman1001 4a282b32c2 cppchecker fix 2020-04-28 13:29:19 +02:00
iceman1001 b03f9402c1 cppchecker fix 2020-04-28 13:29:16 +02:00
iceman1001 2280442492 chg: adjust number of threads according to cpu 2020-04-28 11:02:19 +02:00
Philippe Teuwen a7c286cc9a hitag2crack compile flags 2020-04-26 22:41:41 +02:00
Philippe Teuwen b01d1f0aa2 Avoid printing size_t in ht2crack5 for Mingw 2020-04-26 22:36:02 +02:00
Philippe Teuwen f7f33f2732 Revert "Makefile: move mingw defines to Makefile.host"
This reverts commit 0665b3f40a.
2020-04-26 22:30:41 +02:00
Philippe Teuwen 0665b3f40a Makefile: move mingw defines to Makefile.host 2020-04-26 17:36:15 +02:00
iceman1001 dd5679a53a cppchecker fixes 2020-04-26 13:49:06 +02:00
Philippe Teuwen fbe4e20326 remove c99 and c++11 restrictions 2020-04-24 16:43:21 +02:00
Philippe Teuwen 0181d5c8f0 ht2 cleaning tools 2020-04-04 15:09:57 +02:00
Philippe Teuwen b513300ea4 ht2 common files 2020-04-04 14:32:03 +02:00
Philippe Teuwen 8ab297ae6a add new ht2 tools, thanks to anonymous donator 2020-04-04 14:03:21 +02:00
Philippe Teuwen 5277a95364 clean a bit ht2 helpers 2020-04-04 14:02:21 +02:00
Philippe Teuwen 837a53a75b revamp a bit ht2 readmes & makefiles 2020-04-04 14:02:21 +02:00
iceman1001 a24c7334cf cppchecker - invalidprintf 2020-03-24 13:20:50 +01:00
iceman1001 2f85bced17 cppchecker func name 2020-03-13 15:04:07 +01:00
iceman1001 c46119d755 cppchecker - format print 2020-03-13 15:03:11 +01:00
iceman1001 21e6cff4ba format printf 2020-03-13 14:42:04 +01:00
iceman1001 022eacecdc format 2020-03-13 14:37:49 +01:00
iceman1001 a9aaa3040e cppchecker - format print 2020-03-13 14:34:18 +01:00
iceman1001 53ecdaf78f cppcheck func name 2020-03-13 14:14:30 +01:00
iceman1001 c3024fe9f2 cppcheck shadow 2020-03-13 14:14:19 +01:00
iceman1001 c7d2ccb8bd cppchecker function name 2020-03-13 13:52:08 +01:00
iceman1001 6f1ed5a9bf cppchecker shadow var 2020-03-13 13:51:54 +01:00
iceman1001 8a3f2d03ac style 2020-03-09 16:54:42 +01:00
iceman1001 c73517b64d style 2020-03-09 16:44:07 +01:00
iceman1001 b485461fba style 2020-03-09 16:43:14 +01:00
Philippe Teuwen 3319556695
Merge pull request #565 from sigwinch28/convert-python2-to-python3
convert python2 mfd2eml and eml2mfd scripts to python3
2020-02-21 16:51:45 +01:00
Philippe Teuwen ba6f58cc05 findbits converted to python3 + tests 2020-02-21 16:45:00 +01:00
Joe Harrison f28404581d convert python2 mfd2eml and eml2mfd scripts to python3 2020-02-21 15:36:48 +00:00
Philippe Teuwen aa6fc60a22 xorcheck script converted in python3 + test 2020-02-21 16:29:52 +01:00
Philippe Teuwen 5527cb2428 pm3_mfdread.py script python3 and warn for bitstring module 2020-02-21 16:17:56 +01:00
Philippe Teuwen 2177211b7a btaddon scripts: warn for pyserial 2020-02-21 16:06:40 +01:00
Iceman c0a30405e8
Merge pull request #561 from sigwinch28/use-env-for-shebangs
Use /usr/bin/env in shebangs
2020-02-21 15:24:50 +01:00
Joe Harrison 788e8b7ecc Remove potentially undefined exit behaviour from analyzesize tool
Python2.7 doc for `sys` module states that "Most systems require [the
exit code] to be in the range 0-127, and produce undefined results
otherwise".

Currently, modern Linux-based systems will exit with code 255, while
msys2-based systems such as Proxspace will exit with code 127.

Instead, explicitly exit with non-zero exit code of 1.
2020-02-21 13:50:09 +00:00
Joe Harrison 5e88faa2cf use env in shebangs in pm3-flash-fullimage and rest of tools 2020-02-19 16:13:17 +00:00
Joe Harrison 7d157606ee Use /usr/bin/env in shebangs
Stop assuming that bash is in /bin, and that perl and python are in
/usr/bin, etc.
Instead, use env command to find these commands in the path.
2020-02-18 00:00:24 +00:00
iceman1001 bc3f0c4da8 fix: #555 fpga_compress missing tarbin directive 2020-02-12 09:52:23 +01:00
iceman1001 317b4c32e5 hitag2crack stuff from RFidlar repo 2020-01-16 11:11:14 +01:00
iceman1001 31daa9e302 added hitag2crack 2020-01-16 10:43:13 +01:00
osboxes.org b205833df4 style 2019-12-31 22:30:59 +01:00
Samy Kamkar 5f7fe45f58 Support multiple files, sanitize input, detect sox 2019-12-23 15:43:49 -08:00
iceman1001 9e41221be1 chmod 2019-12-23 22:53:10 +01:00
iceman1001 1472922c9e Add: two perl scripts from https://github.com/samyk/samytools/. Thanks @samyk! \n pm3_cs8.pl converts pm3 files to wave. \npm3_amii_bin2eml.pl convert / decrypts amiiboo dumps to eml format used when simulating. 2019-12-23 22:52:50 +01:00
merlokk 45926261db style 2019-12-06 17:12:29 +02:00
iceman1001 bb5c4d6162 Add python script to wipe S70 7b Gen2 magic tags. Thanks @vulnersCom 2019-12-03 14:50:48 +01:00
iceman1001 46ba161ba2 ADD file 2019-12-03 14:47:34 +01:00
Philippe Teuwen 5ef4d6dbbb fpga_compress: no previous prototype warning 2019-10-26 18:32:38 +02:00
Philippe Teuwen c6220dc7be fpga_compress: unused parameter warning 2019-10-26 18:32:17 +02:00
Philippe Teuwen c613a758b2 mfkey64: fix sscanf uint8_t clang warning 2019-10-26 18:07:09 +02:00
Philippe Teuwen 2173cadf23 openocd scripts: allow to call them from another dir 2019-10-15 13:06:46 +02:00
Philippe Teuwen a5001de76c less magic trick in fpga_compress for coverity 2019-10-05 19:10:40 +02:00
Philippe Teuwen dc16509539 Simple script to convert pm3 traces to something audible, thanks @rfidiot for the idea 2019-09-25 15:02:40 +02:00
Adam 00344adfd3
subtle change for clarity
Both interface-raspberrypi.cfg and interface-raspberrypi2.cfg gave conflicting instructions for the dd return value. This should clear that up.
2019-09-21 13:25:28 -05:00
Ludovic Rousseau a1852eaa4b Fix typos
Thanks to Debian lintian for the reports:
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 formated formatted
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 succesfully successfully
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 Skiped Skipped
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 standart standard
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 supress suppress
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 successfull successful
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 Succeded Succeeded
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 Overriden Overridden
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 aquire acquire
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 occured occurred
I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 delimeter delimiter
2019-09-14 17:44:58 +02:00
Philippe Teuwen 5dc63fa239 Add sim011.asm 2019-09-05 09:29:45 +02:00
Philippe Teuwen 27a0402a3d HID flasher: add libusb for Fedora in readme 2019-09-01 20:13:33 +02:00
Philippe Teuwen bd4cce1270 remove global libusb requirement, add note to compile HID flasher 2019-09-01 20:02:55 +02:00
Philippe Teuwen e80fe2588b "which" not always available... 2019-09-01 19:30:51 +02:00
Philippe Teuwen 7e579f9fca rename SIMxxx.BIN in lowercase 2019-08-30 22:13:51 +02:00
Philippe Teuwen f6a4f9cbe3 move client scripts to tools 2019-08-30 22:11:02 +02:00
Philippe Teuwen 4fdb5a2f4b make install: half way 2019-08-30 21:55:13 +02:00
Philippe Teuwen e47969aa95 migrate simmodule/readme.txt content to 2_Configuration-and-Verification.md 2019-08-29 23:43:48 +02:00
Philippe Teuwen 8987e956ac POSIX sh version of mkversion
Most targeted platforms have "sh" and don't need Perl as requirement.
Still Perl script is present as fallback.
2019-08-29 23:23:53 +02:00
iceman1001 0d986ab212 Delete unused hash files 2019-08-29 21:57:01 +02:00
Philippe Teuwen e6f2644c1b remove srecswap.pl, never seen modern jtag requiring it 2019-08-29 18:53:54 +02:00
Philippe Teuwen 16a7cfd7b2 make style (excepted cmdhficlass...) 2019-08-26 22:28:39 +02:00
Philippe Teuwen 47c6452e94 typo 2019-08-26 12:50:10 +02:00
Philippe Teuwen 1e97acdf5e remove old arm toolchain installation script 2019-08-21 21:39:21 +02:00
Iceman 3cf64f9f23 fix: some mkdir stuff.. 2019-08-21 16:49:32 +02:00
Philippe Teuwen 6ebae499aa rework fpga_compress & isolate zlib: use Makefile.host 2019-08-19 21:50:16 +03:00
Philippe Teuwen 43ffed1a26 rework nonce2key Makefile, use common crapto1, use Makefile.host 2019-08-19 21:50:16 +03:00
Philippe Teuwen aebfe0af19 rework mfkey Makefile and move util_posix to common, use Makefile.host 2019-08-19 21:50:16 +03:00
Philippe Teuwen 5d699610c9 rework hid-flasher Makefile 2019-08-19 21:50:16 +03:00
root 7fc5fe6dd5 chg: unifed the dateformat 2019-08-18 17:43:54 +02:00
Philippe Teuwen 0ab23426d6 OSX workaround to get universal pm3 homebrew formula still working 2019-08-11 22:52:11 +02:00
Philippe Teuwen 47bcee05ad Missing platform in fpga_compress Makefile 2019-08-11 22:30:04 +02:00
Philippe Teuwen 80b4e81130 Fix fpga_compress race condition and isolate it in tools 2019-08-11 21:42:01 +02:00
Philippe Teuwen d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen c0eb19acb1 remove tabs 2019-07-24 00:52:24 +02:00
Philippe Teuwen 8e6258936c make style 2019-07-19 13:18:35 +02:00
Philippe Teuwen 41731ea084 analyzesize: create db on first use 2019-07-18 23:42:58 +02:00
slurdge 01e6db5c2e Add a simple tool to analyze elf files 2019-07-18 22:26:01 +02:00