Real 2 help
Plz i have some problem with code in real 2 : php :
<? $i=0; $j=0; $day=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"); $hour=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"); for (i=0;i<32;i++) for (j=0;j<25;j++) { { url = "http://www.hellboundhackers.org/challenges/real2/backups/backup_2004-09-"$day[i]"_"$hour[j]"00.sql"; fopen($url,"r"); } } } ?>
Please tell me where is the problem Thank You
Why work, its done (my post that many years ago is the best one) :-p and why php, then you have to get a parser and stuff and that gets messy. http://www.hellboundhackers.org/fusion_forum/viewthread.php?forum_id=8&thread_id=3007 now onto your script, for one your script doesn't do anything, it reads it but it doesn't save what it reads, if you want to do something you can make it find a page that opens then make it do a header("location: ".$url); to that spot also you have your fors and your { kinda messy you have
for (i=0;i<32;i++) for (j=0;j<25;j++) { {
what you want is
for (i=0;i<32;i++) { for (j=0;j<25;j++) {
$url like system said with a " . " to put everything together in php
and you end with three brackets but only open with 2… can't parse that sucker and these are some of the problems i see right off the bat
} } } ?>
yeah if you don't want to program you can do each possibility manually until you find it, one of the best ways to be a hacker is to be a programmer, so it would be a good idea to learn, and how i learned is from a website http://www.w3schools.com