View Full Version : HexEditor
fizy
17th May 2008, 04:42 PM
Hi :D
I'm looking for a good hex editor. With YUM i've install..ghex...that's horrible... :mad:
Can i have some suggestions?
i need a serious hex editor that allow me to copy the hex-values and also copy the hex values as a C array...(so i can paste hex-values in c/cpp sources). I also wish a editor that can open processes in memory and also raw-disks... yea, i need something like WinHex for Windows... :cool:
Ah, of course something that works well under GNOME, so i don't have to install K*.
thanks :)
Brian1
17th May 2008, 04:59 PM
Goto http://freshmeat.net/ and search for hex editor. See if any there will work as needed.
Brian
SuperNu
17th May 2008, 05:03 PM
khexedit is included in kdeutils. Also, I ran xvi32 (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm) under wine.
--SN
fizy
17th May 2008, 05:14 PM
I've look on freshmeat, there are a few results and i've look at all of them.... the only interesting editor was "bless"....but it needs to install all the C# MONO stuffs... and anyway it has not all the features i'm looking for..... i don't want to install mono or wine or k* just to have one hex editor...that's a shame that GNOME has only a so bad editor... :mad:
aleph
17th May 2008, 05:36 PM
hi
why do you need a hex editor? I can hardly see the use... Are you doing reverse-engineering tasks?
fizy
17th May 2008, 05:54 PM
hi
why do you need a hex editor? I can hardly see the use... Are you doing reverse-engineering tasks?
Hi!
Well, if i'm looking for it, i must have my own reasons... :rolleyes:
Btw, definitely, no, i don't need to crack gEdit! :D lol
Some people can code without a debugger, and somebody can live without an hexeditor... but it's not me.
My two most common situations are: when i need to copy some byte array in a CPP header and when i need to examine a binary saved file or a memory dump...
Of course, if you need to, also for reverse-engineering tasks hexeditors are necessary.
PS:
I've just think that on linux dd and one good hex editor can do a good job even if the hex editor cannot open a raw-disk by itself... ;)
stoat
17th May 2008, 06:02 PM
...ghex...that's horrible...
...that's a shame that GNOME has only a so bad editor... Hello fizy,
I would recommend something else for you if I knew one. Sorry. But I thought I would comment about ghex because you seem almost angry in your words and frowning emoticons in your posts. Actually, I like ghex and use it all the time. It's advertised as just a simple hex editor that allows viewing binary code in hex and ascii. It has simple editing, find & replace, and conversion functions. For me, it does all of that stuff well, and that is all I ever expected it to do. Since ghex doesn't cost even one cent, maybe it would be more accurate (not to mention fair) to say that ghex is not complex and feature-rich enough for your current needs. Maybe you should look at commercial products.
jbannon
17th May 2008, 06:19 PM
Have you tried vim? That can open & edit binary files.
aleph
17th May 2008, 06:28 PM
Have you tried vim? That can open & edit binary files.
you mean vim -b some_binary_data ?
But vim tries to "decode" bytes as strings and display them as characters when possible. I don't think that's what the OP meant... A "real" hex editor displays the character "A" as something like "0x41", not the character "A".
jtang613
17th May 2008, 06:31 PM
hi
why do you need a hex editor? I can hardly see the use... Are you doing reverse-engineering tasks?
Why would you think that reverse engineering is the only task a hex editor is good for? I can think of dozens of reasons. I personally use hex editors all the time, often for tasks other than reverse engineering. It's just another useful tool in an engineers toolbox. Just because you don't see the use does not mean there aren't any.
That being said - I usually just stick with ghex (gui) and od (cli). I know it's not the answer you're looking for, but they serve my needs. As someone else has pointed out - if you have a favorite in mind that only runs on Windows, you might want to try it under Wine until you find a substitue that fits your needs.
- J
RupertPupkin
17th May 2008, 07:50 PM
Emacs is very good as a hex editor: http://www.gnu.org/software/emacs/manual/html_node/emacs/Editing-Binary-Files.html
Here's a shot of what Emacs looks like in Hexl mode, editing a static library file (libpoppler.a):
fizy
18th May 2008, 01:15 AM
I would recommend something else for you if I knew one. Sorry. But I thought I would comment about ghex because you seem almost angry in your words and frowning emoticons in your posts. Actually, I like ghex and use it all the time.
Yes...you are right, sorry. I was a quite upset because from my point of view gHex is a bitter disappointment. For instance, gEdit is a light text editor and it takes the place of the notepad on windows.... but gEdit has tons of features, it's a tabbed editor, full of plugins, with syntax highlight, etc... an excellent software! And gEdit is only a text-editor...
So my expectation about "the Hex Editor for GNOME", gHex... well, was huge... perhaps too much huge. So i've got a rough disillusionment from my dreams... the real truth is that gHex is not so bad as i've described, but it is not the software that fulfill my requests... I hope you can understand...
As you said, ghex is a free tool available thanks to the voluntary work of many people; wasn't my intention to despise their work. :)
----
Well... in the end, i'll use gHex. :D
I'll find other ways to do things that aren't available by default in gHex. The most important (because i need it right now), and probably the most simple to solve, is how to export pieces of files as C++ arrays... (i can even code a few lines to do that :rolleyes: or maybe i can turn on Windows...but that would be so a workaround solution... :rolleyes: :rolleyes: -- well, i'll think about this..). To open disks... well dd is right there! Eheh, yes, looks like there are a solution for everything! :D ;)
good night, bye.
majikthise
18th May 2008, 09:14 AM
Also HT Editor at sourceforge:
http://prdownloads.sourceforge.net/hte/ht-2.0.14.tar.bz2
fizy
21st May 2008, 08:57 PM
There are many hex-editor, but each of them lack of some features... (maybe somebody has to merge them in a big and good project for my happiness...lol)
In the end, there are everything...except (or at least i haven't found it) a utility to convert files to arrays...
So to convert files into C/C++ array, i wrote this little and simple utility by myself :D :D :D
http://sourceforge.net/projects/chex/ :rolleyes:
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.