Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Wednesday, April 23, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 25
Guests Online: 23
Members Online: 2

Registered Members: 82885
Newest Member: ConiBE
Latest Articles
View Thread

HellBound Hackers | Challenges | Realistic

Author

real 2


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 25-12-06 10:06
heres what i have

Code

<script type="text/javascript">

var month = 1

var day = 1

var x = 0

while ( month != 12 && day != 31)

{

   //adding dates/months
   
   if (day = 31)
   
   {
   day = 1
   month += 1
   }
   
   else
   
   {
   day += 1
   }
   
   //check for double digit months
   
   if (month >= 10)
   
   {
   x += 1
   }
   
   //check for double digit days
   
   if (day >= 10)
   
   {
   x += 2
   }
   
   //get the right format
   
   if (x = 0)
   
   {
   window.location.href="http://hellboundhackers.org/challenges/real2/backups/backup_2004-0"+month+"-0"+day+"_1000.sql"
   }
   
   else if (x = 1)
   
   {
   window.location.href="http://hellboundhackers.org/challenges/real2/backups/backup_2004-"+month+"-0"+day+"_1000.sql"
   }
   
   else if (x = 2)
   {
   window.location.href="http://hellboundhackers.org/challenges/real2/backups/backup_2004-0"+month+"-"+day+"_1000.sql"
   }
   
   else
   {
   window.location.href="http://hellboundhackers.org/challenges/real2/backups/backup_2004-"+month+"-"+day+"_1000.sql"
   }
   
}

</script>





it loops through every possible day/month combination url. is this ok? i dont know how to use it...