🔏
MoonSec Obfuscator
  • MoonSec Obfuscator Macros
  • MoonSec REST API docs
Powered by GitBook
On this page

Was this helpful?

MoonSec REST API docs

This documentation will show you how to use moonsec obfuscator's web api to automatically obfuscate files.

Obfuscate a script

POST https://api.f3d.at/v1/obfuscate.php?key={api_key}&options={parameters}&bytecode={number}&platform={parameter}

This endpoint allows you to obfuscate your scripts. Note that parameter values are NOT case sensitive. Which means you can do platform=Roblox or platform=roblOX. It doesn't matter.

Path Parameters

Name
Type
Description

v1

string

Version of the API. This is currently v1.

Query Parameters

Name
Type
Description

key

string

API key.

options

string

Specifies which features you want to enable. If you don't include this param, it will be maximum by default. You can find a list of valid options below.

bytecode

integer

Specifies the bytecode appearance. Default is 2. You can find a list of them below

platform

string

Specifies the platform lock. Default is "lua". Valid platforms are: lua, roblox, csgo

Request Body

Name
Type
Description

string

Request body must be your raw script.

_5FQkEjQlBehFAQjaA, Protected_by_MoonSecV2, Discord = 'discord.gg/gQEH2uZxUk' ,nil,nil;(function() _msec=(function(_,e,l)local W=e........
moonsec_cli:5: Unfinished string near ")"

Options must be connected with + in the query. Example:

// example code
var request = (HttpWebRequest)WebRequest.Create("https://api.f3d.at/v1/obfuscate.php?key=0000bfbf&options=stringencryption+antidump&platform=Roblox&bytecode=3");


byte[] _byteScript = Encoding.UTF8.GetBytes(script);
request.Method = "POST";
request.ContentType = "text/html charset=utf-8;";
request.ContentLength = _byteScript.Length;
using (var stream = request.GetRequestStream())
{
    stream.Write(_byteScript, 0, _byteScript.Length);
}
			
			
try{
			var response = (HttpWebResponse)request.GetResponse();
			var responseString = new StreamReader(response.GetResponseStream()).ReadToEnd();
			richTextBox2.Text = responseString;
}
catch (WebException ex) { 
			MessageBox.Show(ex.Message); 
}

Current options: (they are not case sensitive)

  • StringEncryption

  • ConstantEncryption

  • AntiDump

  • SmallOutput

There are 7 bytecode options as of now.

  • 0 : Arabic

  • 1 : Letters 1

  • 2 : Symbols 1 (?^+%&/()€#)

  • 3 : Russian

  • 4 : Whitespace

  • 5 : Chinese

  • 6 : Emoji

There are 3 platforms for now.

  • lua : Runs on all platforms, but roblox.

  • roblox : Runs only on roblox.

  • csgo : Runs on CS:GO executors.

PreviousMoonSec Obfuscator Macros

Last updated 4 years ago

Was this helpful?