问题描述
有些网站的表格是Flash。我怎样才能以编程方式填写这些表单?
是唯一的解决方案,通过首先监控发送的http头发送通过cURL的POST?
你正在填写发送POST的结果。使用http,web服务,rpc甚至套接字,Flash / Flex表单有很多不同的方式来传回数据。理想情况下,你需要反编译swf(这可以自动完成),并在反编译的源代码中,您将能够看到表单并自动填充它们。
为此,您将需要:
p>- SWF反编译器 - 实际从闪存字节码反编译为电影的源代码
- SWF解析器 - 解析源代码并找到表单来填写
您可能想检查一下google上的内容,或者:
希望它有帮助!
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:
- SWF Decompiler - To actually decompile from flash 'bytecode' to the source of the movie
- 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!
这篇关于如何以编程方式填写Flash表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!