I am trying to bypass the following logon script and am stumped as to how to do it, can you all help?
Here is the logon script:
<SCRIPT type="text/javascript">
<!--
var reauth_window;
function close_reauth_window()
{
if (reauth_window && !reauth_window.closed)
reauth_window.close();
}
function isemptystring(source)
{
var count = 0;
for (var i = 0; i < source.length; i++)
{
if (source.substring(i, i+1) == " ")
count = count + 1;
}
if (count == source.length)
return true;
else
return false;
}
function do_options1()
{
document.block.STEP.value = "STEP2";
document.block.action="block.cgi";
document.block.submit();
}
function do_options2()
{
document.block.STEP.value = "STEP2";
document.block.action="http://"+document.block.AUTHIP.value+":81/cgi/block.cgi";
document.block.submit();
}
function do_webauth()
{
window.location.replace("https://inetmonitor.ccs:8081/AuthenticationServer/AuthenticationForm.jsp?URL=http://englishbanana.com/&IP=10.81.0.155");
}
function do_override()
{
if (isemptystring(document.block.NAME.value))
{
alert("Please enter the NAME!");
document.block.NAME.focus();
}
else
if (isemptystring(document.block.PASSWORD.value))
{
alert("Please enter the PASSWORD!");
document.block.PASSWORD.focus();
}
else
{
document.block.action="identify.cgi";
document.block.submit();
}
}
function do_reauth()
{
if (isemptystring(document.block.LOGONPATH.value))
{
alert("The Logon Script Path is missing!");
return 0;
}
reauth_window=window.open(document.block.LOGONPATH.value, "R3000",
"height=280,width=400,toolbar=0,location=0,directories=0,scrollbars=yes");
reauth_window.focus();
setTimeout("close_reauth_window()", 30000);
}
// -->
</SCRIPT>


