Jump to content

Recommended Posts

Posted

Greeting,

I want to directly change the binary file "Binary.dll": offset 100H, change to 00H and offset 200H change to 90H five times.

how to code that?

thanks

 

 

Posted

You could do this.

 

Func FileChangeOffset($File,$Offset,$Byte)
local $hFile=FileOpen($File,1)
FileSetPos($hFile,$Offset,0)
FileWrite($hFile,chr($Byte))
FileClose($hFile)
EndFunc

 

 

Saludos

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
×
×
  • Create New...