Categories > Coding > C# >

Error in open source roblox api.

Posts: 3

Threads: 1

Joined: Jul, 2021

Reputation: 0

Posted

Hi, im currently trying to learn how roblox exploits works, and a saw an open source API from a guy called "speedsterkawaii". I tried it, rebould solution.  I made a new project and added the dll as references, but when pressing the button for injection I'm getting this error DLL not found!

SpeedSterDLL.dll couldn't be found!

 


Code of Windows Form Application:

using System;

using System.Windows.Forms;

using SpeedAPI;

 

namespace WindowsFormsApp3

{

    public partial class Form1 : Form

    {

 

        Speed api = new Speed();

        public Form1()

        {

            InitializeComponent();

        }

 

        private void Form1_Load(object sender, EventArgs e)

        {

            

        }

 

        private void button1_Click(object sender, EventArgs e)

        {

            api.Attach();

        }

    }

}

 


Code of api : 

using System;

using System.Collections.Generic;

using System.Diagnostics;

using System.IO;

using System.IO.Pipes;

using System.Linq;

using System.Runtime.InteropServices;

using System.Text;

using System.Threading;

using System.Threading.Tasks;

using System.Windows.Forms;

 

namespace SpeedAPI

{

    public class Speed

    {

        /* This is an open source API i have developed. */

        /* Please add credits to speedsterkawaii for api :C */

 

        /* In order to change API Name, Go to Project > SpeedAPI Properties > Assembly/Namespace to API Name. */

 

        public void Attach() 

        {

if (NamedPipeExist(PipeName)) 

{

// The Pipe is Already Connected, No Need to Attach Again.

MessageBox.Show(DLLName + " is Already Attached!", "Already attached!");

}

            else 

{

                if (File.Exists(DLLName)) 

                {

                    // We add the dll into roblox.

                    this.AddDLLIntoRoblox(); // Add the DLL into the Roblox Process.

                }

                else 

                {

                    // The DLLName was Not Found, PUT THE DLL THEN RETARD.

                    MessageBox.Show(DLLName + "couldn't be found!", "DLL not found!");

                }

}

        }

 

        public void Execute(string lscript) 

        {

if (NamedPipeExist(PipeName)) 

{

// Pipe exist, we can send data (scripts) to the pipename.

this.SendScriptData(lscript);

}

            else 

{

// The pipe doesnt exist, first we need to tell them to attach.

MessageBox.Show("Please Attach before Executing the Script!", "Please attach!");

}

        }

 

        private bool NamedPipeExist(string pipe)

        {

            // Why dont people just put this line? ITS SO DAMN EASY.

            return Directory.GetFiles(@"\\.\pipe\").Contains($@"\\.\pipe\{pipe}");

        }

 

public static string PipeName = "SpeedPipe"; // This will be your lua pipe name.

 

public static string DLLName = "SpeedSterDLL.dll"; // This will be the DLL Name.

 

        private void SendScriptData(string script) 

        {

new Thread(delegate () 

{

try

{

using (NamedPipeClientStream speedpipeclienstream = new NamedPipeClientStream(".", PipeName, PipeDirection.Out))

{

speedpipeclienstream.Connect();

using (StreamWriter streamWriter = new StreamWriter(speedpipeclienstream, Encoding.Default, 999999))

{

streamWriter.Write(script);

streamWriter.Dispose();

}

speedpipeclienstream.Dispose();

Thread.Sleep(10000);

}

}

catch (IOException)

{

MessageBox.Show("IO Exception: Couldn't handle script execution.", "Connection Failed.");

}

catch (Exception ex)

{

MessageBox.Show(ex.Message.ToString()); // Caught Error While Executing the Script to the 

}

}).Start();

}

 

        private bool AddDLLIntoRoblox() 

        {

            if (Process.GetProcessesByName("RobloxPlayerBeta").Length == 0) // Get Process "RobloxPlayerBeta".

            {

                return false;

            }

            Process process = Process.GetProcessesByName("RobloxPlayerBeta")[0];

            byte[] bytes = new ASCIIEncoding().GetBytes(AppDomain.CurrentDomain.BaseDirectory + DLLName); // Add the DLL into the Process RobloxPlayerBeta.exe

            IntPtr hModule = LoadLibraryA("kernel32.dll");

            UIntPtr procAddress = GetProcAddress(hModule, "LoadLibraryA");

            FreeLibrary(hModule);

            if (procAddress == UIntPtr.Zero)

            {

                return false;

            }

            IntPtr intPtr = OpenProcess(ProcessAccess.AllAccess, false, process.Id);

            if (intPtr == IntPtr.Zero)

            {

                return false;

            }

            IntPtr intPtr2 = VirtualAllocEx(intPtr, (IntPtr)0, (uint)bytes.Length, 12288u, 4u);

            UIntPtr uintPtr;

            IntPtr intPtr3;

            return !(intPtr2 == IntPtr.Zero) && WriteProcessMemory(intPtr, intPtr2, bytes, (uint)bytes.Length, out uintPtr) && !(CreateRemoteThread(intPtr, (IntPtr)0, 0u, procAddress, intPtr2, 0u, out intPtr3) == IntPtr.Zero);

        }

 

        [DllImport("kernel32", CharSet = CharSet.Ansi, SetLastError = true)]

        internal static extern IntPtr LoadLibraryA(string lpFileName);

 

        [DllImport("kernel32", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]

        internal static extern UIntPtr GetProcAddress(IntPtr hModule, string procName);

 

        [DllImport("kernel32.dll", SetLastError = true)]

        [return: MarshalAs(UnmanagedType.Bool)]

        internal static extern bool FreeLibrary(IntPtr hModule);

 

        [DllImport("kernel32.dll")]

        internal static extern IntPtr OpenProcess(ProcessAccess dwDesiredAccess, [MarshalAs(UnmanagedType.Bool)] bool bInheritHandle, int dwProcessId);

 

        [DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)]

        internal static extern IntPtr VirtualAllocEx(IntPtr hProcess, IntPtr lpAddress, uint dwSize, uint flAllocationType, uint flProtect);

 

        [DllImport("kernel32.dll", SetLastError = true)]

        internal static extern bool WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, uint nSize, out UIntPtr lpNumberOfBytesWritten);

 

        [DllImport("kernel32.dll")]

        internal static extern IntPtr CreateRemoteThread(IntPtr hProcess, IntPtr lpThreadAttributes, uint dwStackSize, UIntPtr lpStartAddress, IntPtr lpParameter, uint dwCreationFlags, out IntPtr lpThreadId);

 

        [DllImport("kernel32.dll", SetLastError = true)]

        internal static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [Out] byte[] lpBuffer, int dwSize, out int lpNumberOfBytesRead);

 

        [Flags]

        public enum ProcessAccess

        {

            AllAccess = 1050235,

            CreateThread = 2,

            DuplicateHandle = 64,

            QueryInformation = 1024,

            SetInformation = 512,

            Terminate = 1,

            VMOperation = 8,

            VMRead = 16,

            VMWrite = 32,

            Synchronize = 1048576

        }

    }

}

 

  • 0

Posts: 2099

Threads: 10

Joined: Sep, 2020

Reputation: 62

Replied

Step 1 don't use anything from speedster l, he's an idiot

  • 0

Discord : Doctor Doom#0550

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

Don't use anything from speedsterdevs.

  • 0

Posts: 3

Threads: 1

Joined: Jul, 2021

Reputation: 0

Replied

What open source api do you recommend then?

  • 0

Posts: 1479

Threads: 95

Joined: Oct, 2019

Reputation: 103

Replied

Why Even Usd A Open Source API Just Use A API Like Any Normal Person 

  • 0

Posts: 3

Threads: 1

Joined: Jul, 2021

Reputation: 0

Replied

Cause i don't just want to full out skidd it, i want to learn how to exploits api works and in the futrue make my own:)

  • 0

Posts: 1479

Threads: 95

Joined: Oct, 2019

Reputation: 103

Replied

@Al3X Learn C++ And Dll's API Is Just For Communication Between Dll And UI Using A Open Source API Won't Help Anything

  • 0

swiney2

swiney2#8267

vip

Posts: 237

Threads: 9

Joined: Jul, 2021

Reputation: 20

Replied

spedster api.. 

to fix it: 

1. dont use it

2. unninstall it

  • 0

Im not really active anymore, so alot of my information isnt updated. 

https://media.discordapp.net/attachments/836952000876511252/950508582892367912/pigeon_siggy.png

Posts: 1138

Threads: 84

Joined: Apr, 2020

Reputation: 34

Replied

If want an open sourced api, then wrd api.

  • 0

modifying a ui and calling it yours does mean it's your ui.

- JalapenoGuy

https://media.discordapp.net/attachments/769992459916017687/1065084754128539658/image0.jpg

Posts: 1316

Threads: 54

Joined: Jul, 2021

Reputation: 64

Replied

SpeedSter is one of the biggest skids in this whole community. Don't use anything from him since he tries to claim credit for code he did not write and you're only feeding him to continue.

  • 0

Mail me at sirweebdev@protonmail.com if you have any questions or you want to say anything to me, I'll reply (maybe).

MINISHXP

[REDACTED]

Posts: 976

Threads: 3

Joined: Jan, 2021

Reputation: 9

Replied

DO NOT use anything from speedsterdevs or whatever because hes a f*(u)cking idiot.

id rather just learn basic c# and maybe c++

  • 0

WonderX86

mr.1000

Posts: 81

Threads: 10

Joined: Jun, 2021

Reputation: -55

Replied

speed gay

Content length must be 10-5000 chars

Content length must be 10-5000 chars

Content length must be 10-5000 chars

  • 0

i killed skiehacker's dad lol uwu

TERIHAX

i say im gay as a joke 🙀

Posts: 2240

Threads: 102

Joined: Jul, 2020

Reputation: 32

Replied

@Al3X imagine using speed's skidded crap, i mean like theres no use trying to make an api when you dont even know how to make a dll, i highly doubt you have anyone that could make a dll for your api.

 

AND, i also doubt you know theres a difference between an api and dll

  • 0

iCyphy

iCyphyDev

vip

Posts: 270

Threads: 14

Joined: May, 2021

Reputation: 4

Replied

how to reply (a joke)

  • 0

https://cdn.discordapp.com/attachments/822379977440886834/917427277770407946/the_one_only_banner.png

Posts: 2014

Threads: 198

Joined: Apr, 2021

Reputation: 16

Replied

imagine using something from speedster lmao

  • 0

Random quote here...

Next >>>

Users viewing this thread:

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