SharpShooter Posted September 9, 2010 Share Posted September 9, 2010 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? Link to comment Share on other sites More sharing options...
Dreu Posted September 9, 2010 Share Posted September 9, 2010 #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. Link to comment Share on other sites More sharing options...
SharpShooter Posted September 9, 2010 Author Share Posted September 9, 2010 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? Link to comment Share on other sites More sharing options...
Dreu Posted September 9, 2010 Share Posted September 9, 2010 So your pretty much wanting to decompile someone elses work. The answers no. Link to comment Share on other sites More sharing options...
SharpShooter Posted September 9, 2010 Author Share Posted September 9, 2010 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now