login url.

I have a site codeelf.com and trying to auto login, but i cant findout what the url is once the button for login is clicked.

Thus I am going to POST the username / password to this url, but I cant tell from there source code what it is. Can anyhow look at it for me and let me know if you can see what it is?

Thanks
squills

Comments

  • This is the source if it helps so you dont have to access the link.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang='en'><head><link href='/games/the-grid-2/grid/images/favicon.ico' rel='shortcut icon' type='image/x-icon' /><link rel='stylesheet' type='text/css' href='/games/the-grid-2/grid/css/base.css' /><title>The Grid 2.0 - Free Text Based Multi Player Online Strategy Web Browser Game :: Created In The Spirit Of Risk And Intellivision's Utopia</title><meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1><meta name="description" content="Play The Grid FREE - The best online text based game in the world, better than Torn. No downloads. 30 or more active daily players. No.1 Online strategy game." /><meta name="keywords" content="Games, play games, free online games, text games, browser games, strategy games, mmo games" /></head><body><link rel="stylesheet" type="text/css" href="css/login.css" />  
    <script>
    function checkLoginForm()
    {
       if (document.getElementById("user").value.length < 1 || document.getElementById("pass").value.length < 1)
       {
          alert("Missing a field.");
          return false;
       }
    }
    
    function playAsGuest() {
       document.getElementById('user').value = "GriddleNoob";
       document.getElementById('pass').value = "griddlenoob";
       document.getElementById('submission').click();
    }
    </script>
    
    <!--
    <script src="/games/the-grid-2/grid/js/jquery.min.js"></script>
    <script src="/games/the-grid-2/grid/js/greensock.js"></script>
    -->
    <script>
    window.onload = function(){
       // heading
        var tl = new TimelineLite({paused:true});  
        var logo = $('#greensock_logo'),
            timelineLite = $('#timelinelite'),
            tagline = $('#theGridHeading span'),
            tl = new TimelineLite({});   
       tl.from(logo, 0.1, {left:'-=60px', ease:Back.easeOut})
            .from(timelinelite, 0.5, {width:"0px", alpha:0}, "-=0.2")
            .staggerFrom(tagline, 1.0, {top:"-=30px", rotation:"-40deg", alpha:0, scale:1.8, ease:Back.easeOut}, 0.2);
       TweenLite.set($("#theGridHeading"), {css:{visibility:"visible"}}); 
    
       // fade in
       TweenLite.from(document.getElementById("my_username"), 5, {opacity:0});
       TweenLite.from(document.getElementById("my_password"), 5, {opacity:0});
       TweenLite.set($("#my_username"), {css:{visibility:"visible"}});
       TweenLite.set($("#my_password"), {css:{visibility:"visible"}});
    
       // animate in
       TweenLite.from($('#lurkAsGuest'), 3, {opacity:0, marginLeft:"150px"});
       TweenLite.from($('#playNowFree'), 4, {opacity:0, marginLeft:"150px"});
       TweenLite.from($('#forgotPassword'), 5, {opacity:0, marginLeft:"70px"});
       TweenLite.set($("#lurkAsGuest"), {css:{visibility:"visible"}});
       TweenLite.set($("#playNowFree"), {css:{visibility:"visible"}});
       TweenLite.set($("#forgotPassword"), {css:{visibility:"visible"}});
    }
    
    </script>
    
    <img src="/games/the-grid-2/grid/images/grid_squares.jpg" style="position:absolute;top:0;left:0;width:100%;height:100%;" />
    
    <div id="loginDiv">
    
       <div id="greensock_logo"></div>
       <div id="timelinelite"></div>
       <h2 id="theGridHeading" style="text-align:center;color:gold;"><span class="big">T</span><span class="big">h</span><span class="big">e</span> <span class="big">G</span><span class="big">r</span><span class="big">i</span><span class="big">d</span> <br> <span>.</span><span>.</span><span>.</span><span>a</span><span>s</span> <span>f</span<span>e</span><span>a</span><span>t</span><span>u</span><span>r</span><span>e</span><span>d</span> <span>o</span><span>n</span> <span>I</span><span>n</span><span>d</span><span>i</span><span>e</span><span>G</span><span>a</span><span>m</span><span>e</span><span>s</span><span>.</span><span>c</span><span>o</span><span>m</span></h2>
       <p style="color: #F5F5DC;font-size: 16px;font-weight: bold;line-height: 22px;text-align: center;font-style: italic;padding-right: 10px;">
        An elaborate system made up of rows of perfectly chiseled squares. <br />
        Will you rule your square like a fool or master strategian? <br />
        <a style="color: #F5F5DC;text-decoration:underline;" href="/games/the-grid-2/grid/register/">Play for FREE and find out NOW!</a>
       </p>
       <form id="gridForm" action="" method="post" onsubmit="return checkLoginForm()">
          <table align="left" border="0" cellspacing="2" cellpadding="2">
             <tr>
                <td align="left" id="my_username">Username:</td>
                <td align="right"><input type="text" id="user" name="user" maxlength="12" autocomplete="off" /></td>
             </tr>
             <tr>
                <td align="left" id="my_password">Password:</td>
                <td align="right"><input type="password" id="pass" name="pass" maxlength="20" /></td>
             </tr>
             <tr>
                <td colspan="2" align="right">
                  &nbsp;</td>
             </tr>
             <tr>
                <td colspan="2" align="right">
                   <input id="submission" type="submit" class="button" name="sublogin" value="Login" /></td>
             </tr>
             <tr>
                <td colspan="2" align="left">
                   <input class="rememberMe" type="checkbox" name="remember" /> <span id="rememberMe">Remember</span>
                </td>
             </tr>
             <tr>
                <td colspan="2" align="right">
                  &nbsp;</td>
             </tr>
          </table>
       </form>
    
       <br />
       <br />
       <div style="display:block; width: 250px;">
        
    <style>
    #navigationBox
    {
       display: block;
       width: 190px;
       /*background-color: #000;*/
       padding-bottom: 5px;
    }
    
    #navigator { width: 130px; }
    
    #navigator, #navigatorGo
    {
       font-size: 12px;
       background: #000;
       padding: 2px;
       border: 1px solid gray;
       height: 22px;
       color: gray;
       font-weight: bold;
    }
    </style>
    
    <div id="navigationBox">
    <select id="navigator" onchange="focusOnButton()" onclick="focusOnButton()" onkeydown="focusOnButton()">
       <option value="/games/the-grid-2/grid/">Home</option>
       <option value="/games/the-grid-2/grid/register/">Register</option>
       <option value="/games/the-grid-2/grid/rules/">About/Rules</option>
       <option value="/games/the-grid-2/grid/auction/">Auction</option>
       <option value="/games/the-grid-2/grid/flags.php">Flags</option>
       <option value="http://thegrid.freeforums.net/">FORUMS NEW HOME</option>
       <option value="https://writer.zoho.com/public/brendan928/a-bried-history-of-griddle-cakes">History</option>
       <option value="/games/the-grid-2/grid/jobs/">Jobs</option>
       <option value="http://noob.psykosis.net">Noob Guide</option>
       <option value="https://docs.google.com/document/d/1S8gRHyJ9B91GWEgUWotozdRft4wNMIdjXaGE_6-SaHI/edit?pli=1">Noob Introduction</option>
       <option value="http://thegrid.freeforums.net/thread/66/beta-psybinui-browser-add-on">PsyBinUI (add graphics to The Grid)</option>
       <option value="http://indiegames.com/2012/07/browser_game_pick_the_grid.html">Publicity</option>
       <option value="/games/the-grid-2/grid/ranks/">Ranks</option>
       <option value="/games/shakalaka/">Shakalaka!</option>
       <option value="/games/the-grid-2/grid/sme/">Stock Market Exchange</option>
       <option value="http://codeelf.com/games/test/Quintus-master/examples/platformer/?">Surasshujanpu Platformer Demo</option>
       <option value="/games/the-grid-2/grid/voting/">Voting</option>
    </select>
    
    <input type="button" id="navigatorGo" onclick="navigatorGo()" value="Go" onmouseover="this.style.cursor='pointer';" />
    </div>
    
    <script>
    var gridNav = {
       si: "",
       op: "",
       in1: 0
    }
    
    function navigatorGo() {
       gridNav.si = document.getElementById("navigator").selectedIndex;
       gridNav.op = document.getElementById("navigator").options;
    
       gridNav.in1 = parseInt(gridNav.op[gridNav.si].index);
    
       switch(gridNav.in1) 
       {
          case 0:
          case 1:
             location.href = gridNav.op[gridNav.si].value;  
             break;
          default:
             window.open(gridNav.op[gridNav.si].value);  
       }
    }
    
    function focusOnButton() {
       gridNav.si = document.getElementById("navigator").selectedIndex;
       gridNav.op = document.getElementById("navigator").options;
       if (gridNav.op[gridNav.si].index != 0) {
          window.setTimeout("document.getElementById('navigatorGo').style.borderColor='green';", 500);
          window.setTimeout("document.getElementById('navigatorGo').style.borderColor='gray';", 1000);
       } else {
          document.getElementById('navigatorGo').style.borderColor='gray';
       }
    }
    </script>
       
       </div>
    
       <br /><br />
       <a id="lurkAsGuest" href='javascript:void(0)' style="font-size:10px;text-decoration:underline;font-weight:bold;" onclick="playAsGuest()">LURK AS GUEST!</a>
    
       <br /><br />
       <a id="playNowFree" href="register/" style="font-size:10px;text-decoration:underline;font-weight:bold;">SIGN UP FREE!</a>
    
       <br /><br />
       <span id="forgotPassword"><a href="forgot.php" style="font-size:10px;text-decoration:underline;font-weight:bold;">FORGOT PASSWORD</a> <span style="color:lime;font-weight:bold;font-size:10px;">//</span> <a href="javascript:void(0)" onclick="alert('TheGridAdmin can now be reached at nikhaney@yahoo.com - the celtruler admin account has been disabled.');" style="font-size:10px;text-decoration:underline;font-weight:bold;">CONTACT ADMIN</a></span>
    
       <br /><br />
       <span style="color:gray;">Copyright &copy; 2014 CodeElf. All rights reserved.</span>
    
    </div>
    
    <script>
    document.getElementById("user").focus();
    </script>
    
    
    
    <script src="/games/the-grid-2/grid/js/jquery.min.js"></script>
    <script src="/games/the-grid-2/grid/js/greensock.js"></script>
    <script>
    $(document).ready(function() {
    	   // raven
       	   initRaven();
    });
    ////////// raven start //////////
    function initRaven() {
       if (Math.floor((Math.random()*2)+1) > 1)
           return;
       var raven = document.getElementById("raven");
       var randDir = Math.floor((Math.random()*2)+1);
       var randTop = Math.floor((Math.random()*80)+10);
       if (randDir == 1)
       {
           $("#raven").css("top", randTop + "%");
           TweenLite.to(raven, 15, {left:"+=120%", onComplete:stopFlap}); 
           flap('right');
       }
       else
       {
           $("#raven").css("top", randTop + "%");
           TweenLite.from(raven, 15, {left:"+=120%", onComplete:stopFlap}); 
           flap('left');
       }
    }
    
    var flapper = 1;
    var flappingTimer = "";
    function flap(dir) {
      flappingTimer = setTimeout(function() {
        if (dir == 'right')
        {
          switch (flapper) {
            case 1: $("#raven").css("background-position", "0px 0px"); break;
            case 2: $("#raven").css("background-position", "-58px 0px"); break;
            case 3: $("#raven").css("background-position", "-116px 0px"); break;
            case 4: $("#raven").css("background-position", "-178px 0px"); break;
            case 5: $("#raven").css("background-position", "-236px 0px"); break;
            case 6: $("#raven").css("background-position", "-284px 0px"); break;
          }
        }
        else
        {
          switch (flapper) {
            case 1: $("#raven").css("background-position", "-812px 0px"); break;
            case 2: $("#raven").css("background-position", "-754px 0px"); break;
            case 3: $("#raven").css("background-position", "-696px 0px"); break;
            case 4: $("#raven").css("background-position", "-638px 0px"); break;
            case 5: $("#raven").css("background-position", "-580px 0px"); break;
            case 6: $("#raven").css("background-position", "-522px 0px"); break;
          }
        }
        flapper++;
        if (flapper > 6)
          flapper = 1;
        flap(dir);
      }, 150);
    }
    function stopFlap() {
      clearTimeout(flappingTimer);
      $("#raven").hide();
    }
    ////////// raven end //////////
    
    </script>
    
    <!-- raven -->
    <div id="raven"></div>
    
    <script type="text/javascript">var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-33452789-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></body></html>
    
    
    
    
    
Sign In or Register to comment.