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 hashes)
Built Distribution
Close
Hashes for moonsectesting-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bec74264bc0cebc8c9ad2610d8af2deb0460ef8b5c80d24f6e874810daeeb51 |
|
MD5 | db9602e378a37c6f5415e8c7807d3f06 |
|
BLAKE2b-256 | d7a6fe964c438e59fb26273f16389442712e4ac5789a52faa43483ca3361f577 |