이 세상에 하나는 남기고 가자

이 세상에 하나는 남기고 가자

세상에 필요한 소스코드 한줄 남기고 가자

Flash swf 파일에서 ActionScript 추출하기(Show My Code)

유영재

예전에는 Flash를 가끔씩 사용했던 적이 있었지만 최근 몇년 동안에는 관련된 처리를 할 일이 없었다(요즘엔 거의 사용을 하지 않으니 개발할 이유도 없었다). 그런데 이번에 작업을 하던 중 직접 Flash를 제작하는 것이 아니라 이미 만들어진 swf 파일의 ActionScript 소스 코드를 확인해야 하는 일이 생겼다. swf Decompiler는 검색하면 많이 나오기 때문에 크게 어려운 일은 아니지만 대부분 데모 버전으로 ActionScript를 확인하는데 불편함이 있어서 찾아보던 중 ShowMyCode.com이란 사이트를 발견했다. 여기선 swf 파일을 올리면 바로 ActionScript를 확인 할 수 있고 다운 받을 수도 있다.

그런데 이 사이트는 swf decompile 만 제공하는 것이 아니라 아래의 프로그램들도 decompile 가능하다.

  • PHP file encoded with Zend Guard

    Decode and get source of php files encoded with Zend Guard. This process also called dezending and the program called dezender (de-zender). So, dezend php files and get the source code!

  • Java class

    Decompile java CLASS files and save source code in text. Reconstruct the original source code from the compiled binary.

  • Adobe flash swf

    Decompile flash ActionScript from the swf flash file. Use this online flash swf decompiler to get the source code of the swf file.

  • .NET application

    Decompile .NET application and get it source code. Now you can get close to original source code of C# (c sharp), Visual Basic .NET (VB.NET.), Visual C++ .NET (VC++.NET) and J# (jay-sharp).

  • QR Code Image

    QR-code Reader. Decode a QR Code and get text! It's a two-dimensional bar code. The "QR" is derived from "Quick Response". Most current mobile phones can read this code with their camera. UTF-8 is supported.

대부분 전문적인 decompiler 들이 있겠지만 간단히 확인이 필요할 때는 유용하게 사용할 수 있을 것 같아 남겨둔다.

comments powered by Disqus