Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2006, 02:30
Zest
 
Posts: n/a
Hi Markus,
Thanks for explanation.
In fact,you are really frank.(That's what I appreciate indeed).
The piece of code you see is not written by me.
The coder of this snippet of code had claimed that
every one could use this code to patch a program which is running.
So I decided to use this method and see if it's possible and doable.
Now,you say that I should run this code in Ring0.
So I just don't know how to switch to Ring0 when I'm in Ring3 executing and
running my program in which this snippet of code is implemented.
I hope there is a way to switch to Ring0 and apply the patch to the running program
and then come back to Ring3.
If so,let me know how.

As for the first part,I want to ,make a file with Overlay.
That's why I asked about EXECUTION INTERRUPT.
What I understood from your post is that something like the following code should do the task.

Code:
.DATA

FileName BYTE    'a.txt',0
Ptrfn      DWORD FileName

.CODE

lds dx,Ptrfn
Let me know if I have made a mistake.

Best Regards,
Zest.
Reply With Quote
Reply

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
Load and Execute unsigned code into kernel in Windows 10x64 TechLord General Discussion 1 03-12-2017 16:30
How to execute a snippet of code before the main execution! Android General Discussion 8 10-04-2006 01:22


All times are GMT +8. The time now is 03:50.


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