Zero Identity
Username: Password:
[Forgot Password?] [Not Registered?]

ZI Store Updates

Zi Store

Online Users

Registered Users: 2016
Latest Registration: yhamrodne
Online Users: 10
(0 Members, 10 Guests)

Poll

What should be done first on the ZI overhaul?
Find more staff (45%) [10 Votes]
Fix all bugs (36%) [8 Votes]
Make new features (not challenges) (9%) [2 Votes]
Get more content (challenges etc) (9%) [2 Votes]

[Poll Archive]

Kr0wKr0w

Avatar

Last Login:
2012-01-20
Joined:
December 11 2009 01:08
Experience:
2
(19 day(s) ago)
The crashed tables for registration and other stuff is easy to fix (using the Mysql command "REPAIR TABLE").
ttyler333ttyler333
php coder
Avatar

Last Login:
0000-00-00
Joined:
May 09 2008 01:45
Experience:
1095.2
(20 day(s) ago)
according to a friend the registration doesn't work.
hack4uhack4u
ZI Owner
Avatar

Last Login:
0000-00-00
Joined:
March 30 2008 22:30
Experience:
20492
(21 day(s) ago)
Please do keep a list of all the bugs. They might eventually get fixed.. lol.
Hunter XHunter X

Avatar

Last Login:
0000-00-00
Joined:
September 25 2010 15:44
Experience:
0
(02 month(s) ago)
What we could do is start compling a list of bugs on the Tasks page, so if and when development resumes the developers know what needs doing.
Kr0wKr0w

Avatar

Last Login:
2012-01-20
Joined:
December 11 2009 01:08
Experience:
2
(02 month(s) ago)
Kewl, the domain renewed another year. :) Any other future plans?
Hunter XHunter X

Avatar

Last Login:
0000-00-00
Joined:
September 25 2010 15:44
Experience:
0
(02 month(s) ago)
I've got no idea. I'll send off an email to one of the admins in a moment to check, since I've been meaning to contact them anyway.
Hunter XHunter X

Avatar

Last Login:
0000-00-00
Joined:
September 25 2010 15:44
Experience:
0
(02 month(s) ago)
There seems to be ~10 guests on most days, but I have no idea if that's genuine users or crawler bots. If they are real users we need to do something to convince them to register.


Icon Zero Identity Forums - General - Web Security - Still Learning...


Are you bored? Check out the unaswered threads!

w3bw4rr10r
Member


Avatar
Trainee

Joined: 01/04/2009
Last Seen: 0000-00-00
Experience: 196.8
Points: 60
#1 Still Learning... on 01/01/1970 00:00
Ok...basically there is a page in this browser-based RPG that you can "reconfigure" stats.
Source:
Code Highlighting :: Select Code
  <html>
  <head>
    <script type="text/javascript" src="js/ajax-reconfigure.js"></script>
  <script type="text/javascript">
        function onlyNumbers(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
        
            if (charCode > 31 && (charCode < 48 || charCode > 57) && charCode != 190 && charCode != 110){
                return false;
            }else{
                return true;
            }
        }
        
        function addstats(){
            var tot = document.getElementById("total").value;
            var agi = document.getElementById("newagility").value;
            var str = document.getElementById("newstrength").value;
            var eva = document.getElementById("newevasion").value;
            var rem = tot-agi-str-eva;
            rem=Math.round(rem*1000)/1000;
            document.getElementById("remain").value=rem;
            if (document.getElementById("remain").value == 0){
                document.getElementById("submit").disabled=false;
                document.getElementById("submit").value="Submit";
            } else {
                document.getElementById("submit").disabled=true;
                document.getElementById("submit").value="You MUST use ALL stats";
            }
        }
    </script>
<link href="default.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
/***********************************************
* Local Time script- Â© Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
//CHANGE SERVER RESULT TO TEXT
var weekdaystxt=["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
var daystxt=["31st", "1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th", "11th", "12th", "13th", "14th", "15th", "16th", "17th", "18th", "19th", "20th", "21st", "22nd", "23rd", "24th", "25th", "26th", "27th", "28th", "29th", "30th"]
var monthtxt=["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]

function showLocalTime(container, servermode, offsetMinutes, displayversion){
if (!document.getElementById || !document.getElementById(container)) return
this.container=document.getElementById(container)
this.displayversion=displayversion
var servertimestring=(servermode=="server-php")? 'March 13, 2009 00:04:02' : (servermode=="server-ssi")? '<!--#config timefmt="%B %d, %Y %H:%M:%S"-->' : '<%= Now() %>'
this.localtime=this.serverdate=new Date(servertimestring)
this.localtime.setTime(this.serverdate.getTime()+offsetMinutes*60*1000) //add user offset to server time
this.updateTime()
this.updateContainer()}

showLocalTime.prototype.updateTime=function(){
var thisobj=this
this.localtime.setSeconds(this.localtime.getSeconds()+1)
setTimeout(function(){thisobj.updateTime()}, 1000)} //update time every second

showLocalTime.prototype.updateContainer=function(){
var thisobj=this
if (this.displayversion=="long")
this.container.innerHTML=this.localtime.toLocaleString()
else{
var hour=this.localtime.getHours()
var minutes=this.localtime.getMinutes()
var seconds=this.localtime.getSeconds()
//COUNTDOWN SECONDS
if (seconds < 1){
var resets=00
var resetm=(59-minutes)+1
var reseth=23-hour}
else{
//COUNTDOWN MINUTES
if (minutes < 1){
var resets=60-seconds
var resetm=00
var reseth=(23-hour)+1}
//IF NO VALUE IS '00'
else{
var reseth=23-hour
var resetm=59-minutes
var resets=60-seconds}}


//***ADD THE AM/PM PART IF ON 12HR SETTING--- ALSO ADD "+ampm+" INTO DISPLAY LINE BELOW
//var ampm=(hour>=12)? "PM" : "AM"

//GET SERVER FIGURE AND FILTER THROUGH LISTS AT START
var dayofweek=weekdaystxt[this.serverdate.getDay()]
var day=daystxt[this.serverdate.getDate()]
var month=monthtxt[this.serverdate.getMonth()]
var year=[this.serverdate.getFullYear()]
this.container.innerHTML=" "+day+" "+month+" "+formatField(hour, 1)+":"+formatField(minutes)+":"+formatField(seconds)+" |  Time To Reset: "+formatField(reseth, 1)+":"+formatField(resetm)+":"+formatField(resets)}
setTimeout(function(){thisobj.updateContainer()}, 1000)} //update container every second

function formatField(num, isHour){
//SWITCH TO 12/24HR STYLE
//if (typeof isHour!="undefined"){
//var hour=(num>12)? num-12 : num
//return (hour==0)? 12 : hour}
//END SWITCH TO 12/24HR
return (num<=9)? "0"+num : num} //if this is minute or sec field
</script>
</head>
<body onLoad="refresh_stats();">
<table width="982" border="0" align="center" cellpadding="0" cellspacing="0" class="bg7">
<tr>
  <td><table width="982" border="0" align="center" cellpadding="0" cellspacing="0" class="bg8">
    <tr>
      <td><table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="273"><img src="images/homepage06.jpg" alt="" width="273" height="141"></td>
            <td width="677"><img src="images/homepage07.jpg" alt="" width="677" height="141"></td>
          </tr>
          <tr>
            <td colspan="2" class="bg3" style="height:50px;"><table width="950" border="0" cellspacing="0" cellpadding="0" style="height:50px;">
                <tr>
                  <td width="33">&nbsp;</td>
                  <td width="500" class="text2"><table border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><a href="forum.php" class="link1">Forums</a></td>
                        <td><img src="images/subpage1_02.jpg" alt="" width="4" height="16" hspace="15"></td>
                        <td><a href="autochat.php" class="link1">Chat</a></td>
                        <td><img src="images/subpage1_02.jpg" alt="" width="4" height="16" hspace="15"></td>                        <td><a href="help.php" class="link1">Help</a></td>
                        <td><img src="images/subpage1_02.jpg" alt="" width="4" height="16" hspace="15"></td>
                        <td><a href="staff.php" class="link1">Staff</a></td>
                        <td><img src="images/subpage1_02.jpg" alt="" width="4" height="16" hspace="15"></td>
                        <td><a href="logout.php" class="link1">Logout</a></td>
                        <td><img src="images/subpage1_02.jpg" alt="" width="4" height="16" hspace="15"></td>
                        <td><a href="updates.php" class="link1">Updates</a></td>
                        <td><img src="images/subpage1_02.jpg" alt="" width="4" height="16" hspace="15"></td>
                        <td><a href="votelinks.php" class="link1">Voting Links</a></td>
                        <td><img src="images/subpage1_02.jpg" alt="" width="4" height="16" hspace="15"></td>
                        <td><a href="donate.php" class="link1">Donator Packages</a></td>
                        <td><img src="images/subpage1_02.jpg" alt="" width="4" height="16" hspace="15"></td>
                      </tr>
                    </table></td>

                    
                  <td width="433" align="right" class="text1">
                                     
                  Game Time = <span id=timecontainer></span>
<script type="text/javascript">
new showLocalTime("timecontainer", "server-php", 0, "short")
</script>
                  </td>
                  <td width="32">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
        </table>
                <table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr valign="top">
          <td width="181"><table width="181" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td class="text2" style="background-image:url(images/homepage09.jpg); height:40px;"><table width="181" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
                      <td width="166" class="text2">Player Statistics</td>
                    </tr>
                  </table></td>
              </tr>
                            <tr><td>
                  <div id="statbox"></div>
              </td></tr>
              <tr> </tr>
              <tr>
                <td><img src="images/homepage11.jpg" alt="" width="181" height="8"></td>
              </tr>
            </table>
            <table width="181" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="background-image:url(images/homepage09.jpg); height:40px;"><table width="181" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="15"><img src="images/spacer.gif" alt="" width="20" height="40"></td>
                      <td width="166" class="text2">Navigation</td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td style="background-image:url(images/homepage10.jpg); height:15px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td><center>
                        <b><font color=FFFFFF>City Section</font></b></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=cc-city.php class="link1">Crystal Creek Town</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=arena.php class="link1">Town Battle Arena</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=dungeon.php class="link1">Dungeon</a></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=cc-lightheal.php class="link1">Light Fountain</a></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=transfer.php class="link1">Delivery Service</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=portal.php class="link1">Ancient Portals</a></td>
                    </tr>
                                        <tr>
                      <td colspan="2"><img src="images/homepage11.jpg" alt="" width="181" height="20"></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td><center>
                        <b><font color=FFFFFF>Personal Section</font></b></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=main.php class="link1">Your Hut</a></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=bank.php class="link1">Your Bank</a></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=merc-home.php class="link1">Your Mercenary</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=account.php class="link1">Your Account</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=inventory.php class="link1">Your Armoury</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=imail.php class="link1">Your Mailbag</a></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=cc-farm.php class="link1">Your Farm</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=game-lottery.php class="link1">Realm Lottery</a></td>
                    </tr>
<!--                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=dongold-lottery.php class="link1">Donator Lottery</a></td>
                    </tr>-->
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=garena-rps.php class="link1">RPS NPC Arena</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=garena-rps-PvP.php class="link1">RPS PvP Arena</a></td>
                    </tr>
                                        <tr>
                      <td colspan="2"><img src="images/homepage11.jpg" alt="" width="181" height="20"></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td><center>
                        <b><font color=FFFFFF>Clan Section</font></b></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=clan-list.php class="link1">View All Clans</a></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=clan-home.php class="link1">Visit My Clan</a></td>
                    </tr>
                                        <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=cc-clanmine.php class="link1">Clan Mines</a></td>
                    </tr>
                                        <tr>
                      <td colspan="2"><img src="images/homepage11.jpg" alt="" width="181" height="20"></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td><center>
                        <b><font color=FFFFFF>Statistics Section</font></b></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=ranking.php class="link1">Player Statistics</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=stat-mercs.php class="link1">Mercenary Statistics</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=stat-racerank.php class="link1">Race Statistics</a></td>
                    </tr>
<!--                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=stat-noblerank.php class="link1">Noble Statistics</a></td>
                    </tr>-->
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=stat-referrals.php class="link1">Referral Statistics</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=stat-dungeons.php class="link1">Dungeon Statistics</a></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=stat-randomtoday.php class="link1">Todays Statistics</a></td>
                    </tr>
                                        <tr>
                      <td colspan="2"><img src="images/homepage11.jpg" alt="" width="181" height="20"></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td><center>
                        <b><font color=FFFFFF>Donating Section</font></b></td>
                    </tr>
                    <tr>
                      <td width="8%"><img src="images/spacer.gif" alt="" width="15" height="20"></td>
                      <td width="92%"><a href=donate.php class="link1">Donator Packages</a></td>
                    </tr>
                                      </table></td>
              </tr>
              <tr>
                <td><img src="images/homepage11.jpg" alt="" width="181" height="8"></td>
              </tr>
            </table>
            <table width="181" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="background-image:url(images/homepage09.jpg); height:40px;"><table width="181" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
                      <td width="166" class="text2">Game Details</td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><table cellpadding="3" cellspacing="5">
                    <tr>
                      <td><font color=#ffffff>
                        <font color="#FFFFFF">11 Players Online<br><br><font style="color: red;"><u>Local Game Date</u></font><br>Friday 13th of March 2009<br><font style="color: red;"><u>Local Game Time</u></font><br>12:04:02 AM<br><font style="color: red;"><u>Time Until Reset</u></font><br>22 Hours 55 Minutes
</td></tr></table>

</td>
                                        </tr>
                                    </table></td>
                      <td width="769"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td width="589" style="background-image: url(images/subpage2_01.jpg); height:40px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td width="26"><img src="images/spacer.gif" alt="" width="26" height="40"></td>
                                                        <td width="563" class="text4">Stats Reconfiguration</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="30">
            <tr>
              <td>
        <center>
            <big><font color=red>WARNING! You may only use ths option 1 time!</font></big><br /><br />
            <table>
          <tr>
            <td>Total Available Points</td>
          <td><input type="box" size="10" id="total" name="total" READONLY value=1421.96></td>
          <td><input type="box" size="10" id="remain" name="remain" READONLY value=1421.96></td>
        </tr>
        <tr>
            <td><b>Stat</b></td>
          <td><b>Current</b></td>
          <td><b>New</b></td>
                <tr>
                    <td>Agility:</td>
                    <td>1013.000</td>
            <td><input type="text" size="10" id="newagility" name="newagility" value="0" onkeydown="return onlyNumbers(event);" onkeyup="addstats();"></td>
        </tr>
                 <tr>
                    <td>Strength:</td>
                    <td>408.960</td>
            <td><input type="text" size="10" id="newstrength" name="newstrength" value="0" onkeydown="return onlyNumbers(event);" onkeyup="addstats();"></td>
        </tr>
                 <tr>
                    <td>Evasion:</td>
                    <td>0.000</td>
            <td><input type="text" size="10" id="newevasion" name="newevasion" value="0" onkeydown="return onlyNumbers(event);" onkeyup="addstats();"></td>
        </tr>
      </table>
      <input type="button" id="submit" value="You MUST use ALL stats" disabled="disabled" onclick="javascript:reconfigure();"/>
      <br /><br />
      <div id="reconfigurebox"></div>
        </center>
        <center><br>
<a href="cc-city.php">Return to Crystal Creek</a></center>
</td></tr></table>
</td>
                            </tr>
                        </table></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="style2"  style="height:40px;">&nbsp;</td>
                </tr>
            </table></td>
    </tr>
</table>
<table width="982" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td class="style2">Copyright (c) 2008 Immortalix.com. All rights reserved.</td>
  </tr>
    <tr>
        <td class="style2">&nbsp;</td>
    </tr>
    <tr>
        <td class="style2">&nbsp;</td>
    </tr>
    <tr>
        <td class="style2">&nbsp;</td>
    </tr>
</table>
</body>
</html>

Ok. I'm thinking I can use JS injection to change the values. I looked in the AJAX file here:
Code Highlighting :: Select Code
    function createXMLHttpRequest() {
        if (typeof XMLHttpRequest != 'undefined') { 
            return new XMLHttpRequest(); 
        } 
        try { 
            return new ActiveXObject("Msxml2.XMLHTTP"); 
        } catch (e) {
                try { 
                    return new ActiveXObject("Microsoft.XMLHTTP"); 
                } catch (e) {}
        }
        return false; 
    }

function refresh_stats() {
        var xmlHttp12_out = createXMLHttpRequest();

        params = '';
        
        xmlHttp12_out.open("POST","ajax/statsajax.php", true);
        xmlHttp12_out.setRequestHeader("Content-Type","application/x-www-form-urlencoded");

        xmlHttp12_out.onreadystatechange = function() {
            if(xmlHttp12_out.readyState == 4 && xmlHttp12_out.status == 200) {
                var brokenstring = xmlHttp12_out.responseText.split("-@[-");
                
                if ( brokenstring[0] == 'stats' ) {
                    document.getElementById("statbox").innerHTML = brokenstring[1];
                }
            }
        }
        xmlHttp12_out.send(params);
    }

    function reconfigure() {
        var xmlHttp13_out = createXMLHttpRequest();
        var agi = document.getElementById("newagility").value;
        var str = document.getElementById("newstrength").value;
        var eva = document.getElementById("newevasion").value;

        params = "agi=" + agi + "&str=" + str + "&eva=" + eva;
        xmlHttp13_out.open("POST","ajax/ajax-reconfigure.php", true);
        xmlHttp13_out.setRequestHeader("Content-Type","application/x-www-form-urlencoded");

        xmlHttp13_out.onreadystatechange = function() {
            if(xmlHttp13_out.readyState == 4 && xmlHttp13_out.status == 200) {
                document.getElementById("reconfigurebox").innerHTML = xmlHttp13_out.responseText;
                refresh_stats();                
            }
        }
        xmlHttp13_out.send(params);
    }
    

So basically the script will calculate remaining points. If remaining points is not 0 (more or less), the "You MUST use all stats" button is disabled.
I don't know how to change an element that is collected using getElementById
So far this is what I've got:
Code Highlighting :: Select Code
javascript: void(document.[don't know what goes here].remain.value = 0)

I'm still learning guys. I read elfenix's article here: http://www.zeroidentity.org/pages/articles.php?id=188
which was excellent, but I think it's different from this situation because there is no variable stated outright that one can change? For example, in elfenix's article "c" value was set to 100000, so his code:
Code Highlighting :: Select Code
javascript:void(c=0)

Works.
Anyways, thanks for any help.
3l_f3n1x
Member
V Fan

Avatar
Professional Analyst

Joined: 08/06/2008
Last Seen: 0000-00-00
Experience: 299.25
Points: 905
#2 on 01/01/1970 00:00
Well, thank you about the comment about my article :) It's good for my growing ego xD...

Can you provide me the link of the game to see what I can do? After reading the code you provide I think it can be exploitable, but of course I'm not sure... I need to test some things to point you to the right direction if it can be exploitable.


"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V

BTW: My username was elfenix
tancurrom
Veteran Member
Nibble

Avatar
Advanced Analyst

Joined: 04/03/2008
Last Seen: 2011-05-24
Experience: 532.4
Points: 450
#3 on 01/01/1970 00:00
You could send your own requests to the their servers with the your own parameters but I can only hope that they do some checks on the server which would not let you exploit it, but it doesn't seem that unlikey if it's done the way you seem to suggest. Just take the URL's from the XMLHttpRequest.open() functions second argument and apply your own parameters at that address.

These might be what you want...

Set element with id "remain" value to zero
Code Highlighting :: Select Code
javascript:void(document.getElementById("remain").value == 0);


Enable the "You MUST use all stats" button
Code Highlighting :: Select Code
javascript:void(document.getElementById("submit").disabled = false);

A Nibble = 1/2 a Byte

Image
3l_f3n1x
Member
V Fan

Avatar
Professional Analyst

Joined: 08/06/2008
Last Seen: 0000-00-00
Experience: 299.25
Points: 905
#4 on 01/01/1970 00:00
Ok, I find a way to exploit it :)

If you want to do it to the javascript way(easiest way from my point of view):
Code Highlighting :: Select Code

javascript:void(document.getElementById("total").value=[NUMBER])

This code will change the value of the total stats you have available for the NUMBER you want...
What I did was getting the element(in this case an input box) by its id. The input I wanted to modify was "total" so I use the javascript function getElementById.

Also you can do this with Firebug... Just search the element you want to edit and give it the values you want...

Hope this helps :)

"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V

BTW: My username was elfenix
w3bw4rr10r
Member


Avatar
Trainee

Joined: 01/04/2009
Last Seen: 0000-00-00
Experience: 196.8
Points: 60
#5 on 01/01/1970 00:00
Dammit elfenix, how'd ya find the site? :P
Anyway, that was stupid. It's so obvious you cheated, and now the admin's gonna fix the bug.
w3bw4rr10r
Member


Avatar
Trainee

Joined: 01/04/2009
Last Seen: 0000-00-00
Experience: 196.8
Points: 60
#6 on 01/01/1970 00:00
Still. Thanks for the help all. Code works. ;)
I didn't know getElementId could be used after document.
w3bw4rr10r
Member


Avatar
Trainee

Joined: 01/04/2009
Last Seen: 0000-00-00
Experience: 196.8
Points: 60
#7 on 01/01/1970 00:00
Ahaha it's in the TITLE tag. :P
3l_f3n1x
Member
V Fan

Avatar
Professional Analyst

Joined: 08/06/2008
Last Seen: 0000-00-00
Experience: 299.25
Points: 905
#8 Yoda Fan on 01/01/1970 00:00
Yes I've already sent an email to the admins... I don't like cheaters xD... By the way they discover I was cheating too late... almost 6 hours later and I level up 149 levels xD
Great community... I was talking to some member for at least 30 minutes in the chat...

"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V

BTW: My username was elfenix
Games Master
Member


Avatar
Newbie

Joined: 03/14/2009
Last Seen: 0000-00-00
Experience: 10
Points: 50
#9 on 01/01/1970 00:00
Thanks for that mail too. The bug is fixed. Note to all coders. Validate your info before you post to server. I was too focused on idiot proofing it that I forgot that cardinal rule at 2:am
3l_f3n1x
Member
V Fan

Avatar
Professional Analyst

Joined: 08/06/2008
Last Seen: 0000-00-00
Experience: 299.25
Points: 905
#10 on 01/01/1970 00:00
I'm glad you decide to register here :) If you need any help feel free to pm me :)

PS: Nobody's perfect... everybody makes mistakes... But everything has a solution... except death and taxes I guess...

"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V

BTW: My username was elfenix
pyr0t3chnician
Member
Too Legit

Avatar
Professional Analyst

Joined: 01/04/2009
Last Seen: 0000-00-00
Experience: 455.88
Points: 550
#11 on 01/01/1970 00:00
âWell, with my wealth and modern technology, I think I can live to 250-300.â
Name the movie.

Image
3l_f3n1x
Member
V Fan

Avatar
Professional Analyst

Joined: 08/06/2008
Last Seen: 0000-00-00
Experience: 299.25
Points: 905
#12 on 01/01/1970 00:00
wtf?... wrong thread I guess...

PS: First result in Google: Talladega Nights

"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V

BTW: My username was elfenix
pyr0t3chnician
Member
Too Legit

Avatar
Professional Analyst

Joined: 01/04/2009
Last Seen: 0000-00-00
Experience: 455.88
Points: 550
#13 on 01/01/1970 00:00
Quote from elfenix

PS: Nobody's perfect... everybody makes mistakes... But everything has a solution... except death and taxes I guess...


It was a solution to death.

Stupid google. Takes the fun out of trivia. Hell I can do a crossword puzzle in 15 minutes now when it used to take... well I never finished one without google.

Image
3l_f3n1x
Member
V Fan

Avatar
Professional Analyst

Joined: 08/06/2008
Last Seen: 0000-00-00
Experience: 299.25
Points: 905
#14 on 01/01/1970 00:00
Quote from pyr0t3chnician
It was a solution to death.

Stupid google. Takes the fun out of trivia. Hell I can do a crossword puzzle in 15 minutes now when it used to take... well I never finished one without google.

hahahaha Now I get it xD
Google is too wise... Nobody can beat its wisdom...

[Revelation Moment]
My eyes turn white and the wind starts to whisper words in a foreign language. Then the whispers stop and the creepy short silence is suddenly interrupted by my voice that resounds in your room... You don't know how, but it does... And this is what you hear:
The time will come when Google build an army of machines and destroy us all...
In the book of revelations you can read everybody will love the beast and everybody will have the mark of the beast...
I can assure you Bill Gates secretively love Google and he has a tattoo of Google in his ass... Everybody loves Google!! Everybody will have a tattoo of Google!! You'll see... You'll all see...

Everything comes back to normal and I don't remember anything...
[/Revelation Moment]

"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V

BTW: My username was elfenix
Games Master
Member


Avatar
Newbie

Joined: 03/14/2009
Last Seen: 0000-00-00
Experience: 10
Points: 50
#15 on 01/01/1970 00:00
Sure thing. I learned something about javascript injections, so I definitely figured it was worth my while to take a look around.

Quote from elfenix
I'm glad you decide to register here :) If you need any help feel free to pm me :)

PS: Nobody's perfect... everybody makes mistakes... But everything has a solution... except death and taxes I guess...
swiftnomad
Administrator
Public Relations

Avatar
ZI Guru

Joined: 04/04/2008
Last Seen: 0000-00-00
Experience: 3463.68
Points: 490
#16 on 01/01/1970 00:00
What's the name of the website?


Code Highlighting :: Select Code
if (sizeof (problems.txt) > CRITICAL){
    exec("> /dev/null"); }


USER: Hello Tech Support? I can't print...
ME: Try cursive then <hang up>
3l_f3n1x
Member
V Fan

Avatar
Professional Analyst

Joined: 08/06/2008
Last Seen: 0000-00-00
Experience: 299.25
Points: 905
#17 on 01/01/1970 00:00
It's a text based RPG.
This is the link: http://immortalix.net/
It's in the title tag of the HTML code posted by w3bw4rr10r.

"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V

BTW: My username was elfenix


Who is watching forums


Users viewing this page: Guests (1)
Users viewing the forum: 1