tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Crowther <peter.crowt...@melandra.com>
Subject Re: Random file generation
Date Mon, 16 Aug 2010 20:29:09 GMT
In other words: "If I try to interpret the SSL handshake from Tomcat as if
it were a byte stream to be interpreted by my browser, the byte stream the
server happens to generate has the first two bytes 'MZ' and my browser can't
interpret it as anything other than a Windows executable."

That such an action results in unexpected behaviour shouldn't be a surprise,
surely?

- Peter

On 16 August 2010 21:06, Miller, Kevin R <kevin.r.miller@lmco.com> wrote:

> I am running Tomcat 6.0.26 on a Solaris 10 system.  The Tomcat server is
> configured to listen to HTTPS communications on port 8443.  When browsing to
> the Tomcat server remotely using the following syntax everything works as
> expected:
> https://10.10.10.10:8443/
>
> If however we accidentally leave out the "s" in https like this:
> http://10.10.10.10:8443/
>
> The Tomcat server responds with a 7 byte .exe file to download.  Each time
> we make the request again it generates a new .exe file with a different name
> (cd64dni2.exe or z0v8671g.exe for example).  The exe fail fails to execute
> on a windows system.   The contents of all of the exe files are exactly the
> same (binary data)
>
> If I run an od on the file I get the following:
> $od cd64dni2.exe
> 0000000 001425 000001 001002 000012
> 0000007
>
>
> Can anyone explain what this file is and why it is getting generated?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message