The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 views

How to dump router configuration

I have an ADSL rotuer and dumpconf command does not work on my router. I want to dump the rotuer configuration how can router configuration be dumped. I have a configuration file saved but not sure ...
14
votes
1answer
673 views

hexdump vs actual file contents

When I do hexdump filename.txt I get the following as output: 00000000 ac5a 5afb c08d 5d15 26d0 2491 e8c9 8917 00000010 When I do <?= bin2hex(file_get_contents('filename.txt')); ?> I get ...
1
vote
1answer
146 views

Solve this hex riddle! - What went wrong with my output redirection?

Following on from my question TF101 Android: Image block device via adb in which I tried unsuccessfully to save a raw image of a block device by output redirection, this question tries to determine ...
0
votes
4answers
3k views

How do you obtain 'raw binary dump' of a file?

I came through it in a question - What in the world is a .el8 file?. I am curious how @slhck determined that the file in question was pointing to the software - eLecta
3
votes
0answers
2k views

Attempting to access RAM /dev/mem… says “Operation not permitted”

I am using Ubuntu 12.04 I read the following tutorial on how to access the contents of RAM in Linux.... http://www.rootninja.com/using-dd-to-search-for-strings-in-memory-or-devices/ Code: dd ...
1
vote
1answer
122 views

Why does newline come before space in the output of hexdump?

Using hexdump, printing these characters in the "canonical" format gives the output that I expect, while the default format throws me off. $ echo " " |hexdump # Reversed? 0000000 ...
5
votes
1answer
1k views

What does an asterisk “*” mean in hexdump output?

I print MBR with hexdump and I get the following output: 000001a0 67 60 6f 70 65 72 61 74 69 6e 67 60 73 79 73 74 |g`operating`syst| 000001b0 65 6d 00 40 00 63 7b da c5 f5 61 68 00 40 00 40 ...
4
votes
1answer
867 views

Is this a File Header / Magic Number?

I've got 120,000 files (way more, actually; this is just an arbitrary subset) of an unknown type. Linux file does not identify them (not that they're necessarily Linux files), nor do any other methods ...
2
votes
0answers
107 views

Identify recovered filetype

I'm searching some info about this file. It was recovered from a failed HD, with Ontrack EasyRecovery. The file extension may not be accurate. I tried with TrID (I'm the developer), and based on the ...
41
votes
5answers
6k views

Why don't you see binary code when you open a binary file with text editor?

Why don't you see binary code when you open a binary file with text editor? For example, when I open an image with text editor, I see some weird characters and also some human readable characters; but ...
5
votes
1answer
4k views

hexdump vs xxd format difference

I was searching for how to do a reverse hexdump and found xxd mentioned. However, it does not seem to work with simply: xxd -r hexdumpfile > binaryfile I then compared the difference between ...
4
votes
2answers
1k views

Is there a utility like hexdump that will handle non-native endian-ness?

Hexdump's ability to read binary data and format it appropriately so it can, for example, be piped to awk is very useful, but I regularly need to read files in which the binary data is of a different ...
0
votes
2answers
2k views

How to convert data to plain hex from console

How to easily convert to/from plain machine-readable HEX (without any paddings/offsets/character view) with xdd or hexdump? I'm tired of digging of some special format strings (and finding out that ...