c**t 发帖数: 2744 | 1 vendor的site用的是javaapplet,通过decode,我找到了URL,以及request的所有参数,
通过http post/get送过去,总是得到404错误,是怎么回事?像这种没有API的情况下,
怎么去automate? |
c**t 发帖数: 2744 | 2 basically I am looking for a way to interact with running applet...
数,
下,
【在 c**t 的大作中提到】 : vendor的site用的是javaapplet,通过decode,我找到了URL,以及request的所有参数, : 通过http post/get送过去,总是得到404错误,是怎么回事?像这种没有API的情况下, : 怎么去automate?
|
c**t 发帖数: 2744 | 3 so bad, it seems impossible:
Java intentionally severely limits your access to JVMs running applets. Java
applets can't access the client-side filesystem, and I'm fairly sure that
there is absolutely no way to access a client-side event queue either.
I would strongly recommend looking into the RMI, and trying to collaborate
with the 3rd-party applet's vendor. If you're attempting what I think you
are, Java won't allow it. Its web platform assumes that all systems involved
in any sort of transact
【在 c**t 的大作中提到】 : basically I am looking for a way to interact with running applet... : : 数, : 下,
|
g*****g 发帖数: 34805 | 4 Applet can only talk to the server which hosts it.
If you want to talk to the applet, you need to have the control of it.
And you need to set a security policy and every user needs to
accept it.
Usually if you have to go through such trouble, you rather use
java webstart.
Java
involved
【在 c**t 的大作中提到】 : so bad, it seems impossible: : Java intentionally severely limits your access to JVMs running applets. Java : applets can't access the client-side filesystem, and I'm fairly sure that : there is absolutely no way to access a client-side event queue either. : I would strongly recommend looking into the RMI, and trying to collaborate : with the 3rd-party applet's vendor. If you're attempting what I think you : are, Java won't allow it. Its web platform assumes that all systems involved : in any sort of transact
|
m******t 发帖数: 2416 | 5
Your last post sounded like you are trying to interact
with the server behind the applet.
【在 c**t 的大作中提到】 : basically I am looking for a way to interact with running applet... : : 数, : 下,
|
c*****t 发帖数: 1879 | 6 1. download the applet, decompile to java code. Then you can do
whatever, such as run in debug mode.
2. get a packet sniffer. The url you saw in the code could be modified
due to various reasons, such as protocols etc.
【在 c**t 的大作中提到】 : basically I am looking for a way to interact with running applet... : : 数, : 下,
|
c**t 发帖数: 2744 | 7 yes
【在 m******t 的大作中提到】 : : Your last post sounded like you are trying to interact : with the server behind the applet.
|
c**t 发帖数: 2744 | 8 My goal is to run it in batch mode: automate manual process. I found the URL
ia https directly, got 404 error. |
m******t 发帖数: 2416 | 9
URL
The applet may be POST'ing to the url. It may be
also sending cookies. etc.
【在 c**t 的大作中提到】 : My goal is to run it in batch mode: automate manual process. I found the URL : ia https directly, got 404 error.
|