Forum > Suggestions >

C# Get Lua Output

Posts: 4

Threads: 2

Joined: Jan, 2020

Reputation: 0

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!"

             }

        }

}

  • 0

Posts: 16

Threads: 1

Joined: Nov, 2019

Reputation: 0

Replied

Would Be Really Usefull on an API ,Great Idea.

  • 0

Users viewing this thread:

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