hexdump Questions
5
How can I create a binary file with consequent binary values in Bash?
Like:
hexdump testfile
0000000 0100 0302 0504 0706 0908 0b0a 0d0c 0f0e
0000010 1110 1312 1514 1716 1918 1b1a 1d1c 1f1e
0000020...
Brakeman asked 15/12, 2011 at 13:58
8
Solved
The hexdump command converts any file to hex values.
But what if I have hex values and I want to reverse the process, is this possible?
Kiangsu asked 1/5, 2017 at 18:14
9
Solved
I want to convert binary data to hexadecimal, just that, no fancy formatting and all. hexdump seems too clever, and it "overformats" for me. I want to take x bytes from the /dev/random and pass the...
3
I need to create an identifier token from a set of nested configuration values.
The token can be part of a URL, so – to make processing easier – it should contain only hexadecimal digits (or someth...
2
What is the equivalent lldb command to the one shown below in GDB?
(gdb) set {char}0x02ae4=0x12
The values are arbitrary examples. With GDB I was able to easily edit the byte code at a given hex ...
Mithridatism asked 30/5, 2014 at 18:38
4
Solved
I have a column of data in a SQLite table being stored as a blob. Specifically, it is a serialized POJO (java object).
Either way, I'd like to view it in the SQLite console as a hex dump, sort of ...
2
Solved
How do you convert a binary string to a Hexadecimal String and vice-versa in Elixir?
There are a few posts on SO regarding this topic for other "main stream" languages. There's even an SO post tha...
4
Solved
I currently work on some binary data.
In order to check and debug the data previously generated by my application I use hexdump, facing the obstacle of hexdump not appearing to be able to extract a...
Sacculate asked 26/6, 2015 at 20:7
2
Solved
All my code is under source control, so I'm 100% sure that the source code hasn't changed. But if I build a C# DLL two times their content is slightly different. I can reproduce the problem 100% of...
1
Solved
I need to get the hexa value of a file i have.
On linux, this was Simply done with :
hexdump -ve '1/1 "%.2x"' Filename
However, on Windows, i couldn't found a good equivalent for hexdump. I'm ...
Callender asked 18/10, 2019 at 6:19
3
I have a file music.mp3. After using binwalk, I get the result:
pexea12@DESMICE:~/Downloads$ binwalk music.mp3
DECIMAL HEXADECIMAL DESCRIPTION
----------------------------------------------------...
Zigrang asked 10/4, 2016 at 13:52
3
Solved
I am using Catfish to find files containing certain text. Some of the files found instead of plain text contain something which looks like a hex dump:
3c3f 7068 700a 0a66 756e 6374 696f 6e20
7573 ...
Bencher asked 28/10, 2017 at 13:42
0
I have a binary file containing numeric values coded as signed or unsigned integers of different lengths (mostly 2-/4-byte). To process this data I read the desired section of the file as raw vecto...
4
Solved
I'm trying to output ASCII values corresponding to some binary data. I have successfully applied the hexdump utility to output hexdump and ASCII side-by-side as below:
00000120 20 20 20 20 3d 20 ...
Mcdermott asked 8/11, 2012 at 7:21
3
I have a 64 byte hex stream of a frame-
000A959D6816000A959A651508004500002E000000004006AF160A010101C0A8000A11D71EC6000000000000000050000000AD840000000102030405CC904CE3
How can I import it into ...
1
Solved
In an effort to learn more about C, I have been playing with it for the past 2 days. I wanted to start looking at how C is structured during runtime so, I built a crappy program that asks a user fo...
2
Solved
I would like to output a hexdump result of a 8go file. Is it possible to do it piece by piece ? How to specify a limited numbers of lines (I have read the man page and it seems to correpond to -n l...
Narrative asked 14/11, 2012 at 23:4
1
I have two img files. Origin (2GB) and Destination (4GB),
They are the result of some sort of encoding which I'm trying to identify and revert.
So in order to successfully revert encoding I have to...
1
Solved
In Linux bash shell, I use the following to convert a plain hexadecimal dump into binary
$ echo "8cd59ef53c9aaa68311b73767e0975e7" | xxd -r -p > xxd_out.bin
when I open the file in text viewe...
5
Solved
This question was out there for a while and I thought I should offer some bonus points if I can get it to work.
What did I do…
Recently at work, I wrote a parser that would convert a binary file...
Hotbed asked 10/11, 2011 at 20:58
2
Solved
I am playing with the Unix hexdump utility. My input file is UTF-8 encoded, containing a single character ñ, which is C3 B1 in hexadecimal UTF-8.
hexdump test.txt
0000000 b1c3
0000002
Huh? This sh...
Helminthiasis asked 17/5, 2010 at 7:47
1
I have a vhf radio which sent a status message continuosly through the serial port, and I need the messages that I got to be stored as hex data in a text file
I tried hexdump command as shown belo...
Derian asked 28/9, 2015 at 12:13
1
Solved
I want to give a big data file to less -s -M +Gg such that read current given data in less -s -M +Gg.
While-loop example (see ntc2's answer)
Less command explained here.
Replacing the yes by a ...
2
I am trying to understand more about binary files. So I wrote a pointer *data to print out the function in the binary. The problem is that I cannot find the hex value that I printed out to stdio in...
1
Solved
How can I change the number of columns printed by hexdump from the default 16 (to 21)?
Or where can I find the place to change the default format string used in hexdump in order to modify the numbe...
Kenyon asked 1/11, 2014 at 22:48
1 Next >
© 2022 - 2024 — McMap. All rights reserved.