Hi! ExampleLoader is a cheat loader written in C#. The name says it all, this is just an example. Do not expect any sort of anti-leak features for injection. This is mostly a demonstration of the awesome stuff you can do with CefSharp.
- Manual Map injection
- PHP Login API
- HWID System
- Product Selection (hardcoded)
- Remember me
- Clean design
- Animations
- ParticleJS background
This loader features a clean design made possible by CefSharp. CefSharp lets us use an embed Chromium Browser. Meaning we will be able to render HTML5, use JavaScript and most importantly run it smoothly.
Please note this is not a practical example of a loader, because of CefSharp this loader is far from standalone, in fact all of its dependencies will add up to a total size of over 100MB. Apart from that there also isn't any injection security implemented (as far as anti-leak), this is just a simple example of how to do a loader, but a pretty advanced example of what can be done with CefSharp. For example creating custom objects, and communicating with them through JavaScript.
Short demo video: https://i.gyazo.com/2720e902a3efc680ac1b2296f0531921.mp4
-
Create an MySQL database, and user. Assign the user to the database with at least SELECT and UPDATE permissions.
-
Create a table called
user
with the following columns: id, username, password and hwid.Or simply execute this SQL script:
Creating the table.
CREATE TABLE
user
(id
int(11) NOT NULL,username
varchar(255) NOT NULL,password
varchar(255) NOT NULL,hwid
varchar(255) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1;Adding primary key.
ALTER TABLE
user
ADD PRIMARY KEY (id
); -
Download the web-files, and change the credentials in
core/login.connect.php
to yours. -
Host the web-files. The url to
handle.php
will be your API url.
-
Download the loader source-code, and extract it.
-
Open the
Loader.sln
file, to open the project in Visual Studio. -
Right click the project in the Solution Explorer, then click on "Manage NuGet Packages".
-
Search for, and install the following packages:
- CefSharp.WinForms
- Newtonsoft.Json
-
Now go to
Core/Constants.cs
and change the apiUrl & dllUrl strings to yours. -
Make sure all files in the Content folder are set to "Copy always".
-
Also make sure you are building in x64 or x86. Im fairly sure CefSharp does support AnyCPU, but it will require some additional configuration.
Not going to guarantee any of these will be added soon. You could also use this as a todo list for yourself, as it does list some pretty important stuff.
- Password hashing
- End-to-end API encryption
- Registration API
- Proper subscription system