-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
I encountered an issue while testing protoscope with my binary dumps.
The unpack operation was successful, but the repack operation failed without any changes made to the data.
Steps to Reproduce:
PS > protoscope.exe .\person.bin
1: {"John Doe"}
2: 1234
3: {"[email protected]"}
PS > protoscope.exe .\person.bin > person.txt
PS > protoscope.exe -s .\person.txt
protoscope: syntax error: unrecognized symbol "\xff\xfe1\x00:\x00"
PS > protoscope.exe -s .\person.txt > edit.bin
protoscope: syntax error: unrecognized symbol "\xff\xfe1\x00:\x00"
here's the binary
$ xxd person.bin
00000000: 0a08 4a6f 686e 2044 6f65 10d2 091a 136a ..John Doe.....j
00000010: 6f68 6e64 6f65 4065 7861 6d70 6c65 2e63 [email protected]
00000020: 6f6d om
$ xxd -ps person.bin
0a084a6f686e20446f6510d2091a136a6f686e646f65406578616d706c65
2e636f6d
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed