Questions tagged [hexdump]

A hex dump is a hexadecimal view of data. Looking at a hex dump of data is commonly done as a part of debugging, or of reverse engineering. In a hex dump, each byte (8-bits) is represented as a two-digit hexadecimal number.

387 questions
-1
votes
1 answer

How to convert the binary file into a hexdump in SAS

For example, PNG file d:\aaa.png, Now I want to use SAS to convert d:\aaa.png binary file into a hexdump. Thank you. In R,redBin function can do it.
stata
  • 513
  • 2
  • 6
  • 12
-1
votes
1 answer

How hexdump is converted to x86 assembly code?

How could the output be ADD and MOV operation? How could it works as ADD and MOV operation? ORG 100h a0 DW 14A0h a1 DW 0201h a2 DW 1506h a3 DW 0201h a4 DW 1606h a5 DW 0201h a6 DW 1706h a7 DW 0301h a8 DW 1806h a9 DW 0C301h a12 DB 25 a13…
-1
votes
1 answer

same hash, different behavior

I have two files that give the same hash, and even the same hexdump. File A and File B start on Linux Box 1 and Linux Box 2, respectively. I then copy both files to a Windows share, and read them from a Windows machine. The files still seem to be…
iamtheneal
  • 113
  • 1
  • 8
-2
votes
1 answer

serial aplication writtes "0D" as "0A"

I have a serial app on C that receives data and writes it onto a binary file. The problem is that all the data is the same but when i have 0A on sending side, i have 0D on receiving side. I have set the serial port on raw mode and opened the file…
Lomazo
  • 11
  • 6
-2
votes
1 answer

(C#) Struggle to migrate Console.App code to WIndows Form

I need to convert this console code to WinForms code. This code for HexDump format of recevieng data. I tried to convert Console.WriteLine(Hex.Dump(example)) to textBox4.Text (Hex.Dump(example)) I don't know is it correct or not, and still struggle…
Jeezy Wonder
  • 31
  • 1
  • 8
-2
votes
2 answers

Unix Executable File 'Exec', hex dump shows C code, not Assembly

In Os X, I compiled a C program with the command: gcc -o binaryoutName inputfile which I created and then ran a hex dump on the resultant binary "Exec" file. As I understand it, an Exec file is a 'UNIX Executable', which is the UNIX equivalent of an…
user4493605
  • 391
  • 2
  • 18
-2
votes
1 answer

hex dump editor - how to search and replace separate pattern values at once

How do I change hex values in a program with separate values like below? Is there any editors which support this? I believe that there should be methods to fix this. (?? is any value which varies in every match. I don't know how many patterns there…
Denny Kim
  • 1
  • 4
-2
votes
1 answer

Understanding hex dump of a file generated by Java?

Here is my code: File file = new File("test.txt"); file.createNewFile(); OutputStream outputStream = new FileOutputStream(file); outputStream.write(65); …
Koray Tugay
  • 22,894
  • 45
  • 188
  • 319
-3
votes
1 answer

Why is the greater part of a portable executable's hexdump usually unreadable when converted to text and why some of it is readable?

I put various PEs to a hex editor and search for strings (which mostly are Windows functions) that could be useful in understanding what does the PE do and any other details about it, without executing it. After the DOS stub, most of the time, both…
skooog
  • 89
  • 2
  • 12
-3
votes
4 answers

Embarrassing error when reading string literal into a pointer

I feel semi-retarded posting this, but I have no idea why my program is blowing up when it reads a string literal from the keyboard (i.e. then assigning it to a pointer). Been debugging for over an hour and the program keeps blowing up when it reads…
MrPickle5
  • 522
  • 4
  • 9
  • 31
-6
votes
1 answer

Hello if I want to install python module hexdump make this error how is fix it?

pip install hexdump DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2…
-6
votes
1 answer

Why a browser shows the message-body in 2 versions, hex version and not a hex version?

A browser shows the message-body in cache, something like this: 00000000: 20 20 20 20 3c 21 44 4f 43 54 59 50 45 20 68 74 . . 00000020: 20 20 20 3c 68 65 61…
1 2 3
25
26