There is a Lua script coded using the Base64 algorithm and compiled.

There is a decoding function: function base64.decode (data)

How to get the source code?

Closed due to the fact that the essence of the issue is incomprehensible by the participants aleksandr barakin , Streletz , VenZell , zRrr , D-side 29 May '16 at 21:07 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    about "how to get the source code," based on the information you provided, I'm afraid it is impossible to answer.

    and you can decode file.enc using the base64.decode function, for example, like this:

     local input_file = io.open( 'file.enc', 'r' ) local output_file = io.open( 'file.dec', 'w' ) output_file:write( base64.decode( input_file:read() ) ) input_file:close() output_file:close() 

    the decoded content will be written to file.dec .

    • and how to decompile it? - eri
    • If you have a new question, please ask it using the “ Ask a Question ” button in the upper right corner of the page. - aleksandr barakin