Forums > 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

        }

    }

}

 

0x777_

Baba Yaga

Posts: 1673

Threads: 17

Joined: Sep, 2020

Reputation: 21

Replied

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

Genisys NEW INVITE -> https://discord.gg/fKFvQh8kk6

 

Discord -> null#8619

deadlocust

dead lotion

vip

Posts: 1703

Threads: 55

Joined: Dec, 2020

Reputation: 26

Replied

Don't use anything from speedsterdevs.

C#/C++ Developer [GITHUB]

Relatively incompetent

Posts: 3

Threads: 1

Joined: Jul, 2021

Reputation: 0

Replied

What open source api do you recommend then?

ImmuneLion318

Immune

vip

Posts: 784

Threads: 50

Joined: Oct, 2019

Reputation: 40

Replied

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

[Nihon Discord] [Nihon Download] Nihon (Owner/Founder)

If You Need Me I'm Fairly Active On Discord : ImmuneLion318#0001 Or Just Join Nihon Discord

I Say Stuff On WeAreDevs Also -> Nihon Site

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:)

ImmuneLion318

Immune

vip

Posts: 784

Threads: 50

Joined: Oct, 2019

Reputation: 40

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

[Nihon Discord] [Nihon Download] Nihon (Owner/Founder)

If You Need Me I'm Fairly Active On Discord : ImmuneLion318#0001 Or Just Join Nihon Discord

I Say Stuff On WeAreDevs Also -> Nihon Site

swiney2

swiney2#8267

Posts: 76

Threads: 5

Joined: Jul, 2021

Reputation: 6

Replied

spedster api.. 

to fix it: 

1. dont use it

2. unninstall it

CUI

 

{Github} / {Discord: 722352004470407168}

boyke

boyke#6342 / boyke:1234

patron

Posts: 372

Threads: 6

Joined: May, 2021

Reputation: 11

Replied

dont use sped api powered by calamari

 

and when you want to make an api u needa learn c++ for the dll and c# for the api

Paid exploits i own: Synapse X, Script-Ware, Sentinel, Scripts: Cuteware

Programming languages i know: C# (intermediate), C++ (beginner), LUA (intermediate)

stupid 12 y/o

JalapenoGuy

Skiddo

vip

Posts: 1146

Threads: 80

Joined: Apr, 2020

Reputation: 18

Replied

If want an open sourced api, then wrd api.

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

- JalapenoGuy

boyke

boyke#6342 / boyke:1234

patron

Posts: 372

Threads: 6

Joined: May, 2021

Reputation: 11

Replied

also, closed source apis doesnt mean that u are a skid

Paid exploits i own: Synapse X, Script-Ware, Sentinel, Scripts: Cuteware

Programming languages i know: C# (intermediate), C++ (beginner), LUA (intermediate)

stupid 12 y/o

SirWeeb

Novaline Owner

Posts: 250

Threads: 10

Joined: Jul, 2021

Reputation: 10

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.

"And when I injected, it just re-sized all the windows on my desktop" - DeepPain

Discord: SirWeeb#1135 | Novaline: Download

Exploits I use: Novaline | Synapse X | Script-Ware

MINISHXP

minishxp#9667

Posts: 1077

Threads: 34

Joined: Jan, 2021

Reputation: 5

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++

The Tiananmen Square protests, known as the June Fourth Incident in China (Chinese六四事件pinyinliùsì shìjiàn)

WonderX86

Jafarr_x86#9120

Posts: 57

Threads: 9

Joined: Jun, 2021

Reputation: 0

Replied

speed gay

Content length must be 10-5000 chars

Content length must be 10-5000 chars

Content length must be 10-5000 chars

buy my cum sock pls

TERIHAX

Desire Development

Posts: 1331

Threads: 45

Joined: Jul, 2020

Reputation: 6

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

Dsc: https://discord.com/users/883050084537860117

Use Desire Reborn: Hot UI, Many Features discord.io/DesireReborn

Rep Goal: +10


Next >>>