Giter Site home page Giter Site logo

mildsunrise / redasm-abc Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 23 KB

๐Ÿ•ต๏ธ Easy-to-use, simple assistant for SWF disassembly.

License: GNU General Public License v3.0

D 100.00%
reverse-engineering adobe-flash actionscript disassembler

redasm-abc's Introduction

Robust, Easy [Dis-]Assembler for ActionScript Bytecode

redasm-abc provides an easy and simple SWF reverse-engineering workflow using the excellent RABCDAsm assembler. Demo here.

Installation

You need a working D compiler to build redasm-abc. It's recommended you install liblzma and its development files, otherwise redasm won't be able to handle LZMA-compressed SWFs.

To build:

$ git submodule update --init
$ rdmd build_redasm.d

If it succeeds, copy the resulting executable to your PATH:

$ sudo install redasm /usr/local/bin

That's it! You should now be able to do redasm from anywhere.

Usage

Put the SWF you want to inspect in an empty directory.
Then run redasm to extract all its ABC blocks and disassemble them.
Edit what you want, then run redasm again to apply the changes to the SWF.

redasm-abc will create a directory for each disassembled ABC block (block-0, block-1, block-2) where its dissassembly lives. Never rename the directories themselves, nor modify the SWF yourself. This will confuse redasm-abc.

Tips

Just after running redasm on an SWF, you should immediately add the files to i.e. Git, even if you're just planning to read the assembly.

redasm
git init && git add -A
git commit -m "disassemble SWF"

Also read the tips on RABCDAsm itself.

Before disassembling an SWF for the first time, redasm creates a backup of the SWF ending in .bak, at the same directory.

redasm-abc's People

Contributors

mildsunrise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

guoht

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.