mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Windows prioritise USB connections
This commit is contained in:
parent
924a8163d0
commit
144dab14e9
1 changed files with 4 additions and 2 deletions
6
pm3
6
pm3
|
@ -157,7 +157,8 @@ function get_pm3_list_Windows {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
PM3LIST+=("$DEV")
|
#Prioritise USB connections
|
||||||
|
PM3LIST=("$DEV" "${PM3LIST[@]}")
|
||||||
if [ ${#PM3LIST[*]} -ge "$N" ]; then
|
if [ ${#PM3LIST[*]} -ge "$N" ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
@ -211,7 +212,8 @@ function get_pm3_list_WSL {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
PM3LIST+=("$DEV")
|
#Prioritise USB connections
|
||||||
|
PM3LIST=("$DEV" "${PM3LIST[@]}")
|
||||||
if [ ! -w "$DEV" ]; then
|
if [ ! -w "$DEV" ]; then
|
||||||
echo "[!] Let's give users read/write access to $DEV"
|
echo "[!] Let's give users read/write access to $DEV"
|
||||||
sudo chmod 666 "$DEV"
|
sudo chmod 666 "$DEV"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue