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
Cancel
Post
Replied
Can you link some of this videos that you are talking about? Thanks.
Cancel
Post
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
Cancel
Post
Top 10 Poop Positions | Beginner's tutorial in making exploits
Xi Jinping Winnie the Pooh
Replied
@61084Hello! What kind of project does it need to be Forms or Console?
Cancel
Post
Top 10 Poop Positions | Beginner's tutorial in making exploits
Xi Jinping Winnie the Pooh
Replied
@71541hi please learn the basics of c++, winform / wpf
Cancel
Post
https://cdn.discordapp.com/attachments/1023423265160560745/1132948683747500092/Frame_12x.png
Replied
why even trying to use the C++ api while you don't know how to use it?
Cancel
Post
Random quote here...
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post