Questions tagged [hexidecimal]

12 questions
6
votes
4 answers

Writing hex values to a file (not as ascii values) via the command line

I was wondering if anybody knew of a command line utility that would allow me to directly write hex values to a file. such that when a hexdump of the file is done the values that I enter would be spit out. It is vital that I write directly to hex as…
jcb344
  • 643
  • 2
  • 7
  • 8
4
votes
1 answer

Hash to create Hex Color Codes from string (in bash)

I am wanting to produce graphs of my server traffic using rrdtool, but it expects hex color codes for each line on the graph. Since I am wanting to iterate over a varying bunch of domain data files, I would like to generate these color codes…
Brent
  • 22,219
  • 19
  • 68
  • 102
3
votes
1 answer

How to show the hexvalues of a line of a large file in Unix?

I am importing data from a large text file into a database and am getting an error on line X of the file. If I look at the line with the less viewer I do not see anything strange, because, most probably, the line has non printable characters. Then I…
arthur
  • 167
  • 1
  • 8
2
votes
3 answers

How to calculate the starting address of a partition from MBR

Given a MBR and the structure of MBR/partition table, how can you calculate the size and starting address of each partition? For clarification let's say I was given this- Answer: There are three partition table entries shown in the MBR. Partition…
에이바
  • 612
  • 4
  • 11
  • 34
2
votes
1 answer

Is there a tool that displays the common 3-column hex editor output to standard out?

I've been using od to display the contents of binary files in various formats. Often times I find myself bouncing between -x (hex output) and -c (ASCII output) at the same offsets, when I'd really like to see them side-by-side, like in a common hex…
Willi Ballenthin
  • 345
  • 1
  • 2
  • 11
1
vote
1 answer

Numeric UIDs/GIDs in ACLs on OS X server (10.6)

On one (old OS X 10.4) server I'm tarring up some files which have ACLs. I'm then using ``tar -xp'' to untar the archive onto a new 10.6 server, which doesn't have any users/groups configured on it yet except the default admin (UID 501) (there's a…
Oliver Humpage
0
votes
1 answer

Converting IP addresses from Hex to normal format in Splunk

How do you convert IP address data in a splunk field from HEX to the normal 4 octet format?
0
votes
1 answer

What does the C3 portion of 0xC308(BE) mean in an ICMP identifier?

I am using Wireshark to analyze traffic. I know that the 8 refers to the echo (ping) type. I have been unsuccesful with finding information regarding the C3 byte. Identifier (BE): 49928 (0xc308)
somehume
  • 153
  • 1
  • 5
0
votes
0 answers

On macOS, what is /var/db/uuidtext?

My Macbook Pro has a folder /var/db/uuidtext What do the hexidecimal numbers for the subfolders represent, and what is the dsc subfolder? James-MacBook-Pro-4:~ jamespedersen$ ls /var/db/uuidtext 00 0C 18 24 30 3C 48 54 60 6C 78 84 90 9C…
user2279952
  • 121
  • 4
0
votes
2 answers

How do I identify content of a HTTP payload?

I recently got warning from a traffic analyzer that the payload of a HTTP request contains a Windows executable instead of text/plain. What is the best way to interpret this HTTP request and how do I figure out what is an actual content of the…
danizmax
  • 103
  • 3
-1
votes
1 answer

Hacked website, code is encrypted in hex, unable to identify

my web site hacked and i am getting code in index page, but i am unable to find that where is the code in my web…
dhakad
  • 3
  • 3
-1
votes
2 answers

cygwin's xd. what package is it in?

I am looking for the unix utility xd for Cygwin. What package do I need to install?
unixman83
  • 1,912
  • 8
  • 25
  • 33