Categories > Exploiting > WRD Exploit API >

How do I setup the C++ API for WeAreDevs?


Posts: 3

Threads: 1

Joined: Nov, 2021

Reputation: 0

  • 0

Posted

Hello, the description on how to setup the C++ API is kind of *unclear*. If you can please send some steps on how to do it. 

TERIHAX

Tires#3415

Posts: 1565

Threads: 57

Joined: Jul, 2020

Reputation: 10

  • 0

Replied

how is it unclear in any way?

 

its that simple:

1. add reference to cpp api

2. put this:

[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool LaunchExploit();

[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool SendLuaCScript(string script);

[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool SendLuaScript(string script);

in the code of the executor's main window or form

 

and then use thee SendLuaScript("script here") to run scripts and use LaunchExploit() to inject

 

if you still don't understand you should just watch at least like 10 exploit tutorials to get at least the basics to add reference, where to add code etc

Dsc: https://discord.com/users/883050084537860117

"teri teri peri peri sauce" - deadlocust (reply me with a quote & i might put it here)

Rep Goal 10 - Thanks for The Rep :O

Posts: 3

Threads: 1

Joined: Nov, 2021

Reputation: 0

  • 0

Replied

Can you link some of this videos that you are talking about? Thanks.

MainDab

Main_EX#3898

Posts: 479

Threads: 41

Joined: Sep, 2020

Reputation: 9

  • 0

Replied

@dragon20084

 

Using it is relatively simple. Here we go again... 

 

Step 1


Download the WRD C++ version and put it in the same directory as the exploit you're making 

 

Step 2


You're now going to reference the functions that you will import from the DLL on runtime. 

[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool LaunchExploit();

[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool SendLuaCScript(string script);

[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool SendLuaScript(string script);

 

This is exactly as what Terihax said above. Place this somewhere in your code, in a suitable place. You should know where.

 

Step 3


Again, as Terihax said, all you need to do to call the functions is this

LaunchExploit(); // Inject/Attach WeAreDevs

SendLuaScript(string); // Execute a script
SendLuaScript("print(\"Hi\")"); // Usage example
// You can format the string using www.freeformatter.com/java-dotnet-escape.html#ad-output

It's actually very easy and this should be sufficient

 

If you have issues feel free to reply 

Available on Discord at Main_EX#3898

My Discord Server / MainDab
Top 10 Poop PositionsBeginners tutorial in making exploits

Not a protogen furry

Posts: 3

Threads: 1

Joined: Nov, 2021

Reputation: 0

  • 0

Replied

@MainDabHello! What kind of project does it need to be Forms or Console?

MainDab

Main_EX#3898

Posts: 479

Threads: 41

Joined: Sep, 2020

Reputation: 9

  • 0

Replied

@dragon20084 Forms... if you're making a UI.

 

 

Available on Discord at Main_EX#3898

My Discord Server / MainDab
Top 10 Poop PositionsBeginners tutorial in making exploits

Not a protogen furry

CrackerIsHere

rice cracker

Posts: 114

Threads: 4

Joined: Aug, 2021

Reputation: 8

  • 0

Replied

@dragon20084hi please learn the basics of c++, winform / wpf

uhh full steak dev

too busy with school

nodejs is yes

Aja

Zenexya#2964

Posts: 961

Threads: 113

Joined: Apr, 2021

Reputation: 2

  • 0

Replied

why even trying to use the C++ api while you don't know how to use it?



Users viewing this thread:


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