diff --git a/CHANGELOG.md b/CHANGELOG.md index 198df360e..7ad239553 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac - Added CUDA version of tools/mfulc_des_brute (@C2Pwn) - Added `hf mfu desbrute` command: native client support for ULC key recovery (@C2Pwn) - Added `hf mf sen` command: native client support for FM11RF08S SEN recovery (@C2Pwn) +- Fixed an issue where the COM port was sometimes not being selected on Windows (@boss-chifra) - Added Makefile `PLATFORM_FILE` variable to specify another Makefile.platform file (@doegox) - Added `hf calypso probecmdcompat` command (@kormax) - Added secure channel operations to `hf iclass sam` and fixed/improved I2C bus operations (@antiklesys) diff --git a/pm3 b/pm3 index e7a22e56b..a36741c88 100755 --- a/pm3 +++ b/pm3 @@ -136,7 +136,7 @@ function get_pm3_list_Windows { PM3LIST=() # Normal SERIAL PORTS (COM) - for DEV in $($PSHEXE -command "Get-CimInstance -ClassName Win32_serialport | Where-Object {\$_.PNPDeviceID -like '*VID_9AC4&PID_4B8F*' -or \$_.PNPDeviceID -like '*VID_2D2D&PID_504D*'} | Select -expandproperty DeviceID" 2>/dev/null); do + for DEV in $($PSHEXE -NoProfile -command "Get-CimInstance -ClassName Win32_serialport | Where-Object {\$_.PNPDeviceID -like '*VID_9AC4&PID_4B8F*' -or \$_.PNPDeviceID -like '*VID_2D2D&PID_504D*'} | Select -expandproperty DeviceID" 2>/dev/null); do _comport=$DEV