Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read tag with hf_legic.lua #2500

Open
fprackwieser opened this issue Sep 11, 2024 · 2 comments
Open

Unable to read tag with hf_legic.lua #2500

fprackwieser opened this issue Sep 11, 2024 · 2 comments

Comments

@fprackwieser
Copy link

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 -->
@iceman1001
Copy link
Collaborator

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

The script needs to be updated

@jmichelp
Copy link
Contributor

jmichelp commented Nov 6, 2024

@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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants