Sign in to follow this  
Followers 0
SharpShooter

can Autoit do Hex Editing of a file?

5 posts in this topic

hi

there is a file and i want to edit it's hex value "E8 BB 01" on Line "00000911".

The new Value should be "90 90 90"

how can i do it using AutoIt?

Share this post


Link to post
Share on other sites



#Include <String.au3>

_StringToHex($strChar)

#Include <String.au3>

_HexToString($strHex)

StringRegExp ( "test", "pattern" [, flag ] [, offset ] ] )

....

Didn't really explain what you mean, thus... I can't really explained what you should do. Theres some random functions you may or may not find useful.

Share this post


Link to post
Share on other sites

i am not talking about inter convert String & Hex.

i am taking about changing Hex of a file.

For example changing Hex of a DLL, EXE, etc

you got what i want to do?

Share this post


Link to post
Share on other sites

So your pretty much wanting to decompile someone elses work.

The answers no.

Share this post


Link to post
Share on other sites

No man, i am not asking for decompile.

i just want to make one change which is possible just by Hex.

the change of Value is for On/Off.

Also, the file is of Windows & my purpose is not to get the source.

i can also use Manual editing & then replace the changed file, but i am not sure if that 'll work on different versions of windows.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0