Code Monkey home page Code Monkey logo

unluac-d's Introduction

unluac-d: Dockerized Luac decompiler

Dockerized versions of unluac for decompiling luac files from wherigo containers regardless of the execution environment.

Currently, dockerizes an old binary version unluac_2015_06_13.jar in two ways:

  • unluac-docker/ a dockerfile for creating 'standard' docker image that
    • reads input (luac file to decompile) from bind-mount and
    • prints results to STDOUT
  • unluac-docker-faas/ a dockerfile (based on unloac-docker) for creating "function-as-a-service" docker image where unluac is wrapped with OpenFaas's function watchdog to
    • read input (luac file to decompile) from HTTP POST request
    • send results to HTTP POST response

The purpose is to make it easy to decompile luac files extracted from wherigo containers regardless of the execution environment.

Usage

unluac-docker:

Build docker image

cd unluac-docker && docker build -t mrummuka/unluac-docker .

Run docker container to decompile luac

docker run --rm -v /path/to/luacdir/:/data mrummuka/unluac-docker:latest

Note: unluac-docker expects to find cartridge.luac in /path/to/luacdir/

unluac-docker-faas:

Build docker image

cd unluac-docker-faas && docker build -t mrummuka/unluac-docker-faas .

Start docker container

docker run --rm -p 8080:8080 mrummuka/unluac-docker-faas:latest

Decompile using unluac-docker-faas

`curl -XPOST --data-binary @cartridge.luac localhost:8080 -o output.file`

See also

Licence

  • MIT
    • Unluac: unluac-docker/unluac_licence.txt
    • fwatchdog: unluac-docker-faas/openfaas_licence.txt

Sources

[1] https://sourceforge.net/projects/unluac

[2] https://github.com/openfaas/faas/tree/master/watchdog

unluac-d's People

Contributors

mrummuka avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.