Sign in to follow this  
Followers 0
Proph

Hex Editing

7 posts in this topic

Is there a way to hex edit a file using autoit? I just want to do a simple string replace by hex editing a file.

Share this post


Link to post
Share on other sites



hex to string

then

string to hex

maybe?

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Not natively, but do a search - there are a few DLL wrapper UDFs on this forum for what you're trying to do.

Share this post


Link to post
Share on other sites

Thanks I will try that. :)

Share this post


Link to post
Share on other sites

I can't seem to figure out how to use APIFileReadWrite to do exactly what I want. I asked in the thread posted... but I think in the thread I started is a more appropriate place to ask for help.

What I want to do is look for a 4 character string of text within a binary file and replace all instances of that string with 4 other characters.

Like search for I386 and replace it with XPPC.

I am making a tool that helps people create a Windows multiboot disk. I allready have a way to do this by using another hex editing tool... but I want to get rid of the other hex editing tool and only use autoit to do it.

Thanks to anyone who trys to help. :evil: Autoit is the best tools since dos! :)

Share this post


Link to post
Share on other sites

Thanks Larry. That looks like an explanation that clears a lot more up for me. :)

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