Forum > Coding >

I need help making auto execute.

Posts: 2

Threads: 1

Joined: May, 2020

Reputation: 0

Posted

So today i wanted to add auto execute to my exploit, i tried using readfile and it didn't work (possibly cuz of my api) so if anyone could help me i would really appreciate it.
Discord: epic gamer#9659

  • 0

gamer

Posts: 797

Threads: 70

Joined: May, 2020

Reputation: 9

Replied

id say this isnt smart and i would never add this feature because it doubt it will ever be used but just put this the code I would use (just replace things like script receiver with your own variables and cool stuff like that)

  1. If (ScriptReceiver.Text != "")
  2. {
  3.      Your command for executing goes here
  4. }
  • 0

Don't buy exploits its not worth it your gonna quit anyway

Taking accountability will help you excel in life

Posts: 2

Threads: 1

Joined: May, 2020

Reputation: 0

Replied

@57284i tried something like that, i also tried using readfile for the text file where you put the script but none of it is working

 

  • 0

gamer

AIpha

alpha

Posts: 156

Threads: 19

Joined: May, 2018

Reputation: 4

Replied

Not going to give code since that isn't how you learn
This is NOT real code use this as a guide to know what to do
Button click()

{
injectioncode
wait(idk 5 seconds?)

if(injected){
foreach(File file in directory)
{
try{
execute(file.readtext)
}
catch
}
}
}

  • 0

Was on WRD front page

Programs I own - Synapse X, Protosmasher, Sirhurt, Sweat Heart of Sigma Chi, Scriptware V2

Languages I know - C#,JS,Lua,VB.net
Learning - Python, C

Posts: 1

Threads: 0

Joined: May, 2020

Reputation: 0

Replied

DirectoryInfo dinfo = new DirectoryInfo("./autoexec");

                FileInfo[] Files = dinfo.GetFiles("*.txt");

                foreach (FileInfo file in Files)

                {

                    string autoexec = File.ReadAllText($"autoexec/{file}");

                    <Injector>.Execute(autoexec);

                }

  • 0

Users viewing this thread:

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