Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo

Simple Hex-Editing

case sensitive

  • Please log in to reply
56 replies to this topic

#1 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 31 December 2006 - 07:41 AM

Introduction:-
So many people think that programs like Resource Tuner and Resource Hacker are powerful, well they are cool but not so powerful, in some instances these are helpful but in other instances they are not! What if we have a program without any resources? Read this guide any edit it :)
You might use this for example if you made a program and made a spelling mistake and perhaps you lost the source or so! well it's a funny thing to do! just don't go overboard!

Solution:-
First of all we will need a Hex-Editor I recommend you to use this:-
Freeware Hex Editor XVI32
Its Freeware and it's powerful

Then in this tutorial we will use a simple Application I made so we can experiment with it in this tutorial, it's attached at the end of this tutorial, download it and extract it. Here is a snapshot:-

Posted Image

If you don't trust this application scan it with Online malware scan you will not find any viruses, ok now after that you checked it etc let's start.

First of I will show you that in this case neither ResHacker nor Resource Tuner can do anything see these snapshots all they find are the icons and Version information, so that is a proof that with them we can't edit that!

Posted Image

and

Posted Image

So what we do? we go more low level and do hex-editing

Fire up XVI32 then File > Open and open up our application
Now you are like.. "huh? What is this? I can't understand" well don't worry! now here we will change the Caption of the Program and the Text in the Program so, in XVI32 press CTRL+F and select "Text String" and write EXACTLY the phrase you will need to find its case sensitive or you could turn case sensitive off ok so now in the Search box write
Change Me
and press Ok

and you will see something like this:-
Posted Image
You can read it right?
Yes! Now start writing something like Changed and the other letters ( Me ) just replace them with a space but stop there! don't continue pressing space because your application will get corrupted now lets make another search so to edit the text in the application
So search for
Change This Text

and you will be taken a few more lines downwards and there is the text now place it with something like Text Changed and the other characters replace them with a space

Now its ready! Just press File > Save

Posted Image

and here it is fully functional and customized!

Conclusion:-
Hope you liked it if you have any queries or so just post here :)

Attached Files


Edited by Roger, 16 January 2011 - 11:32 PM.

  • 4

#2 temon

temon

    CC Newcomer

  • Just Joined
  • PipPip
  • 12 posts

Posted 01 January 2007 - 03:50 AM

wowwwwwww
very nice man waiting for the next tot
  • 0

#3 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 01 January 2007 - 04:05 AM

Yes I'm planning that perhaps I might make something more powerful than this, but its just planning!
Thanks for the feedback btw..
  • 0

#4 caeskp

caeskp

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 21 December 2007 - 09:51 AM

Great tutorial, hex is worth the work!
  • 0

#5 pansel

pansel

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 01 February 2008 - 01:52 PM

Thanks for the tut.
  • 0

#6 necron99

necron99

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 06 February 2008 - 03:56 PM

i hope this works
:irritated:
  • 0

#7 SSTRT

SSTRT

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 08 April 2008 - 07:33 PM

hmm..good practice
  • 0

#8 DevilsCharm

DevilsCharm

    Programming God

  • Just Joined
  • PipPipPipPipPipPip
  • 858 posts

Posted 18 May 2008 - 03:46 PM

I know how hex operates but I don't know how to code with it, this would be a good learning opportunity.
  • 0

#9 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 06 June 2008 - 10:19 AM

You mean coding with hex? as in like coding in ASM? Is that possible?
  • 0

#10 Chinmoy

Chinmoy

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 365 posts

Posted 11 June 2008 - 04:48 AM

Nice, i added a small rep to your large one!
Check my tutorials ::
http://forum.codecal...-less-used.html

and

http://forum.codecal...imal-munch.html
  • 0

God is real... unless declared an integer

my blog :: http://techarraz.com/


#11 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 11 June 2008 - 07:04 AM

Thanks for the +rep.. It's not quite large. Only 282 points.. so thank very much :)

I will check yours.

*clicks links*
  • 0

#12 Xav

Xav

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 8356 posts

Posted 11 June 2008 - 11:39 AM

282 points? I have 421 points! How is that possible - you're so brilliant and useful, you must have a whole heap of rep more than me! :)
  • 0
If you enjoy reading this discussion and are thinking about commenting, why not click here to register and start participating in under a minute?





Also tagged with one or more of these keywords: case sensitive

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download