cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Error while opening page contain java aaplet

From: parag vibhute <parag.vibhute_at_gmail.com>
Date: Wed, 8 Aug 2007 15:28:21 +0530

Using wireshark, I am able to know applet code, it is as follows:

        <applet code="Lei.class" archive="lasent/SSignedlei.jar" MAYSCRIPT
width="279" height="112">
        <PARAM NAME="aversion" VALUE="6,0,4,6">
        <PARAM NAME="IServ" value="192.168.2.2">
        <PARAM NAME="port" value="7501">
        <PARAM NAME="leiPropFile" value="lasent/mac.prop">
        <PARAM NAME="savePathPre" value="">
        <PARAM NAME="savePathPost" value=".lasent">
        <PARAM NAME="IPassLink" value="javascript:Started">
        <PARAM NAME="IFailLink" value="javascript:Started">
      alt="Java Runtime Environment is currently not installed in your
browser"
      You need to install it for executing the applet.
        </applet>

So I think jar file contains resources (in this case a zip file etc) &
passes arguments aversion, IServ etc. to it. How sould I work regarding
this?

Thanks,
Palav

On 8/8/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Wed, 8 Aug 2007, Kjell Ericson wrote:
>
> >> If an html page contains an applet & if I send that url request with
> curl
> >> command, will whatever inside applet get perform?
> >
> > No. Curl doesn't do any java stuff. The technique to use is to do the
> same
> > requests with curl as your browser (which is what LiveHTTPHeader shows
> you).
> > Most java script doesn't do anything "important" (as encrypt data)
>
> Do note that Palav speaks of java, not javascript.
>
> A browser would download the applet and execute it in its own runtime and
> that
> applet would do whatever it wants. curl will not do that.
>
> You'd probably need to run a network analyzer like wireshark to fully
> track
> what the applet does and then you can repeat that with curl.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>

-- 
There are many things in your life that will catch your eye but only a few
will catch your heart....pursue those'
.
Received on 2007-08-08