Categories > Exploiting > WRD Exploit API >
How do I setup the C++ API for WeAreDevs?
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.
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
Replied
Can you link some of this videos that you are talking about? Thanks.
Replied
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 Positions | Beginners tutorial in making exploits
Not a protogen furry
Replied
@MainDabHello! What kind of project does it need to be Forms or Console?
Replied
Available on Discord at Main_EX#3898
My Discord Server / MainDab
Top 10 Poop Positions | Beginners tutorial in making exploits
Not a protogen furry
Replied
@dragon20084hi please learn the basics of c++, winform / wpf
uhh full steak dev
too busy with school
nodejs is yes
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 )