Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
5
Newest
 Commentator
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Jan
17
comment is it possible to reverse xxd to get original file from binary file
xxd does not output binary files. It outputs textual representations of files. Please read the manual page. The binary format mentioned above is just the bytes of the file written out in 1's and 0's.
Jan
17
comment is it possible to reverse xxd to get original file from binary file
You have to write your own function bin_to_hex(). You do understand that xxd outputs TEXTUAL representations of files, right?
Jan
17
comment is it possible to reverse xxd to get original file from binary file
xxd takes a file that is a 'binary' format and outputs a TEXTUAL representation of it so it is not what you want anyway.
Jan
17
comment is it possible to reverse xxd to get original file from binary file
In unix, a file is just a stream of bytes. What program are you talking about?
Jan
17
comment is it possible to reverse xxd to get original file from binary file
@R. Ninov: Wrong. That is a textual representation that is not one to one. It uses a period, '.', for anything that doesn't have an ASCII printable character.
Jan
17
comment is it possible to reverse xxd to get original file from binary file
You can put it in a file or on the command line. This will output the same format as -p: 60 hex values per line.
Jan
17
comment is it possible to reverse xxd to get original file from binary file
Why would you be interested only in the eighth field?
Dec
28
comment Remote connection to dynamic public ip & private ip addresses
Imagine you are sitting at the XP system, how would you access the Vista system from there? Once you have a solution for that, you can do it from anywhere. If you can't do it from there then just go get a router.
Dec
19
comment To improve my productivity: how to lock the /etc/hosts file on Linux with a passcode?
Tell us more about this desire to constantly change /etc/hosts.