Proxmark / proxmark3

Proxmark 3
http://www.proxmark.org/
GNU General Public License v2.0
3.09k stars 901 forks source link

Problems with "lf hid clone" and others in latest builds #977

Open Doridian opened 3 years ago

Doridian commented 3 years ago

Latest working commit is https://github.com/Proxmark/proxmark3/commit/6b34699adc3fb9821a5053c1f863957c52998729 (I had to backport the GCC 10 fixes onto it to make it compile successfully)

What I expect to happen:

proxmark3> lf hid clone REMOVED
#db# DONE!
proxmark3> lf search
NOTE: some demods output possible binary
  if it finds something that looks like a tag
False Positives ARE possible

Checking for known tags:

HID Prox TAG ID: REMOVED
--------------------------------------------------
REMOVED
--------------------------------------------------

Valid HID Prox ID Found!

What I actually get (I don't get any response until I run a second command!):

proxmark3> lf hid clone REMOVED
proxmark3> lf search
Sending bytes to proxmark failed
NOTE: some demods output possible binary
  if it finds something that looks like a tag
False Positives ARE possible

Checking for known tags:

Sending bytes to proxmark failed
#db# DONE!
Sending bytes to proxmark failed

Valid Hitag2 tag Found!
proxmark3> lf search
NOTE: some demods output possible binary
  if it finds something that looks like a tag
False Positives ARE possible

Checking for known tags:

HID Prox TAG ID: 0
--------------------------------------------------
REMOVED
--------------------------------------------------

Valid HID Prox ID Found!
proxmark3>

As you can see, I have to run a second command, which will then proceed to fail, but actually the write succeeds. What is worse that since the commit after the one I linked I get all kinds of random communication failures (hf search sometimes throws an error, but restarting the proxmark3 client and re-issuing the command fixes it)

marshmellow42 commented 3 years ago

what platform/OS ?

Doridian commented 3 years ago

what platform/OS ?

I have experienced this exact behaviour on Ubuntu 21.04 (amd64) and Windows 10 (Pro, 20H2, amd64)