Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-20-2015, 23:28
bsvo2786
 
Posts: n/a
You can try this approach, easy approach:

1. Read the file using FileStream into a byte array.
2. Then use a loop to iterate through out the array searching for the pattern
Try googling or see this http://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string_search_algorithm

3. Then replace the bytes of the array and save it.
Reply With Quote
The Following User Gave Reputation+1 to For This Useful Post:
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is editing a driver's *.inf possible? Kerlingen General Discussion 12 02-28-2018 17:29
editing Debug Information Directory in a PE file jonwil General Discussion 6 01-15-2005 06:18
Editing a .key file? peedizzle General Discussion 1 09-09-2004 00:49


All times are GMT +8. The time now is 18:14.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )