Universal Script 📌
2.4k Views
36 Executions

basic Moonsec v3 dumper (readable version)

Universal Script 📌
VerbalHubOfficial
VerbalHubOfficial10 followers
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

readable

View Raw
local output_dir = "unpacked_output"
if not isfolder(output_dir) then makefolder(output_dir) end

local headers = { "all", "readable", "obfuscated", "suspicious" }
local output_files = {}
for _, name in ipairs(headers) do
    local path = output_dir .. "/" .. name .. ".txt"
    output_files[name] = path
    if not isfile(path) then
        writefile(path, "-- " .. name:upper() .. " --\n\n")
    end
end

local orig_appendfile = appendfile or function() end
function appendfile(file, content)
    if not isfile(file) then writefile(file, "") end
    orig_appendfile(file, content)
end

local function classify(k, v)
    local cats = {}
    if type(v) == "string" then
        if #v > 40 and v:match("[^%w%s]") then cats.obfuscated = true end
        if #v > 100 and not v:match("[%s]") then cats.suspicious = true end
        if #v > 2 and not v:match("^%d+$") then cats.readable = true end
    end
    return cats
end

local function deep_unpack(tbl)
    for _, v in pairs(tbl) do
        if type(v) == "table" then
            deep_unpack(v)
        elseif type(v) == "string" then
            local cats = classify(_, v)
            for cat in pairs(cats) do
                if output_files[cat] then appendfile(output_files[cat], v .. "\n") end
            end
        end
    end


Comments

14
Log in to join the conversation. Login
VerbalHubOfficial's profile picture
VerbalHubOfficialUploader1 year ago

it also depends on the scripts

1
SyrexGenesis's profile picture
SyrexGenesis1 year ago

Nvm tested it out and didn't worked

1
VerbalHubOfficial's profile picture
VerbalHubOfficialUploader1 year ago

@SyrexGenesis only works for moonsec v3 obfuscated scripts

1
SyrexGenesis's profile picture
SyrexGenesis1 year ago

@VerbalHubOfficial I did one and it didn't worked

1
VerbalHubOfficial's profile picture
VerbalHubOfficialUploader1 year ago

@SyrexGenesis send the script

1

[deleted]

Replying to a deleted comment
VerbalHubOfficial's profile picture
VerbalHubOfficialUploader1 year ago

@SyrexGenesis it worked for me https://pastebin.com/raw/5diWXUT7

1
SyrexGenesis's profile picture
SyrexGenesis1 year ago

@VerbalHubOfficial does it automatically copy the pastebin for u to paste or a txt file in workspace to what?

1
SyrexGenesis's profile picture
SyrexGenesis1 year ago

When I put the load string it will create a txt file in workspace right?

1