def getJoomla(self):
        '''
        get all joomla websites using
        bing search the attacker may bruteforce
        or scan them
        '''
        lista = []
        page = 1
        while page <= 101:
            bing = "http://www.bing.com/search?q=ip%3A" + self.serverip + \
                "+index.php?option=com&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)):
                jmnoclean = findwebs[i]
                findjm = re.findall('(.*?)index.php', jmnoclean)
                lista.extend(findjm)
            page += 50
        lista = unique(lista)
        clearScr()
        print('[*] Found ' + len(lista) + ' Joomla Website\n')
        for site in lista:
            print site

        get all joomla websites using
        bing search the attacker may bruteforce
        or scan them
        
fsociety.py