proxmark3 icon indicating copy to clipboard operation
proxmark3 copied to clipboard

Unable to read tag with hf_legic.lua

Open fprackwieser opened this issue 1 year ago • 1 comments

When I try to read a tag with the hf_legic script I always get this error.

> rt
[+] TYPE: MIM256 card (234 bytes)
[+] Reading tag memory.
[+] Saved 256 bytes to binary file `C:\ProxSpace\pm3/hf-legic-temp-********.bin`
[+] Saved to json file `C:\ProxSpace\pm3/hf-legic-temp-********.json`

256 bytes from C:\ProxSpace\pm3/hf-legic-temp-AdKqeYSu.bin loaded
create virtual tag from 256 bytes

Tag-Type: SAM
1 Segment(s) found
256 bytes for Tag processed
[-] Error - can't find `hf-legic-temp-********.eml`
[-] error - C:\ProxSpace\pm3\proxmark3\client\luascripts/hf_legic.lua:769: bad argument #1 to 'os.remove' (string expected, got nil)

[+] finished hf_legic

[usb] pm3 -->

fprackwieser avatar Sep 11 '24 21:09 fprackwieser

Aha, we don't generate .eml files any more.

The script needs to be updated

iceman1001 avatar Sep 12 '24 09:09 iceman1001

@fprackwieser can you confirm the script works for you now that PR #2615 has been merged?

You may surface other bugs but reading should work :)

jmichelp avatar Nov 06 '24 10:11 jmichelp

Ping, but closing meanwhile

iceman1001 avatar Jun 08 '25 20:06 iceman1001