Categories > Coding > C# >
Error in open source roblox api.
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
}
}
}
Replied
Step 1 don't use anything from speedster l, he's an idiot
Cancel
Post
Discord : Doctor Doom#0550
Replied
Don't use anything from speedsterdevs.
Cancel
Post
Replied
What open source api do you recommend then?
Cancel
Post
Replied
Why Even Usd A Open Source API Just Use A API Like Any Normal Person
Cancel
Post
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:)
Cancel
Post
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
Cancel
Post
Replied
spedster api..
to fix it:
1. dont use it
2. unninstall it
Cancel
Post
Im not really active anymore, so alot of my information isnt updated.
https://media.discordapp.net/attachments/836952000876511252/950508582892367912/pigeon_siggy.png
Replied
If want an open sourced api, then wrd api.
Cancel
Post
modifying a ui and calling it yours does mean it's your ui.
- JalapenoGuy
https://media.discordapp.net/attachments/769992459916017687/1065084754128539658/image0.jpg
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.
Cancel
Post
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++
Cancel
Post
Replied
speed gay
Content length must be 10-5000 chars
Content length must be 10-5000 chars
Content length must be 10-5000 chars
Cancel
Post
i killed skiehacker's dad lol uwu
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
Cancel
Post
Replied
how to reply (a joke)
Cancel
Post
https://cdn.discordapp.com/attachments/822379977440886834/917427277770407946/the_one_only_banner.png
Replied
imagine using something from speedster lmao
Cancel
Post
Random quote here...
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post