Follow us on Twitter!
Society leans ever heavily on computers, if you have the power to take out computers you can take out society. - cubeman372
Thursday, April 17, 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: 15
Guests Online: 15
Members Online: 0

Registered Members: 82822
Newest Member: TheBunter
Latest Articles
View Thread

HellBound Hackers | Challenges | Realistic

Author

realistic 2 - js coding


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 23-12-06 08:41
ok. so i know that i need to loop through january to december with all the possible dates, and visit the web page for each date. i have three problems:

1. where do i write the js into?
2. in js, how do i make the browser go to a webpage
3. what do i write in js to make it check to see if its the right page?
Author

RE: realistic 2 - js coding


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 23-12-06 09:52
LOL! Smile

1:
do you actually know any javascript?since you stated,
you don't know where to put it?
2:
you probably don't,you stated you don't know how to direct
a browser to a website.
3:
i suggest you read up on some basic javascript tutorials.
since you stated you don't know what to write...
i have the weirdest feeling you'll learn a lot from it.

peace.:happy:





Author

RE: realistic 2 - js coding


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 23-12-06 10:21
http://www.w3scho. . .efault.asp :happy:


Author

RE: realistic 2 - js coding

Uber0n
Member



Posts: 1963
Location: Sweden‭‮
Joined: 13.06.06
Rank:
Hacker Level 3
Posted on 23-12-06 12:53
carrico wrote:
2. in js, how do i make the browser go to a webpage


Just set the 'location' variable to the page you want to visit, but you should probably read up some more on JS first Wink


img230.imageshack.us/img230/724/uber0nsig3hj6.gif
http://uber0n.web. . .
Nope http://uber0n.webs.com/
Author

RE: realistic 2 - js coding


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 24-12-06 12:57
heres a script i wrote...what do you people think? it goes through every page with every date/month combination

<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>