Sunday, February 13, 2011

Welcome!

I was searching the internet for some technical documents and stumbled on this website where the documents were behind a password prompt. What struck me is the weird password prompt, which was not the standard Firefox BASIC authentication prompt. Using curl, I discovered this gem
<SCRIPT language="JavaScript">
<!--hide
var password;
var pass="[redacted]";

password=prompt('Enter password:',' ');

if (password==pass)
  alert('Welcome!');
else
  window.location="errorframe.asp";
   
//-->
</SCRIPT>
Welcome indeed.

2 comments:

  1. Congratulation OLAP4J Team. This is a very good milestone.. I appreciate from the bottom of my heart
    -Ram

    ReplyDelete
  2. Opps.. ! this is actually for 1.0 release. :P

    ReplyDelete