progman
September 2, 2025, 9:23am
1
hi all,
on my projet for software, i have hitag to printed in face the number decimal example : 489820
and on proxmark the uid is hexadecimal is : 0589C61D.
i said this hexadecimal is inverse uid: result : 1DC68905.
the first 1XXXXXX is product ID PCF 7936 ( source on proxmark).
Now the all XDC68905 is uid and i don’t find any conversion this hexadecimal number and the printing into hitag 489820.
Do you have formule this conversion decimal printing to hexadecimal uid .?
DC68905 = 489820 or 489820 = DC68905
Best regard
Iceman
September 2, 2025, 10:07am
2
progman:
489820
Usually I start with converting all values to binary and I see if any of them line up.
(hex uid BE) 0589C61D - 0101100010011100011000011101
(decimal printed) 489820 - 01110111100101011100
(hex uid LE) 1DC68905 - 00011101110001101000100100000101
(decimal printed) 489820 - 01110111100101011100
As you see with your numbers, they don’t line up.
This would make you ask the question, what is the decimal printed number really?
Since its Hitag, it could be a stored value on the card.
Now you need to know which system the tag is used with, and then search if there any known data decoding available for that format
1 Like
progman
September 2, 2025, 11:47am
3
hi iceman thank your reply.
i reached this two swap bit to include operator and or xor and i dont find system for converting.
The hexadecimal is P0 UID. and all page dont find the decimal number match
i have 20 tags hitag:
489820 0589C61D
489821 296AAB1D
489824 05AFC61D
489825 1553AB1D
489826 F267AB1D
489827 7466AB1D
it’s very hard for converting; this tag it use on system security door.
best regard
PS: for iceman, in your source cmdlfhitag.c in the static const char *getHitagTypeStr(uint32_t uid)
the switch (type) case 8 is “PCF 7961” not include in your source and if add in your source the device is not unkwnon for result reader.
2 Likes
Iceman
September 2, 2025, 1:18pm
4
Interesting catch, feel free to look at the str function and make sure the endianness is correct when called by callee and then make a Pull Request please
1 Like
Iceman
September 2, 2025, 1:28pm
5
progman:
case 8 is “PCF 7961”
I will do the change now instead. I am having a look at it..
1 Like