Forum > Coding >

Injection Status - How?

Posts: 2

Threads: 1

Joined: Aug, 2019

Reputation: 0

Posted

I'm assuming you would use isAPIAttached(), however I'm brand new to C#.

 

In a VS windows form, how would I go about displaying the injection status?

 

(Yes I do have my UI made, and all the necessary features.)

  • 0

Posts: 43

Threads: 2

Joined: Apr, 2018

Reputation: 0

Replied

From the docs <https://wearedevs.net/d/Exploit%20API#PrebuiltCommands>:

isAPIAttached() Returns true if the module is attached, false otherwise

Something like if isApiAttached() { label.text = "Attached" } else { label.text = "Not Attached" }. It's a pseudocode.

  • 0

Posts: 2

Threads: 1

Joined: Aug, 2019

Reputation: 0

Replied

@GuestSumNumber thanks for you reply.. that makes a lot of sense to me, however when I insert it as

 

        private void TextBox1(object sender, EventArgs e)

        {

            if (api.isAPIAttached())

            {

                TextBox1.Text = "Attached";

            }

            else

            {

                TextBox1.Text = "Not Attached";

            }

 

I get CS0119: 'Form1.TextBox1(object, EventArgs)' is a method, which is not valid in the given context.

So I'm pretty stumped. Any ideas?

  • 0

PoopMaster

SoundInfinity

noticed

Posts: 120

Threads: 23

Joined: Jul, 2019

Reputation: 9

Replied

@TheRealPengu

I think that error is given because you set TextBox1 as a function, so it replaces the object.

  • 1

Proud creator of: WRD+

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )