Package for moonsec testing
Project description
An NPM package for obfuscating scripts with Moonsec V3 (THIS IS NOT OFFICIAL)
Example:
// Load moonsec
const msec = require('moonsec')
// Load fs (For file saving)
const fs = require('fs')
// Creates a client. new msec.Client(API Key)
const client = new msec.Client('your api key')
// Obfuscates a script. client.obfuscate(script, options, callback)
client.obfuscate('print("Hello World") MS_WATERMARK("Your watermark")', {
"platform": "lua", // roblox (for excutors), lua (for things like repl), fivem (for fivem), robloxstudio (for server scripts)
"maxsecurity": true, // Enables code optimization, uses more secure structures and increases security. Best when used with anti tamper. Not recommended on big scripts.
"antitamper": true, // This uses loadstring or load, so your platform must support one of them. Uses a cool loader-like protection to ensure the safety of the VM as well as your code. File size might be 80kb more than usual.
"constantprotection": true, // Encrypt constants and adds runtime integrity checks against deserializer/interpreter tampering.
"requireprotection": false // Only for robloxstudio
}, async function(script, downloadurl) {
console.log(downloadurl)
await fs.writeFile('output.lua', script, function(err) {})
})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
moonsectesting-0.0.1.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file moonsectesting-0.0.1.tar.gz
.
File metadata
- Download URL: moonsectesting-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32057391303b1603fe3d31a99e3b514f2c35459e4e3956a8cdbae7b596498fa |
|
MD5 | d4cc9a9dbacbbab4c97b72e471671dee |
|
BLAKE2b-256 | 2c1eb1b25ccde6258bcc8d8e3e87d8d2c852d3e1d47bbcc5684e532e0fc10caa |
Provenance
File details
Details for the file moonsectesting-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: moonsectesting-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bec74264bc0cebc8c9ad2610d8af2deb0460ef8b5c80d24f6e874810daeeb51 |
|
MD5 | db9602e378a37c6f5415e8c7807d3f06 |
|
BLAKE2b-256 | d7a6fe964c438e59fb26273f16389442712e4ac5789a52faa43483ca3361f577 |