ご訪問ありがとうございます。 昨日までの状況は右下の「アクセス状況」にあります。
とある欲しいデータが、「hogehoge.swf」の中にあると思われる。
絶対其処にあるハズ。そうで無いと辻褄が合わない!
何とか、swfファイルの中を見てみたい!
ところで、swfファイルって何?
Flashの話し・・・
FLAファイルは、次の3種類の情報から構成される。
・Flashドキュメントのコンテンツ (メディアオブジェクト)
・メディアの表示タイミング (タイムライン)
・ActionScript (スクリプト)
そしてこのFLAファイルをコンパイルしたものが、SWF(Small Web Format)ファイル。
と云っている
サイトがありました。
そう、<紙>が欲しいのは、スクリプトの中に記述されている
(と思われる)或サイトのURLです。
色々探して見たが、「
Flare」がシンプルでいいようだ。
Flare is a free ActionScript decompiler.
It decompiles SWFs produced by Macromedia Flash,
including Flash MX 2004 and Flash 8.
と云うことで、
What is it
Flare processes an SWF and extracts all scripts from it.
The output is written to a single text file.
Only ActionScript is extracted, no text or images. <-----
Flare is freeware. Windows, Mac OS X and
Linux versions are available.
The main purpose of decompiler is to help you
recover your own lost source code.
However, there are other uses,
like finding out how a component works,
or trying to understand poorly documented interface.
Depending on where you live,
some of them may be forbidden by law. <-----
It's your responsibility to make sure you don't
break the law using Flare.
If you develop Flash applications for living,
you probably know that your code is not secure in SWF.
It's not the existence of decompiler that makes your code insecure though,
it's design of SWF format.
Although no ActionScipt is stored there,
most of it can be recovered from bytecodes.
Download and usage
Most recent Flare version is 0.6.
Windows Explorer extension
Download flare06setup.exe.
After installation right-click on any SWF file in Windows Explorer and
choose Decompile from context menu.
Flare will decompile somename.swf and store decomiled code in
somename.flr in the same folder.
somename.flr is a simple text file,
you can open it with your favorite text editor.
If Flare encounters problems during decompilation,
it will display some warnings.
If everything goes well, it will quit silently. <-----
That's all, Flare has no other GUI.
To unistall, execute Start>Programs>Flare>Uninstall.
そう、最初の方にあるように、対象としているのはスクリプトのみ。・・・・・それで十分。
当然ながら、法に触れるようなことは許されない!・・・・・大丈夫でしょう?
もっと、欲張るなら、
こんなソフトも売っている「
Flash Decompiler 4.1 日本語版」
曰く、
Flash Decompilerは、フラッシュアニメーション(Flash animation) を抽出、
flash 解析して、swfを作成(フラッシュ 分解 swf)ためのツールです。
最も強大な機能は、SWFファイルをFLAファイルに変換することができます。
※無料試用版の制限事項:
・変換されたのFLAファイルはグレイスケール(白黒画像)フォーマットだけで保存されます。
・変換されたのFLAファイルに小さいウオーターマックレイヤを付けます。
・変換されたのFLAファイルにActionScriptに含まれていません。
・逆コンパイルされたActionScriptsをクリップボードにコピーできません。
・各種類のオブジェクトはすべてプレビューできますが、最初の二つのみ変換されます。
・Flashファイルを編集した後保存することができません。
以上の制限によって、変換されたFLAから再生成したSWFが正常表示できない場合がありますが、
製品の品質問題ではございません。
あ、消された???
でも、<紙>は其処までは要らない。
早速、「Flare」をダウンロードしました。
「flare06setup.exe」僅か98KB弱。あっという間に(?)終了。
ダブルクリックでインストール。これもあっという間。
何が変わったの?
「hogehoge.swf」にマウスカーソルを当て、
右クリックすると、
(生意気?にも、andLinux より上の)一番上に「Decompile」と出る。
で、
此を選ぶと、(正常終了なので)何も無かったかのよう終わる。
正確には、そのフォルダ内に、
「hogehoge.flr」なるテキストファイルが出来ている!
欲しかった某URLがこのテキストファイルの中に見つかった。
推理(?)推測(?)は当たっていた。
このURLから、Perl でデータが読み込めました。
めでたしめでたし???
見ていただきありがとうございました。
お帰りに
投票して頂けると嬉しいです。 ⇒
(「60代~」と「茨城」)
人気BlogRanking ⇒
(「インターネット・・・・・」>「ウェブログ」)
P-NETBANKING ⇒
(「パソコン・・・・・」と「茨城」)