本文介绍了跟踪Flash应用程序包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个Flash应用程序打开与服务器的套接字连接。我需要做的是读取在应用程序中发送和接收的数据包,以写出一种历史(在WIndows中)。
现在,问题是:


  1. 最简单的方法是怎么做的?应用程序挂钩?在我的应用程序中加载Flash应用程序并控制它?不允许使用数据包嗅探。

  2. 是否可以在C ++中执行,或者您认为使用其他编程语言更好?我的第一个选择是java,但似乎是麻烦...
  3. 最简单的方法是使用套接字代理。 Flash应用程序连接到代理,代理连接到服务器,并在记录时双向中继流。



    据我所知,Flash应用程序只能连接到服务器在哪里被donwloaded,所以这意味着你可能不得不承载本地Flash,建立一个小的http服务器。



    看看,以获取套接字代理的示例。您也可以使用java或c#来自己推出。 c ++似乎有点矫枉过正。


    I have this flash application that opens a socket connection with a server. What I need to do is to read packets sent and received byt he application to write a sort of "history" ( in WIndows).Now, questions are:

    1. How is the simplest way to do it? Application hooking? Load the flash application in my application and take control over it? No packet sniffing allowed.
    2. Is it possible to do it in C++, or you think it's better to use another programming language? My first choice was java, but it seems that do it is troublesome...
    解决方案

    The simplest way to do it (by far) is to use a socket proxy. The flash application connects to the proxy, the proxy connects to the server and relays streams both ways while logging.

    As far as I know, the flash application can only connects to the server where it was donwloaded, so it means you may have to host the flash localy, setting up a little http server.

    Take a look at Socket Workbench for an example of a socket proxy. You can also roll your own with java or c#. c++ seems a bit overkill here.

    这篇关于跟踪Flash应用程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 07:30