SharpShooter 0 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? Share this post Link to post Share on other sites
Dreu 0 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. Share this post Link to post Share on other sites
SharpShooter 0 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? Share this post Link to post Share on other sites
Dreu 0 Posted September 9, 2010 So your pretty much wanting to decompile someone elses work. The answers no. Share this post Link to post Share on other sites
SharpShooter 0 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. Share this post Link to post Share on other sites