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 get a utf code from symbol in linux

I'm struggling with a special symbol in a text file on linux. I actually successfully pasted it between the following letters "a‏a" (my cursor in Geany stops but no character is displayed). I'd like to know what's the easiest way to get its utf8…
Yasen
  • 1,663
  • 10
  • 17
0
votes
0 answers

String to hexdump

My application reads string from RCData/CONFIG. I am trying to change the string with C++ application, and I have the source already done: #include void main() { char * newData = "wazzup bitches"; HANDLE hUpdate =…
user2404495
  • 195
  • 1
  • 6
  • 17
0
votes
1 answer

Bash script that prints out contents of a binary file, one word at a time, without xxd

I'd like to create a BASH script that reads a binary file, word (32-bits) by word and pass that word to an application called devmem. Right now, I have: ... for (( i=0; i<${num_words}; i++ )) do val=$(dd if=${file_name} skip=${i} count=1 bs=4…
user2162449
  • 303
  • 2
  • 13
0
votes
1 answer

how to convert bit array into hex contanning 8bits in java

I have binary array i converted into hex using StringBuilder sb = new StringBuilder(); for (byte b : bytes) { sb.append(String.format("%02X ", b)); } System.out.println(sb.toString()); But it gives me hex code for its…
chait..
  • 106
  • 5
0
votes
1 answer

Array.splice doesn't change the length

I have a function where I delete some parts of an Array using .splice, but when I look about console.log on it's length it hasn't changed.. and with hexdump I also saw that the "deleted" string is still there e.g. Sudoku[j][y] = [3,…
Robin93K
  • 198
  • 2
  • 3
  • 15
0
votes
2 answers

suitable output of hexdump in bash to be input of hex2bin function in php

A simple case , what's the suitable output for hexdump in bash (what needed options) to make it proper to be an input for hex2bin function in php ! P.S : I'm using it for streaming a certificate (made by OpenSSL command) via web service . I've…
SafeY
  • 287
  • 2
  • 6
  • 18
0
votes
2 answers

Portable Executable DLL file and binary date format

I have got a PE executable file *.exe (32-bit), which is an small application (2.6Mb) to update firmware software of TV device. However, the update mechanism was only available up to 2013-03-12. I want to hack this executable just for pleasure. I'm…
sgnsajgon
  • 664
  • 2
  • 13
  • 56
0
votes
2 answers

hexdump in Objective-C

I want to see the dump of my sqlite .db file inside my Xcode project like on a UILableView. How can I run a command line command like hexdump from within my iOS app?
shebelaw
  • 3,992
  • 6
  • 35
  • 48
0
votes
1 answer

How to store int to nsdata the other way round?

I create random file: -(NSData*)generateRandomNSDataWithNumberOfRecords:(int)length { NSMutableData* theData = [[NSMutableData alloc] init]; int numberOfElements; for (int i=0; i
yershuachu
  • 778
  • 8
  • 19
0
votes
1 answer

Perl Net::Pcap hex dump packet session

I have the following information below being produced by the Net::Pcap module to print the payload of the packets of interest within a capture. The data below is the excerpt of a Windows executable file being captured within Perl. I would like to be…
0
votes
7 answers

Print a file in binary form (1 and 0)

In the context of a GZip decoder I need a unix tool or a C solution to print my compressed gzip file on my screen in a binary form. What I exactly need is hexdump able to print in binary instead of octal,decimal or hexadecimal. I am pretty sure this…
Manuel Selva
  • 18,554
  • 22
  • 89
  • 134
0
votes
2 answers

"Grep-ing" from A to B in hexdump's output

Here is the situation: I have to find in the output from an hexdump the bytes between a string A and a string B. The structure of the hexdump is something like: -random bytes -A + useful bytes + B -random bytes -A + useful bytes + B -random…
Palantir
  • 101
  • 2
-1
votes
2 answers

Linux Command for getting a dump of hex values bytes from Pcap File

I require a linux command to display a Hexdump of PCAP File. Currently I am using xxd PcapFile.pcap command. With this I am getting a hexdump of pcap file along with other bytes inserted in between and end which do not belong to the pcap file. These…
-1
votes
2 answers

Can we convert a hex file back to .c file?

first .c file is embedded coding written in KEIL IDE from which hex file is generated. Now I want to convert the hex file back to .c file. Is it possible? If YES, HOW?
Reddy Rohit
  • 25
  • 1
  • 4
-1
votes
1 answer

convert exe to hexdump with powershell

how i can run this command from cmd without run powershell ? > [byte[]] $hex = get-content -encoding byte -path C:\temp\nc.exe > [System.IO.File]::WriteAllLines("C:\temp\hexdump.txt", ([string]$hex)) i try like this but not working powershell…
Qassam Mahmoud
  • 127
  • 1
  • 2
  • 11