BleepingComputer.com: Explain to me

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Explain to me what a hex editor is good for

#1 User is offline   Surma 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 138
  • Joined: 22-January 09
  • Gender:Male
  • Location:Sweden

Posted 04 January 2010 - 04:42 PM

I downloaded the XVI32 hex editor some time ago, just out of pure curiosity. I read somewhere that they are good for editing programs, but all i get is gibberish. As i understand it, programs are just line after line of processor instructions, with the ocational instance of plain text. I usually get about the same when opening a dll with notepad.
First of, i want to know exactly what it is a hex editor does. Does it like, read 8 digits and interprets that as one symbol, or maybe its 16. What does it do with the actual information from the HDD?
Second, what sort of files can i open it with?
---My computer---
Manufacturer:HP Pavilion 061 CPU:Intel Pentium 4 640, 3200 MHz (16 x 200) RAM: 1024MB Motherboard:Asus PTGD1-LA Chipset:Intel Grantsdale i915P HDD:Main256GB Ext512GB Video:Radeon X600 Series Internet:DSL 2mb/s OS:Windows XP Home Edition SP3 Firefox+IExplorer AVG Internet Security

#2 User is offline   ReviverSoft 

  • Happy to help!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 1,524
  • Joined: 09-December 09
  • Gender:Male
  • Location:Somewhere on this planet...

Posted 04 January 2010 - 07:59 PM

Hex Editor :thumbsup:
ReviverSoft - Happy to help!

#3 User is offline   Surma 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 138
  • Joined: 22-January 09
  • Gender:Male
  • Location:Sweden

Posted 05 January 2010 - 05:57 AM

okay, so a series of 8 bits is interpreted as one single symbol, represented by one character in the editor. The editor displays it as a two-digit hexadecimal value, since the hex number FF which is the highest two-digit hex number is equal to 255 decimal which is equal to 11111111 binary which is the highest eight-digit binary value.

But that doesnt explain what use i can have for such a software.
---My computer---
Manufacturer:HP Pavilion 061 CPU:Intel Pentium 4 640, 3200 MHz (16 x 200) RAM: 1024MB Motherboard:Asus PTGD1-LA Chipset:Intel Grantsdale i915P HDD:Main256GB Ext512GB Video:Radeon X600 Series Internet:DSL 2mb/s OS:Windows XP Home Edition SP3 Firefox+IExplorer AVG Internet Security

#4 User is offline   Platypus 

  • Forum Addict
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 3,198
  • Joined: 28-January 06
  • Gender:Male
  • Location:Australia

Posted 05 January 2010 - 06:58 AM

Most people would have no practical use for a hex editor.

You can use it to examine and edit the contents of absolutely any file, but that requires you to know what changes can be made to the file to achieve any purpose. That is, for an executable file you would need to understand machine code instructions, and what would happen if you changed any of them (disaster usually...). As you note, executable files often contain text, and it's possible to alter this to change maybe menu labels and the like. A few programs may use what are called string literals, and in some cases these could be judiciously altered to change some aspect of the program operation. But as far as I'm aware this would only apply to old, simple styles of program, e.g. DOS programs.

A hex editor can also read and edit absolute sectors from a disk, so could for example be used to manually edit a boot sector. But again this requires you to already know what changes can be made to achieve a desired effect such as a repair.
Pleased to have been a Microsoft MVP (Windows Desktop Experience) 2007/8, 2008/9

I pressed F5, and I'm feeling refreshed...

#5 User is offline   Surma 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 138
  • Joined: 22-January 09
  • Gender:Male
  • Location:Sweden

Posted 07 January 2010 - 08:24 AM

Thanks a bundle for the info!
---My computer---
Manufacturer:HP Pavilion 061 CPU:Intel Pentium 4 640, 3200 MHz (16 x 200) RAM: 1024MB Motherboard:Asus PTGD1-LA Chipset:Intel Grantsdale i915P HDD:Main256GB Ext512GB Video:Radeon X600 Series Internet:DSL 2mb/s OS:Windows XP Home Edition SP3 Firefox+IExplorer AVG Internet Security

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users