Posted
Using Exploit API, how am I able to check if the exploit has injected? If I am able to do this I also want to change the text of my button from "inject" to "injected"
Replied
To change text just to something like button1.Text = "Injected";. Replace button1 with your button name. To check if it's injected, it depends what API you are using. If you are using WRD API do this:
if (api.isAPIAttached() == true)
{
// code here
}
Although you can optionally remove == true. I just put it there so it's easier to understand. So basically, this is the code to check if it's injected and change the text:
if (api.isAPIAttached()) {
button1.Text = "Injected";
} else {button1.Text = "Inject";
}
Remember to change button1 to your button name like I said earlier.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post