prometheus-lua / Prometheus

Lua Obfuscator written in pure Lua
https://levno-710.gitbook.io/prometheus/
GNU Affero General Public License v3.0
220 stars 65 forks source link

[BUG] #81

Closed VollGram closed 1 year ago

VollGram commented 2 years ago

Bug Happen When Try To Use powershell function powershell cant download items(txt>notepad)> i use rentry domain (using this obfus) >for reading files (Work Perfectly) > but you need double encryption or more or else its will crash

i tried using source code ( its can download and regenerated files to this >$user = "C:\Users\" + $env:UserName + "\AppData\Local\tested.txt"

function psell()
    local regen = [[
    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    $user = "C:\Users\" + $env:UserName + "\AppData\Local\tested.txt"
    $WebClient = New-Object net.webclient
    $raw = $WebClient.DownloadString("]]..link..[[")
    Set-Content -Path $user -Value $raw
    ]]
    local pipe = io.popen("powershell -command -", "w")
    pipe:write(regen)
    pipe:close()
end