Monday, January 18, 2016

Decompile Lua Pre-Compiled Chunks


Decompile/extract Lua pre-compiled chunks to readable codes.

Download and install Lua for Windows.

Sample script provided in the screenshot.

***
I created a simple string decoder.

2 comments:

  1. How can we develop our own handycache applications?

    For example, I do not understand how this structure is carried out, and moreover, what is put as a pattern of numbers in the loadstring

    --[[
    @name 200 OK gzip to 200 OK
    @author euverve/thatskie
    @version 1.0.0.0
    @description Update header
    @rule (^https?:\/\/.*?\.\w{2,4}\/.*?\.\w{2,5})
    @exception (\.(html?|aspx?|jsp|php)$|\/$)
    @exception \.(css|js)
    @exception ^https.*?:(443|282|8166|8777)$
    @event BeforeRequestHeaderSend
    @event Init
    ]]

    loadstring('\27\76\117\97\82\0\1\4\4\4\8\0\25\147\13\10\26\10\1\0\0\0\1\0\0\0\0\0\3\15\0\0\0\37\0\0\0\8\0\0\128\6\64\64\0\7\128\64\0\101\6\16\0\0\0\12\0\0\0\40\102\111\114\32\115\116\97\116\101\41\0\4\0\0\0\6\0')()

    ReplyDelete
  2. i would like to make the extensions. =(

    ReplyDelete