Advertisement
_d3f4ult

[+] Poodlebleed_Mass_Scanner.py [+]

Oct 19th, 2014
1,741
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.91 KB | None | 0 0
  1. print "###########################################################"
  2. print "###           Poodlebleed_Mass_Scanner.py               ###"      
  3. print "###                 CVE-2014-3566                       ###"
  4. print "### *************************************************** ###"
  5. print "###                                                     ###"
  6. print "###    'Shhh be very quiet, we're hunting poodles!'     ###"                      
  7. print "###              *Elmer Fudd voice*                     ###"
  8. print "###                  _,_                                ###"
  9. print "###                 (;;;)              ,                ###"
  10. print "###              ,__/a /;\           (;)               ###"
  11. print "###              (__   |;| _         //                 ###"
  12. print "###               '--. \;/;;)_____ (;;)                 ###"
  13. print "###                  @\(,;)'      '`/                   ###"
  14. print "###                   (;;)          |                   ###"
  15. print "###                     \ _____\  /                   ###"
  16. print "###                    //||    \ \ |                    ###"
  17. print "###                   || ||     ||||                    ###"
  18. print "###                  (;;(;;)   (;(;;)                   ###"
  19. print "###                  ((_((_)  ((_((_)                   ###"
  20. print "###                                                     ###"
  21. print "### twitter.com/_d3f4ult                                ###"
  22. print "###########################################################"
  23. print "\n"
  24.  
  25. import requests, json
  26. from HTMLParser import HTMLParser
  27.  
  28. class bcolors:
  29.     HEADER = '\033[95m'
  30.     OKBLUE = '\033[94m'
  31.     OKGREEN = '\033[92m'
  32.     WARNING = '\033[93m'
  33.     FAIL = '\033[91m'
  34.     ENDC = '\033[0m'
  35. class MyHTMLParser(HTMLParser):
  36.     def handle_data(self, data):
  37.         if data=='The Server at '+z+' has SSL 3.0 enabled. Clients connecting with browsers that support SSL 3.0 and HTTPS fall back will not be secure.':
  38.             print bcolors.OKGREEN+" \!/ The site "+z+" is Vulnerable \!/ "+bcolors.ENDC
  39.             print "\n"
  40. query=raw_input(" [+] Enter Dork or Url:")
  41. print "\n"
  42. for start in range(0,3): #if you want more results change range to 50
  43.   page=1
  44.   resultPerPage=8
  45.   url="http://ajax.googleapis.com/ajax/services/search/web?v=1.0&hl=iw&rsz="+str(resultPerPage)+"&start="+str(start)+"&q="+query
  46.   print " [+] Launching a Google Crawler"
  47.   search_response= requests.get(url)
  48.   search_results=search_response.text
  49.   results = json.loads(search_results)
  50.   data = results['responseData']
  51.   global hits
  52.   hits=data['results']
  53.   print " [+] Mass testing sites for Poodlebleed, relax & enjoy ur coffee ;) "
  54.   print "\n"
  55.   for h in range(0,8):
  56.     print "Scanning -> "+hits[h]['visibleUrl']
  57.     global z
  58.     print "\n"
  59.     z=hits[h]['visibleUrl']
  60.     url2="http://poodlebleed.com/server.php?domain="+hits[h]['visibleUrl']+"&port=443"
  61.     poodlebleed=requests.get(url2)
  62.     parser = MyHTMLParser()
  63.     parser.feed(poodlebleed.text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement