Bangert 30 1619GJ Andijk
Bangert 30 1619GJ Andijk > Hackers

Hackers


For a long while i could not acces a website with ftp ftps sftp or filemanager on html
i could upload a single file

so uploaded a simple single file php file manager script
timed out or run out of memory
but one time i could see a lot of 6 character files on the webserver directory

filenames had 0-9 a to z and A-Z as possible characters on 6 positions
so made a php script


*****************************************************************************
< ? p h p
$fileList = glob('[a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9]');
foreach($fileList as $filename){
 if(is_file($filename)){
        // be carefull with unlink this deletes files => unlink($filename);
        echo $filename, '<br>'; 
    }   
}
? >
****************************************************************************
uploaded above script and ran it several times because of php timeouts
this deleted all 6 character filenames

i think this deleted 10 x 26 x 26 x 6 = 40560 files
now i can acces the website again

On the site was a greeting from the h acker and an r 5 7.p h p (s)hel script

 


Counter
De hele dag met zijn cut achter de computer , Dan zou je denken dat je er toch weleens achter komt dat je meer als 2 wijsvingers hebt en dat als je die gebruikt dat het dan veel sneller gaat