On Wed, Jan 22, 2020 at 5:50 AM Richard Owlett <[email protected]> wrote:
> I'm running Debian 9.8 with MATE desktop.
> I'm exploring a data file with the intention of eventually parsing it in
> a useful fashion.
>
> Just downloaded ghex. I like the display format.
> Its tools are inconvenient.
>
> I need to:
> 1. Simultaneously display in _both_ HEX and ASCII format
> 2. Know the current offset in *DECIMAL* format.
> {knowing the offset also in HEX might be nice}
> 3. Goto to an offset - expressed in DECIMAL.
> 4. Advance a specific number of bytes.
> 5. Search for an ASCII string.
> 6. Search for arbitrary sequence of bytes expressed as HEX.
>
> Suggested tool(s) in Debian repository?
> TIA
>
>
hexdump?
for example:
$ hexdump -C example.exe | less
00000000 4d 5a 90 00 03 00 00 00 04 00 00 00 ff ff 00 00
|MZ..............|
00000010 b8 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00
|........@.......|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 d8 00 00 00
|................|
00000040 0e 1f ba 0e 00 b4 09 cd 21 b8 01 4c cd 21 54 68
|........!..L.!Th|
00000050 69 73 20 70 72 6f 67 72 61 6d 20 63 61 6e 6e 6f |is program
canno|
00000060 74 20 62 65 20 72 75 6e 20 69 6e 20 44 4f 53 20 |t be run in
DOS |
00000070 6d 6f 64 65 2e 0d 0d 0a 24 00 00 00 00 00 00 00
|mode....$.......|
-wes
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug