(self)
get wordpress site using a dork the attacker
        may do a password list attack (i did a tool for that purpose check my pastebin) 
        or scan for common vulnerabilities using wpscan for example (i did a simple tool 
        for multi scanning using wpscan)
get wordpress site using a dork the attacker
        may do a password list attack (i did a tool for that purpose check my pastebin) 
        or scan for common vulnerabilities using wpscan for example (i did a simple tool 
        for multi scanning using wpscan)
get wordpress site using a dork the attacker may do a password list attack ( i did a tool for that purpose check my pastebin ) or scan for common vulnerabilities using wpscan for example ( i did a simple tool for multi scanning using wpscan )
def getWordpress(self) :
        """
        get wordpress site using a dork the attacker
        may do a password list attack (i did a tool for that purpose check my pastebin) 
        or scan for common vulnerabilities using wpscan for example (i did a simple tool 
        for multi scanning using wpscan)
        """
        lista = []
        page = 1
        while page <= 101:
            try:
                bing = "http://www.bing.com/search?q=ip%3A" + self.serverip + "+?page_id=&count=50&first=" + str(page)
                openbing = urllib2.urlopen(bing)
                readbing = openbing.read()
                findwebs = re.findall('<h2><a href="(.*?)"', readbing)
                for i in range(len(findwebs)):
                    wpnoclean = findwebs[i]
                    findwp = re.findall('(.*?)\?page_id=', wpnoclean)
                    lista.extend(findwp)
                page += 50
            except:
                pass
        lista = unique(lista)
        clearScr()
        print '[*] Found ', len(lista), ' Wordpress Website\n'
        for site in lista :
            print site
def getWordpress ( self ) : lista = [ ] page = 1 while page <= 101 : try : bing = "http://www.bing.com/search?q=ip%3A" + self . serverip + "+?page_id=&count=50&first=" + str ( page ) openbing = urllib2 . urlopen ( bing ) readbing = openbing . read ( ) findwebs = re . findall ( '<h2><a href="(.*?)"' , readbing ) for i in range ( len ( findwebs ) ) : wpnoclean = findwebs [ i ] findwp = re . findall ( '(.*?)\?page_id=' , wpnoclean ) lista . extend ( findwp ) page += 50 except : pass lista = unique ( lista ) clearScr ( ) print '[*] Found ' , len ( lista ) , ' Wordpress Website\n' for site in lista : print site