Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2021-09-30 10:53:14

changetotower
Contributor
Registered: 2020-12-22
Posts: 8

Call "stock" crc16_legic from hf_legic.lua

Hey folks

I am fiddling with the hf_legic.lua script and trying to call the crc16_legic function from the crc16.c lib, instead of the crc16 CCITT - but I am failing miserably.

The hf_legic script is calling the utils.lua script, which in turn calls "local hash = core.crc16(asc)". What is "core" referring to? To the crc16.c? If yes, how can I call the crc16_legic function (instead of the crc16 CCITT)?

Any help would be highly appreciated, thanks!

Offline

Board footer

Powered by FluxBB