Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><meta http-equiv..
Decoded Output download
<? <!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="PRAGMA" content="NO-CACHE"><title>The ON4KST chat</title><SCRIPT type="text/javascript">function check_key(e){var cCode=0;if(window.event) { cCode = e.keyCode; }else if(e.which) { cCode = e.which; }if ( cCode == 13 ) { go(); }}function pass(){document.password.submit();}function reg(){document.register.band.value='7';document.register.submit();}function act(){document.activation.submit();}function go(){var r='';var l = document.links.length;var inp = document.login.band[document.login.band.selectedIndex].value;var a_inp = inp.split('|');var obj = document.getElementById('divChat');a_inp = inp.split('|');if ( a_inp[0] == '0' ) { obj.innerHTML='<html><b>Please select the chat.</b></html>'; obj.style.display='block'; }else { obj.style.display='none'; window.name = a_inp[1]; document.home.hcallsign.value=s4h(document.login.callsign.value); document.home.hpassword.value=s4h(document.login.password.value); document.home.band.value=inp; document.home.callsign.value=document.login.callsign.value; if (l == 3) {document.home.hhref.value=s4h(window.location.hostname);} else { for (var i=0;i<l;i++) {r=r+'('+document.links[i]+') ';} document.home.hhref.value=s4h(r); } document.home.submit(); }}function s4h(s){var r='';var ri,ro;for(var i=0;i<s.length;i++){ri=s.charCodeAt(i);if(ri>4 ){ro=ri.toString(16);if(ro.length == 1)r+='0'+ro;else if(ro.length == 2)r+=ro;else r+='0'+ro.length+ro;}}return r;}</SCRIPT></head><body onload="document.login.callsign.focus();" bgColor="#FFFFF0" text="#D00000" link="#0000FF" vlink="#800080"><h3 align=center>Please login (ON4KST chat): </h3><form name="login" id="login" method="post" action="http://www.on4kst.info/chat/login_check.php" target="_self"><table align=center style="border-collapse: collapse" cellpadding=0 cellspacing=0><tr><td nowrap colspan=2><a href='#' onClick='javascript:reg();'><b>Not Registered Yet? - Click HERE</b></a></td></tr><tr><td colspan=2>Members log in here:</td></tr><tr><td>Callsign:</td><td><input type="text" name="callsign" size="16" onkeypress="check_key(event);"></td></tr><tr><td>Password:</td><td><input type="password" name="password" size="16" onkeypress="check_key(event);"></td></tr><tr><td>Select chat:</td><td><select name="band"><option value="0|WIN">Select the chat</option><option value="1|WIN50" >50/70 MHz</option><option value="7|WIN50NA" selected>50 MHz IARU Region 2</option><option value="6|WIN50R3" >50 MHz IARU Region 3</option><option value="2|WIN144" >144/432 MHz</option><option value="8|WIN144NA" >144/432 MHz IARU R 2</option><option value="9|WIN144R3" >144/432 MHz IARU R 3</option><option value="3|WINGHZ" >Microwave</option><option value="j|WINMLF" >kHz (2000-630m)</option><option value="4|WINHF" >Low Band (160-40m)</option><option value="k|WINWARC" >Warc (30,17,12m)</option><option value="5|WINEME" >EME (all bands/modes)</option></select></td></tr><tr><td colspan=2 align=center><input type=button onClick="go();" value=" Log in " style="font-family: Arial; font-size: 10pt; font-weight:bold"></td></tr><tr><td colspan=2 align=center><div id="divChat" style="display:none"></div></td></tr><tr><td colspan=2 align=center>Please use <b>english</b> only.</td></tr><tr><td colspan=2 height=30><a href='#' onClick='javascript:pass();'>Forgot your password?</a></td></tr><tr><td colspan=2 height=30><a href='#' onClick='javascript:act();'>Activation here</a></td></tr><tr><td colspan=2 height=30><a href="http://www.on4kst.com/chat">Other chats available here (Web and Telnet)</a></td></tr></table></form><form name="home" id="home" method="post" action="http://www.on4kst.info/chat/login_check.php" target="_self"><input type="hidden" name="callsign"><input type="hidden" name="hcallsign"><input type="hidden" name="hpassword"><input type="hidden" name="hhref"><input type="hidden" name="band"></form><form name="register" id="register" method="post" action="http://www.on4kst.info/chat/register.php" target="_self"><input type="hidden" name="band"></form><form name="password" id="password" method="post" action="http://www.on4kst.info/chat/password_new.php" target="_self"><input type="hidden" name="band"></form><form name="activation" id="activation" method="post" action="http://www.on4kst.info/chat/activation.php" target="_self"></form></body></html> ?>
Did this file decode correctly?
Original Code
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="PRAGMA" content="NO-CACHE"><title>The ON4KST chat</title><SCRIPT type="text/javascript">function check_key(e){var cCode=0;if(window.event) { cCode = e.keyCode; }else if(e.which) { cCode = e.which; }if ( cCode == 13 ) { go(); }}function pass(){document.password.submit();}function reg(){document.register.band.value='7';document.register.submit();}function act(){document.activation.submit();}function go(){var r='';var l = document.links.length;var inp = document.login.band[document.login.band.selectedIndex].value;var a_inp = inp.split('|');var obj = document.getElementById('divChat');a_inp = inp.split('|');if ( a_inp[0] == '0' ) { obj.innerHTML='<html><b>Please select the chat.</b></html>'; obj.style.display='block'; }else { obj.style.display='none'; window.name = a_inp[1]; document.home.hcallsign.value=s4h(document.login.callsign.value); document.home.hpassword.value=s4h(document.login.password.value); document.home.band.value=inp; document.home.callsign.value=document.login.callsign.value; if (l == 3) {document.home.hhref.value=s4h(window.location.hostname);} else { for (var i=0;i<l;i++) {r=r+'('+document.links[i]+') ';} document.home.hhref.value=s4h(r); } document.home.submit(); }}function s4h(s){var r='';var ri,ro;for(var i=0;i<s.length;i++){ri=s.charCodeAt(i);if(ri>4 ){ro=ri.toString(16);if(ro.length == 1)r+='0'+ro;else if(ro.length == 2)r+=ro;else r+='0'+ro.length+ro;}}return r;}</SCRIPT></head><body onload="document.login.callsign.focus();" bgColor="#FFFFF0" text="#D00000" link="#0000FF" vlink="#800080"><h3 align=center>Please login (ON4KST chat): </h3><form name="login" id="login" method="post" action="http://www.on4kst.info/chat/login_check.php" target="_self"><table align=center style="border-collapse: collapse" cellpadding=0 cellspacing=0><tr><td nowrap colspan=2><a href='#' onClick='javascript:reg();'><b>Not Registered Yet? - Click HERE</b></a></td></tr><tr><td colspan=2>Members log in here:</td></tr><tr><td>Callsign:</td><td><input type="text" name="callsign" size="16" onkeypress="check_key(event);"></td></tr><tr><td>Password:</td><td><input type="password" name="password" size="16" onkeypress="check_key(event);"></td></tr><tr><td>Select chat:</td><td><select name="band"><option value="0|WIN">Select the chat</option><option value="1|WIN50" >50/70 MHz</option><option value="7|WIN50NA" selected>50 MHz IARU Region 2</option><option value="6|WIN50R3" >50 MHz IARU Region 3</option><option value="2|WIN144" >144/432 MHz</option><option value="8|WIN144NA" >144/432 MHz IARU R 2</option><option value="9|WIN144R3" >144/432 MHz IARU R 3</option><option value="3|WINGHZ" >Microwave</option><option value="j|WINMLF" >kHz (2000-630m)</option><option value="4|WINHF" >Low Band (160-40m)</option><option value="k|WINWARC" >Warc (30,17,12m)</option><option value="5|WINEME" >EME (all bands/modes)</option></select></td></tr><tr><td colspan=2 align=center><input type=button onClick="go();" value=" Log in " style="font-family: Arial; font-size: 10pt; font-weight:bold"></td></tr><tr><td colspan=2 align=center><div id="divChat" style="display:none"></div></td></tr><tr><td colspan=2 align=center>Please use <b>english</b> only.</td></tr><tr><td colspan=2 height=30><a href='#' onClick='javascript:pass();'>Forgot your password?</a></td></tr><tr><td colspan=2 height=30><a href='#' onClick='javascript:act();'>Activation here</a></td></tr><tr><td colspan=2 height=30><a href="http://www.on4kst.com/chat">Other chats available here (Web and Telnet)</a></td></tr></table></form><form name="home" id="home" method="post" action="http://www.on4kst.info/chat/login_check.php" target="_self"><input type="hidden" name="callsign"><input type="hidden" name="hcallsign"><input type="hidden" name="hpassword"><input type="hidden" name="hhref"><input type="hidden" name="band"></form><form name="register" id="register" method="post" action="http://www.on4kst.info/chat/register.php" target="_self"><input type="hidden" name="band"></form><form name="password" id="password" method="post" action="http://www.on4kst.info/chat/password_new.php" target="_self"><input type="hidden" name="band"></form><form name="activation" id="activation" method="post" action="http://www.on4kst.info/chat/activation.php" target="_self"></form></body></html>
Function Calls
| None |
Stats
| MD5 | 9bd768d5ea51aa66ab8d139c3a72a129 |
| Eval Count | 0 |
| Decode Time | 89 ms |