且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何以编程方式填写Flash表单?

更新时间:2023-02-15 14:06:08

你正在填写发送POST的结果。使用http,web服务,rpc甚至套接字,Flash / Flex表单有很多不同的方式来传回数据。理想情况下,你需要反编译swf(这可以自动完成),并在反编译的源代码中,您将能够看到表单并自动填充它们。

为此,您将需要:

p>


  1. SWF反编译器 - 实际从闪存字节码反编译为电影的源代码
  2. SWF解析器 - 解析源代码并找到表单来填写

您可能想检查一下google上的内容,或者: http://freemovie.sourceforge.net



希望它有帮助!

Some sites have forms which are Flash.

How can I programmatically, fill out these forms ?

Is the only solution sending POST via cURL by first monitoring the http headers being sent ?

That would only work if the form you're filling out is sending back the results with a POST. There's many different ways for Flash/Flex forms to pass back the data, using http, web services, rpc or even sockets.

Ideally, you need to decompile the swf (which can be done automaticaly), and within the decompiled source you will be able to see the forms and automatically fill them.

To do so, you will need:

  1. SWF Decompiler - To actually decompile from flash 'bytecode' to the source of the movie
  2. SWF Parser - To parse the source and find forms to fill out

You may want to check something on google, or there: http://freemovie.sourceforge.net

Hope it helps!