GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Zaczero/SharpLoader: 🔮 [C#] Source code randomizer and compiler

This repository was archived by the owner on Oct 5, 2019. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

109 Commits
109 Commits

Folders and files

NameName
Last commit message
Last commit date
SharpLoader
SharpLoader
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

User guide

What is SharpLoader?

SharpLoader is a program that opens source code files (c#), randomizes them and compiles to an .exe assembly.
This process reults a random file signature every time.

How to compile a SharpLoader project?

If everything is set up properly all you have to do is run SharpLoader.exe, select project .zip and click compile.

What is seed?

Seed is a unique randomization output.
Value is random by default but it's possible to set it manually.

How to set custom seed value?

Use -seed argument. SharpLoader.exe -seed 123

How to run SharpLoader in cmd?

Use -cmd argument. SharpLoader.exe -cmd

Developer guide

How to prepare source code files?

Currently there are available 8 randomization features (that are listed below).
Simply add proper tags to your source code.

//-<swap>
int a = 0;
int b = 0;
int c = 0;
//-<swap/>

TIP: You can use <tag> or //-<tag> if you prefer comments

Features:

1. Swap

//-<swap>
int a = 0;
int b = 0;
int c = 0;
//-<swap/>
//-<swap>
if (a == 0)
{ }
//-<block>
if (b == 0)
{ }
//-<swap/>

2. Trash

Adds from 1 to 6 lines of trash.

int a = 0;
//-<trash>
int b = 0;

2.1. Trash +1 argument

Adds from 1 to X lines of trash.

int a = 0;
//-<trash 5>
int b = 0;

2.2. Trash +2 arguments

Adds from X to Y lines of trash.

int a = 0;
//-<trash 4 12>
int b = 0;

3. Flow

Generates random code flow.

//-<flow>
int a = 0;
int b = 0;
int c = 0;
//-<flow/>
//-<flow>
if (a == 0)
{ }
//-<block>
if (b == 0)
{ }
//-<flow/>

4. Seed

Gets replaced with compilation seed value.

int seed = <seed>;

5. Random

Generates random int value.

int a = <rnd>;

5.1. Random +1 argument

Generates random int value from 0 to X.

int a = <rnd 25>;

5.2. Random +2 arguments

Generates random int value from X to Y.

int a = <rnd 100 200>;

6. Random String

Generates random string with 8-16 length.

string a = <rnds>;

6.1. Random String +1 argument

Generates random string with 1-X length.

string a = <rnds 25>;

6.2. Random String +2 arguments

Generates random string with X-Y length.

string a = <rnds 100 200>;

7. Encrypt

Encrpypts value.

int a = <enc 58>;
char a = <enc 'C'>;
string a = <enc "Hello World">;

8. Proxy

Generates proxy functions.

//-<proxy>
int a = 0;
int b = 0;
int c = 0;
//-<proxy/>
//-<proxy>
if (a == 0)
{ }
//-<block>
if (b == 0)
{ }
//-<proxy/>

8.1. Proxy +1 argument

Generates proxy functions inside X namespace.

//-<proxy MyNamepsace>
int a = 0;
int b = 0;
int c = 0;
//-<proxy/>
//-<proxy MyNamepsace>
if (a == 0)
{ }
//-<block>
if (b == 0)
{ }
//-<proxy/>

8.2. Proxy +1 argument

Generates proxy variables for X argument.

int a = <proxy 58>;
char a = <proxy 'C'>;
string a = <proxy "Hello World">;

How to configure SharpLoader?

All SharpLoader's configuration is stored in SharpLoader.ini file.
You can generate this file by running SharpLoader in cmd mode.

References

All references that your application use (dlls).
Separated by ';' character.
References=System.dll;System.Windows.Forms.dll

Directory

Main project directory.
Directory=MySources

TIP: Alternatively you can drag'n'drop source files/directories

Output

Compiled assembly name.
Output=MyApplication

Arguments

Compiler arguments (unsafe, prefer 32-bit etc.).
Arguments=/platform:anycpu32bitpreferred

AutoRun

Should assembly be run after successful compilation.
AutoRun=true

About

🔮 [C#] Source code randomizer and compiler

Topics

assemblycodecompilerencryptencryptionflowlinesobfuscatorprojectrandomrandomizationrandomizerruntimeseedsignaturesource-codeswaptooltrashtrashcode

Resources

Readme
GPL-3.0 license
Activity

Stars

41 stars

Watchers

1 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.