欢迎来到 嗅灵易学

零基础也能上手的脚本技术课,一对一答疑带你入门

[原创]对某款软件flash提取

[原创]对某款软件flash提取

前言略,直接分析


/**************FlashMainForm*********************/

public class FlashMainForm : Form

{

    // Fields

    private IContainer components = null;

    private AxShockwaveFlash MyFlash;

    private Timer timer1;

    // Methods

    public FlashMainForm()

    {

        this.InitializeComponent();

    }

    private string CalSource(string c, string p, string sp)

    {

        string str = @"myResources\flashs\";

        if (c != "")

        {

            str = str + c + @"\";

        }

        if (p != "")

        {

            str = str + p + @"\";

        }

        if (sp != "")

        {

            str = str + sp + @"\";

        }

        return (str + "flash.ec");

    }

    protected override void Dispose(bool disposing)

    {

        if (disposing && (this.components != null))

        {

            this.components.Dispose();

        }

        base.Dispose(disposing);

    }


flash.ec ????? 怎么会是ec 文件?E封装?winhex打开一看swf
WS
flash 文件标实不是:FWS + 版本 +文件大小
有点神奇的嘛。。加密了?DecodeDll。。恩?主程序上面有一个调用库
接着看。。。

 private void MyFlash_FSCommand(object sender, _IShockwaveFlashEvents_FSCommandEvent e)

    {

        GlobalClass class2;

        switch (e.command)

        {

            case "找影*":

                GlobalClass.IsRuiGame = true;

                new Resolution().ChangeRes(800, 600);

                GlobalClass.FlashImageDirectory = Application.StartupPath + @"\Course\找影*\";

                GlobalClass.FlashImagePath = GlobalClass.FlashImageDirectory + "0.jpg";

                GlobalClass.FlashFieldPath = GlobalClass.FlashImageDirectory + "FIELD.EC";

                GlobalClass.FlashGamePath = GlobalClass.FlashImageDirectory + "GAME.EC";

                class2 = new GlobalClass();

                if (!class2.IsAllReady())

                {

                    MessageBox.Show("该课件缺少文件,请重新安装");

                    break;

                }

                new FlashForm().ShowDialog();

                break;

       case ......



public static extern int Counter(string y);

    [DllImport("DecodeDll.dll", CallingConvention=CallingConvention.Cdecl)]



     难道flash 要出来了?

   private void button8_Click(object sender, EventArgs e)

    {

        new Resolution().ChangeRes(800, 600);

        GlobalClass.FlashImageDirectory = Application.StartupPath + @"\Course\找影*\";

        GlobalClass.FlashImagePath = GlobalClass.FlashImageDirectory + "0.jpg";

        GlobalClass.FlashGamePath = GlobalClass.FlashImageDirectory + "Game.swf";

        GlobalClass class2 = new GlobalClass();

        if (class2.IsAllReady())

        {

            new BackGround().ShowDialog();

        }

        else

        {

            MessageBox.Show("该课件缺少文件,请重新安装");

        }

    }


继续。。。。
exe 加载。。哟哂。。winhex  alt + f9
find = FWS (ASII)
别存。。嘎嘎。。出来
这个flash 让我好奇了,上传DLL 和一个游戏 有兴趣的可以继续分析。。。

上传的附件 DecodeDll.zip
找影子.zip

注意:上传附件及图片大小不得大于30M。

⚠️ 版权声明:
本博客所有内容(含教程、源码、工具)仅供个人技术学习与研究交流使用,严禁商用、倒卖、二次分发及非法用途。
未经作者书面授权,任何组织或个人不得转载、复制或用于其他平台,违者将追究相关责任。

0 0 0 举报
复制成功