Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 9th, 2014, 4:23 AM   #1
squills
Expert Programmer
 
squills's Avatar
 
Join Date: Feb 2009
Posts: 639
Rep Power: 9 squills is on a distinguished road
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
__________________
Best use ever for C++...
http://www.planet-source-code.com/Up...3165921697.jpg
squills is offline   Reply With Quote
Old Jul 9th, 2014, 5:05 AM   #2
squills
Expert Programmer
 
squills's Avatar
 
Join Date: Feb 2009
Posts: 639
Rep Power: 9 squills is on a distinguished road
Re: login url.

This is the source if it helps so you dont have to access the link.

HTML Syntax (Toggle Plain Text)
  1. <!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" />
  2. <script>
  3. function checkLoginForm()
  4. {
  5. if (document.getElementById("user").value.length < 1 || document.getElementById("pass").value.length < 1)
  6. {
  7. alert("Missing a field.");
  8. return false;
  9. }
  10. }
  11.  
  12. function playAsGuest() {
  13. document.getElementById('user').value = "GriddleNoob";
  14. document.getElementById('pass').value = "griddlenoob";
  15. document.getElementById('submission').click();
  16. }
  17. </script>
  18.  
  19. <!--
  20. <script src="/games/the-grid-2/grid/js/jquery.min.js">
  21. </script>
  22. <script src="/games/the-grid-2/grid/js/greensock.js"></script>
  23. -->
  24. <script>
  25. window.onload = function(){
  26. // heading
  27. var tl = new TimelineLite({paused:true});
  28. var logo = $('#greensock_logo'),
  29. timelineLite = $('#timelinelite'),
  30. tagline = $('#theGridHeading span'),
  31. tl = new TimelineLite({});
  32. tl.from(logo, 0.1, {left:'-=60px', ease:Back.easeOut})
  33. .from(timelinelite, 0.5, {width:"0px", alpha:0}, "-=0.2")
  34. .staggerFrom(tagline, 1.0, {top:"-=30px", rotation:"-40deg", alpha:0, scale:1.8, ease:Back.easeOut}, 0.2);
  35. TweenLite.set($("#theGridHeading"), {css:{visibility:"visible"}});
  36.  
  37. // fade in
  38. TweenLite.from(document.getElementById("my_username"), 5, {opacity:0});
  39. TweenLite.from(document.getElementById("my_password"), 5, {opacity:0});
  40. TweenLite.set($("#my_username"), {css:{visibility:"visible"}});
  41. TweenLite.set($("#my_password"), {css:{visibility:"visible"}});
  42.  
  43. // animate in
  44. TweenLite.from($('#lurkAsGuest'), 3, {opacity:0, marginLeft:"150px"});
  45. TweenLite.from($('#playNowFree'), 4, {opacity:0, marginLeft:"150px"});
  46. TweenLite.from($('#forgotPassword'), 5, {opacity:0, marginLeft:"70px"});
  47. TweenLite.set($("#lurkAsGuest"), {css:{visibility:"visible"}});
  48. TweenLite.set($("#playNowFree"), {css:{visibility:"visible"}});
  49. TweenLite.set($("#forgotPassword"), {css:{visibility:"visible"}});
  50. }
  51.  
  52. </script>
  53.  
  54. <img src="/games/the-grid-2/grid/images/grid_squares.jpg" style="position:absolute;top:0;left:0;width:100%;height:100%;" />
  55.  
  56. <div id="loginDiv">
  57.  
  58. <div id="greensock_logo"></div>
  59. <div id="timelinelite"></div>
  60. <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>
  61. <p style="color: #F5F5DC;font-size: 16px;font-weight: bold;line-height: 22px;text-align: center;font-style: italic;padding-right: 10px;">
  62. An elaborate system made up of rows of perfectly chiseled squares. <br />
  63. Will you rule your square like a fool or master strategian? <br />
  64. <a style="color: #F5F5DC;text-decoration:underline;" href="/games/the-grid-2/grid/register/">Play for FREE and find out NOW!</a>
  65. </p>
  66. <form id="gridForm" action="" method="post" onsubmit="return checkLoginForm()">
  67. <table align="left" border="0" cellspacing="2" cellpadding="2">
  68. <tr>
  69. <td align="left" id="my_username">Username:</td>
  70. <td align="right"><input type="text" id="user" name="user" maxlength="12" autocomplete="off" /></td>
  71. </tr>
  72. <tr>
  73. <td align="left" id="my_password">Password:</td>
  74. <td align="right"><input type="password" id="pass" name="pass" maxlength="20" /></td>
  75. </tr>
  76. <tr>
  77. <td colspan="2" align="right">
  78. &nbsp;</td>
  79. </tr>
  80. <tr>
  81. <td colspan="2" align="right">
  82. <input id="submission" type="submit" class="button" name="sublogin" value="Login" /></td>
  83. </tr>
  84. <tr>
  85. <td colspan="2" align="left">
  86. <input class="rememberMe" type="checkbox" name="remember" /> <span id="rememberMe">Remember</span>
  87. </td>
  88. </tr>
  89. <tr>
  90. <td colspan="2" align="right">
  91. &nbsp;</td>
  92. </tr>
  93. </table>
  94. </form>
  95.  
  96. <br />
  97. <br />
  98. <div style="display:block; width: 250px;">
  99.  
  100. <style>
  101. #navigationBox
  102. {
  103. display: block;
  104. width: 190px;
  105. /*background-color: #000;*/
  106. padding-bottom: 5px;
  107. }
  108.  
  109. #navigator { width: 130px; }
  110.  
  111. #navigator, #navigatorGo
  112. {
  113. font-size: 12px;
  114. background: #000;
  115. padding: 2px;
  116. border: 1px solid gray;
  117. height: 22px;
  118. color: gray;
  119. font-weight: bold;
  120. }
  121. </style>
  122.  
  123. <div id="navigationBox">
  124. <select id="navigator" onchange="focusOnButton()" onclick="focusOnButton()" onkeydown="focusOnButton()">
  125. <option value="/games/the-grid-2/grid/">Home</option>
  126. <option value="/games/the-grid-2/grid/register/">Register</option>
  127. <option value="/games/the-grid-2/grid/rules/">About/Rules</option>
  128. <option value="/games/the-grid-2/grid/auction/">Auction</option>
  129. <option value="/games/the-grid-2/grid/flags.php">Flags</option>
  130. <option value="http://thegrid.freeforums.net/">FORUMS NEW HOME</option>
  131. <option value="https://writer.zoho.com/public/brendan928/a-bried-history-of-griddle-cakes">History</option>
  132. <option value="/games/the-grid-2/grid/jobs/">Jobs</option>
  133. <option value="http://noob.psykosis.net">Noob Guide</option>
  134. <option value="https://docs.google.com/document/d/1S8gRHyJ9B91GWEgUWotozdRft4wNMIdjXaGE_6-SaHI/edit?pli=1">Noob Introduction</option>
  135. <option value="http://thegrid.freeforums.net/thread/66/beta-psybinui-browser-add-on">PsyBinUI (add graphics to The Grid)</option>
  136. <option value="http://indiegames.com/2012/07/browser_game_pick_the_grid.html">Publicity</option>
  137. <option value="/games/the-grid-2/grid/ranks/">Ranks</option>
  138. <option value="/games/shakalaka/">Shakalaka!</option>
  139. <option value="/games/the-grid-2/grid/sme/">Stock Market Exchange</option>
  140. <option value="http://codeelf.com/games/test/Quintus-master/examples/platformer/?">Surasshujanpu Platformer Demo</option>
  141. <option value="/games/the-grid-2/grid/voting/">Voting</option>
  142. </select>
  143.  
  144. <input type="button" id="navigatorGo" onclick="navigatorGo()" value="Go" onmouseover="this.style.cursor='pointer';" />
  145. </div>
  146.  
  147. <script>
  148. var gridNav = {
  149. si: "",
  150. op: "",
  151. in1: 0
  152. }
  153.  
  154. function navigatorGo() {
  155. gridNav.si = document.getElementById("navigator").selectedIndex;
  156. gridNav.op = document.getElementById("navigator").options;
  157.  
  158. gridNav.in1 = parseInt(gridNav.op[gridNav.si].index);
  159.  
  160. switch(gridNav.in1)
  161. {
  162. case 0:
  163. case 1:
  164. location.href = gridNav.op[gridNav.si].value;
  165. break;
  166. default:
  167. window.open(gridNav.op[gridNav.si].value);
  168. }
  169. }
  170.  
  171. function focusOnButton() {
  172. gridNav.si = document.getElementById("navigator").selectedIndex;
  173. gridNav.op = document.getElementById("navigator").options;
  174. if (gridNav.op[gridNav.si].index != 0) {
  175. window.setTimeout("document.getElementById('navigatorGo').style.borderColor='green';", 500);
  176. window.setTimeout("document.getElementById('navigatorGo').style.borderColor='gray';", 1000);
  177. } else {
  178. document.getElementById('navigatorGo').style.borderColor='gray';
  179. }
  180. }
  181. </script>
  182.  
  183. </div>
  184.  
  185. <br /><br />
  186. <a id="lurkAsGuest" href='javascript:void(0)' style="font-size:10px;text-decoration:underline;font-weight:bold;" onclick="playAsGuest()">LURK AS GUEST!</a>
  187.  
  188. <br /><br />
  189. <a id="playNowFree" href="register/" style="font-size:10px;text-decoration:underline;font-weight:bold;">SIGN UP FREE!</a>
  190.  
  191. <br /><br />
  192. <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>
  193.  
  194. <br /><br />
  195. <span style="color:gray;">Copyright &copy; 2014 CodeElf. All rights reserved.</span>
  196.  
  197. </div>
  198.  
  199. <script>
  200. document.getElementById("user").focus();
  201. </script>
  202.  
  203.  
  204.  
  205. <script src="/games/the-grid-2/grid/js/jquery.min.js"></script>
  206. <script src="/games/the-grid-2/grid/js/greensock.js"></script>
  207. <script>
  208. $(document).ready(function() {
  209. // raven
  210. initRaven();
  211. });
  212. ////////// raven start //////////
  213. function initRaven() {
  214. if (Math.floor((Math.random()*2)+1) > 1)
  215. return;
  216. var raven = document.getElementById("raven");
  217. var randDir = Math.floor((Math.random()*2)+1);
  218. var randTop = Math.floor((Math.random()*80)+10);
  219. if (randDir == 1)
  220. {
  221. $("#raven").css("top", randTop + "%");
  222. TweenLite.to(raven, 15, {left:"+=120%", onComplete:stopFlap});
  223. flap('right');
  224. }
  225. else
  226. {
  227. $("#raven").css("top", randTop + "%");
  228. TweenLite.from(raven, 15, {left:"+=120%", onComplete:stopFlap});
  229. flap('left');
  230. }
  231. }
  232.  
  233. var flapper = 1;
  234. var flappingTimer = "";
  235. function flap(dir) {
  236. flappingTimer = setTimeout(function() {
  237. if (dir == 'right')
  238. {
  239. switch (flapper) {
  240. case 1: $("#raven").css("background-position", "0px 0px"); break;
  241. case 2: $("#raven").css("background-position", "-58px 0px"); break;
  242. case 3: $("#raven").css("background-position", "-116px 0px"); break;
  243. case 4: $("#raven").css("background-position", "-178px 0px"); break;
  244. case 5: $("#raven").css("background-position", "-236px 0px"); break;
  245. case 6: $("#raven").css("background-position", "-284px 0px"); break;
  246. }
  247. }
  248. else
  249. {
  250. switch (flapper) {
  251. case 1: $("#raven").css("background-position", "-812px 0px"); break;
  252. case 2: $("#raven").css("background-position", "-754px 0px"); break;
  253. case 3: $("#raven").css("background-position", "-696px 0px"); break;
  254. case 4: $("#raven").css("background-position", "-638px 0px"); break;
  255. case 5: $("#raven").css("background-position", "-580px 0px"); break;
  256. case 6: $("#raven").css("background-position", "-522px 0px"); break;
  257. }
  258. }
  259. flapper++;
  260. if (flapper > 6)
  261. flapper = 1;
  262. flap(dir);
  263. }, 150);
  264. }
  265. function stopFlap() {
  266. clearTimeout(flappingTimer);
  267. $("#raven").hide();
  268. }
  269. ////////// raven end //////////
  270.  
  271. </script>
  272.  
  273. <!-- raven -->
  274. <div id="raven"></div>
  275.  
  276. <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>
__________________
Best use ever for C++...
http://www.planet-source-code.com/Up...3165921697.jpg
squills is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:03 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC