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
0
votes
1 answer

How to convert assembly language to VB6 or readable format

I lost my source code, I have vb6 exe, I decompile exe, then I get decompile codes like below given. Now I want to convert this codes into vb6 source code or readable format. Decompile code: want to convert into vb6 format 'N 004048D0 55 …
YogStack
  • 1
  • 1
  • 1
0
votes
3 answers

How to read 32 bit Hex word in a file as Hex value in C# instead string ("e000483c" as "0xe000483c")

I have an input file which has list of Hex Word records, like this "e000483c", "0120003d". I would like to read them and store as Hex numbers rather as a string. Each Hex number is a 32 bit word and should be able to process it further byte-wise.…
Karthik
  • 1
  • 4
0
votes
2 answers

Using data from other funtions

Not sure what I am doing wrong here. The main function works fine, but appending/writing the data into the .txt file function is not working. I keep getting "NameError: name 'data' is not defined". I'm guessing it's a scope problem? Question: How…
Dmurphy
  • 33
  • 7
0
votes
1 answer

Hexdump read offset with c lseek()

I got an image file img.jpg and did the following strings img.jpg | hexdump -C which gave me this output Now I need to get the camera and date information using a c programm with open, lseek and read ... My question is, how do I jump to the date…
niklant
  • 13
  • 3
0
votes
1 answer

how to convert ascii to hexdump & Binary to hexdump in kernel module

I am writing a Kernel module, Module supports conversion of ASCII data to Hexdump and Binary data to Hexdump and print it through cat. without using hexdump utility (part of util-linux) Thanks in advance.
0
votes
1 answer

Reading Hard Disk at Byte Level

Situation: I am writing a python program to read through a hard disk (specifically Windows) and compare hex strings with each other. Problem: Is it possible to do so? The solution I am looking for needs to be fast, therefore dd is unsuitable. I…
Timothy Wong
  • 689
  • 3
  • 9
  • 28
0
votes
2 answers

How To generate hex files in RISC V?

I am trying to verify the RISC-V DUT with 32bit integer set instruction which is available at https://github.com/ucb-bar/vscale they have their inputs stored in memory as a hex file @ vscale/src/test/inputs/ ( from the above link). I would like to…
murari Venki
  • 11
  • 1
  • 1
0
votes
0 answers

Error while using Unhex to get printable original values

I am having a database with 1 table containing a Column "User_Data" in hex format. I want to extract these values Unhexed i.e printable values. So I use the command: Select UNHEX(User_Data) From DatabaseName.TableName In result most values appear…
vinay agarwal
  • 53
  • 1
  • 2
  • 8
0
votes
1 answer

Reading the Fortran real data type into Matlab from a hex dump

As the title says I am writing a large amount of real arrays from Fortran into an unformatted file, and then trying to read that binary file into Matlab. I have successfully made my script work for strings and integers, but It does not correctly…
Chair
  • 85
  • 1
  • 7
0
votes
3 answers

c++ input hexadecimal without 0x

I'm making a project that dumps a file by putting the offsets (hexadecimal). I must put the hexadecimal with 0x like 0xBEE4DC because the application will crash or return an error if I put a hexadecimal without 0x like BEE4DC. Is there a way to put…
user2838319
0
votes
0 answers

How to get value stored at a certain byte location from a SQlite 3 file.

I have a SQlite 3 format file which can be found at : http://expirebox.com/download/55d8c804cbd8c3debe6e5128f350cd64.html When I open it using a SQlite viewer I can acess this information which I need which is under : Can I extract this information…
0
votes
1 answer

Convert String into hexdump of String

I am trying to convert a string pointer(I believe String^ is string pointer??) into a 2-digit hexdump string. I have the main part working by utilizing sprintf to print the hex value into a buffer and copy it into the hexdump char array…
Joseph Chien
  • 47
  • 1
  • 6
0
votes
0 answers

Get the Full Process path from the prefetch file (offset address).

I am in an attempt of listing some details from the Windows Prefetch file such Filename, FileCreatedTime, FileModifiedTime,File Size, Process Name, Process Path,Run Counter & Last Run time. Though there are many tools like Nirsoft…
ramp
  • 185
  • 7
0
votes
1 answer

How to create a dump file in hex format from python

I have a array of integer which I want to dump in one binary file (HEX file to be specific) using python script I have written a code as MemDump = Debug.readMemory(ic.IConnectDebug.fRealTime, 0, 0xB0009CC4, 0xCFF, 1) MemData = MemDump[:3321] …
Pravin Virkud
  • 105
  • 3
  • 9
0
votes
0 answers

Difference between bitwise operators in php and ruby

I have such code in PHP: $b1 = 0x80 | (0x1 & 0x0f); $file = fopen('message.dat', 'w') or die('cannot create file'); fwrite($file, $b1); fclose($file); hexdump shows me: $ hexdump message.dat 0000000 3231 0039 0000003 The same code in Ruby: b1 =…
profport
  • 131
  • 1
  • 1
  • 7