Commit graph

65 commits

Author SHA1 Message Date
Henry Gabryjelski
ce85fe0099 allow case-insensitive match of WSL strings 2023-02-19 01:44:15 -08:00
Henry Gabryjelski
fe98b3821f Prevent double-enumeration under WSL2 2023-02-18 23:48:08 -08:00
iceman1001
cf6b2d9597 fix WSL2 detection route. some linux distro spells with small letters 2023-02-19 08:07:32 +01: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
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
Marcos Del Sol Vives
ab9dab3294
Fix pm3-flash-all -p XXX 2023-02-03 14:41:23 +01:00
iceman1001
4ab5d9febc fixing serial port detection with WSL2 + usbipd , thanks to jrozner for verifying 2022-11-12 01:52:44 +01:00
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