@nilamo
Thats right, i posted a link to the repo where you'll find the complete code.
@wavic
So it decodes a hex file and reads binary?
The result i get from the file i read though the script is something like:
nick - might - points
YVOVY - 292920 - 2940
schrubbi - 338465 - 3750
and so on...
As far as i understand the coding, i thought there is something calculated, or?
struct.unpack -> decodes hax
- <I -> i dont know :)
- codecs.decode(data[4:12], -> what is about data 4:12 are these position in the hex?
- etc...
EDIT: I also tried to view the file with a hex editor and find the final output as clear-text. No chance :)
Thank you guys for helping me here.
Regards,
Axel
Thats right, i posted a link to the repo where you'll find the complete code.
@wavic
So it decodes a hex file and reads binary?
The result i get from the file i read though the script is something like:
nick - might - points
YVOVY - 292920 - 2940
schrubbi - 338465 - 3750
and so on...
As far as i understand the coding, i thought there is something calculated, or?
might = (struct.unpack("<I", codecs.decode(data[4:12], "hex"))[0])/1000maybe you can help me break this line up in pieces like:
struct.unpack -> decodes hax
- <I -> i dont know :)
- codecs.decode(data[4:12], -> what is about data 4:12 are these position in the hex?
- etc...
EDIT: I also tried to view the file with a hex editor and find the final output as clear-text. No chance :)
Thank you guys for helping me here.
Regards,
Axel