mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
commit
e4b2a278db
1 changed files with 6 additions and 4 deletions
|
@ -997,10 +997,12 @@ static int CmdT55xxDetect(const char *Cmd) {
|
||||||
downlink_mode = refLeading0;
|
downlink_mode = refLeading0;
|
||||||
else if (r3)
|
else if (r3)
|
||||||
downlink_mode = ref1of4;
|
downlink_mode = ref1of4;
|
||||||
|
else // This will set the default to user all d/l modes which will cover the ra flag as well.
|
||||||
if (ra)
|
|
||||||
try_all_dl_modes = true;
|
try_all_dl_modes = true;
|
||||||
|
|
||||||
|
// if (ra)
|
||||||
|
// try_all_dl_modes = true;
|
||||||
|
|
||||||
bool try_with_pwd = false;
|
bool try_with_pwd = false;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
bool usewake = false;
|
bool usewake = false;
|
||||||
|
@ -1026,9 +1028,9 @@ static int CmdT55xxDetect(const char *Cmd) {
|
||||||
do {
|
do {
|
||||||
// do ... while to check without password then loop back if password supplied
|
// do ... while to check without password then loop back if password supplied
|
||||||
do {
|
do {
|
||||||
|
|
||||||
if (try_all_dl_modes) {
|
if (try_all_dl_modes) {
|
||||||
for (uint8_t m = downlink_mode; m < 4; m++) {
|
// Loop from 1st d/l mode refFixedBit to the last d/l mode ref1of4
|
||||||
|
for (uint8_t m = refFixedBit; m <= ref1of4; m++) {
|
||||||
if (usewake) {
|
if (usewake) {
|
||||||
// call wake
|
// call wake
|
||||||
if (try_with_pwd)
|
if (try_with_pwd)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue