Feature/add kgh tools - #3473
Conversation
…m another program to read a badge number, write a new KGH badge (given a badge number). You also have to provide a stamp (as .bin file, 4 bytes). The tool can also get a full set of info from a KGH badge in JSON form (including checking KGH crc for correctness). All based on publicly available knowledge, existing lua scripts, and careful obeservations!
…Windows (ProxSpace)
|
You are welcome to add an entry to the CHANGELOG.md as well |
|
What are the changes in pm3line for ? |
pm3line now uses fgets() instead of getline() when the client is built without readline/linenoise, because getline() was causing MinGW/ProxSpace build trouble in the static build. |
|
Let's see.
Not sure this is a Windows exe tool either? I see a new sample source code for the experimental lib. |
Yeah, it was just something I did as part of this and I wanted to document it so I could come back to it later. I can remove it and stick it on a separate PR? |
Again, you're probably right. It's really making a small and simple command line tool that just does 2 or 3 things, but fast and well. My goal was to make a Windows exe of the tool... so that's how the PR ended up named/described. I had tried using the full pm3.bat, calling it from another program with dynamically-built scripts, but it didn't work well for several reasons... proxmark3 exe processes getting left behind after scripts failed, slow startup time of the full pm3 client, the need to parse text output that's designed for humans to read., having to build script files on disk.. |
|
You can remove the irrelevant doc. |
|
I removed the doc. Do you want it on another PR or think it's not really relevant to proxmark at all? |
|
please propose the pm3line in a separate PR. Also the name "kgh_tools" don't convey any useful meaning for the users. Try sth like kgh_legic_migrate |
|
or "legic_" as prefix since its kind of how we name things. I do agree |
|
I have removed the pm3line change from this PR and will put it on a separate PR, as I still think it's a worthwhile portability change. I'm working on the suggestions for location and naming of the new tool... watch this space... |
|
We still waiting for the move to |
Add a bespoke kgh_tools exe for Windows (you can also build it for Linux).
The tool makes a couple of important Legic Prime operations available from a small, focused exe. Target is the so-called KGH (KABA Group Header) cards.
See the doco in client/experimental_lib/KGH_TOOLS.md
This PR is based purely on publicly available information (with particular thanks to the lua scripts), careful observations, and some leaps of intuition!