Commit graph

57 commits

Author SHA1 Message Date
Philippe Teuwen da908315b0 flasher: add option --force rather than interactive prompt 2022-02-25 00:35:30 +01:00
Philippe Teuwen d61d624b45 tabs 2021-12-13 00:42:02 +01:00
Philippe Teuwen dbec6edfa7 make style 2021-10-16 23:44:53 +02:00
Gator96100 5aad5b2bbf Fixed usb prioritization 2021-09-19 01:31:17 +02:00
Philippe Teuwen 78eef004af Replace deprecated 'which' in scripts 2021-09-05 00:34:39 +02:00
Philippe Teuwen d9cc246468 now you can... 2021-06-04 22:51:58 +02:00
Philippe Teuwen 4200bb1376 pm3: add option -o/--offline, more convenient than having to call directly the client bin 2021-06-04 22:50:05 +02:00
Philippe Teuwen 73a9dff8db simplify pm3 help and provide shortcut to get client help 2021-06-04 22:27:18 +02:00
Philippe Teuwen bf8cd5c00b make miscchecks 2021-06-04 22:08:32 +02:00
Philippe Teuwen 149236d8b3 make style 2021-06-04 21:58:38 +02:00
Gator96100 505c3959b3 deal with special characters 2021-04-09 01:46:55 +02:00
Gator96100 144dab14e9 Windows prioritise USB connections 2021-04-01 16:38:45 +02:00
Gator96100 b36d049ee6 Fix 2021-03-22 20:52:41 +01:00
Gator96100 c8dca0e9e0 WSL check for outdated bootloader 2021-03-22 20:46:39 +01:00
Gator96100 d7d17a0714 Prevent Windows users from soft bricking their devices 2021-03-20 22:39:05 +01:00
gator96100 028bf22d8b Escape needed for WSL 2021-02-10 12:21:43 +01:00
gator96100 a265888e08 Merged VID/PID queries 2021-02-10 10:59:49 +01:00
gator96100 59ab2f3387 Added the original VID and PID values 2021-02-10 09:31:08 +01:00
gator96100 6f316b8e29 detect serial port 2020-12-29 16:38:02 +01:00
gator96100 5b52d95df7 Fixes for other languages 2020-11-29 01:58:16 +01:00
gator96100 ca580667db Fixes for Windows 7 2020-11-29 00:44:58 +01:00
Philippe Teuwen 923d2942c2 py scripts 2020-11-14 00:44:18 +01:00
Philippe Teuwen e172c33652 pm3: look for cmake proxmark3 executable as well 2020-11-14 00:16:01 +01:00
Marcos Del Sol Vives 5d7cdcf1d9 Added PowerShell fallback for WSL
If WSLENV is not set (which, for my clean installation of Win10 with Debian,
it was not), PATH is not populated with Windows' entries and is missing
PowerShell executable, causing the COM port listing to fail.

This commit adds a fallback with the default path if not found in PATH, and
also replaces the wmic.exe check (which is no longer used) with a PSH check.
2020-10-10 12:14:31 +02:00
Marcos Del Sol Vives 8a0bbe21d4 Replace awk with sed for WSL
The WSL distribution of Debian uses mawk instead of gawk by default, which
does not support matching into an array as it is currently being done for
extracting the COM port from the device name.

This commit replaces awk by sed, which also simplifies the building of
/dev/ttySx paths.
2020-10-10 12:14:31 +02:00
Philippe Teuwen 5305c33ec1 Add LeakSanitizer suppressions to skip libfontconfig warnings 2020-10-07 02:05:16 +02:00
iceman1001 4daa8aac2c Revert "chg: empty call to powershell.exe triggers colors on ProxSpace"
This reverts commit a5b406bffa.
2020-06-24 11:53:00 +02:00
iceman1001 a5b406bffa chg: empty call to powershell.exe triggers colors on ProxSpace 2020-06-24 11:33:19 +02:00
Philippe Teuwen def55011be and the other one... 2020-06-12 02:02:53 +02:00
Philippe Teuwen d229364a21 Variant for fix #777 independent of sentence and nr of com port digits 2020-06-12 02:01:27 +02:00
iceman1001 47262ce1e9 fix #777 thanks @doegox 2020-06-12 01:34:42 +02:00
iceman1001 fde1fd8732 improved helptext 2020-06-05 11:43:27 +02:00
Philippe Teuwen 6d1beb07c1 pm3: attempt to detect BT dongle when udevadm is not available 2020-05-18 01:16:29 +02:00
Philippe Teuwen 11f02967bc pm3: test access to /dev/ttyXXX files as prerequisite for linux 2020-05-18 01:05:49 +02:00
Philippe Teuwen 227c4e89bd pm3: shellcheck 2020-05-17 12:23:03 +02:00
Philippe Teuwen e3180be45c pm3: err msgs on stderr 2020-05-17 12:12:13 +02:00
Philippe Teuwen be1659b1bf pm3: textual and --list with no device, exit 1 2020-05-17 12:06:39 +02:00
Philippe Teuwen bc767f167f pm3 without udev: change detection routine 2020-05-16 15:58:24 +02:00
Philippe Teuwen 4edea34b6b pm3 script for linux: alternative if udevadm is not available (termux) 2020-05-16 14:24:21 +02:00
Philippe Teuwen ba08d5794c silent err if dbus absent 2020-04-29 15:29:34 +02:00
Philippe Teuwen 4c085245c5 pm3 for direct bt devices 2020-04-29 15:15:25 +02:00
iceman1001 73e6f0d07e chg: moved WSL/PS3.x bt native to be tested first. Since call to Win32_serialport crashes it. 2020-04-29 14:07:26 +02:00
iceman1001 f80f123061 Chg: Bt dongle, bt direct listing of serial ports on WSL and PS3.x, now using powershell.exe since wmic is deprecated 2020-04-29 12:00:49 +02:00
Philippe Teuwen cdd1aef34f pm3: stop as soon as enough devs found 2020-04-21 22:51:36 +02:00
Philippe Teuwen 691e70ed74 pm3 script: check if pm3 actually present behind rfcomm interface 2020-04-21 22:51:36 +02:00
Philippe Teuwen 779d9bce97 pm3 bt: add help 2020-04-21 22:51:36 +02:00
Philippe Teuwen 0c8624ccd1 Add BT detection in pm3 script for linux 2020-04-21 22:51:36 +02: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
Philippe Teuwen 5e85d53c3e pm3 serial detection on OS X more robust
Official firmwares < 2018.02 had a different USB Model string (PM3<>proxmark3).
Better to detect based on the vendor string (proxmark.org) which is more stable,
to ease reflashing devices with old firmwares to the RDV4 firmware.
2019-11-18 13:11:28 +01:00
Philippe Teuwen 5dc2c7c392 pm3 serial detection on Linux more robust. Fixes #475
Official firmwares < 2018.02 had a different USB Model string (PM3<>proxmark3).
Better to detect based on the vendor string (proxmark.org) which is more stable,
to ease reflashing devices with old firmwares to the RDV4 firmware.
Thanks @fishilico for having pointed it out.
2019-11-17 11:52:30 +01:00