Forum > Suggestions >
C# Get Lua Output
Posted
Hello,
I was looking to see if you could add this feature to get lua output from the WeAreDevs Api. It would be quite helpful for certain scripts. Example:
using System;
using WeAreDevs_API;
namespace OutputExample
{
class OutputExample
{
Api = new ExploitApi();
static async void Main(string[] args)
{
Api.LaunchExploit();
if (Api.isApiAttached())
{
LuaOutput output = await Api.EvaluateScript("print('Hello world!')");
Console.WriteLine(output.Result.ToString()); // "Hello world!"
}
}
}
Replied
Would Be Really Usefull on an API ,Great Idea.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post