def __init__(self, argsDic): self.plugin_pages = 3 self.addonTol = set() self.url = argsDic['url'] or 'http://www.discuz.net' self.addon_path = '%s?id=' % urljoin(self.url, '/plugin.php') self.queue = Queue() self.gevents = int(argsDic['gevent']) if argsDic['gevent'] else 10 self.pool = [] self.ctn = True self.verbose = argsDic['verbose'] self.reqs = 0 self.plugin_result='' self.outs = 0 self.scan_count=0 self.log = argsDic['log'] self.count=len(open('adds.txt').read().split("\n")) self.passdic=argsDic['dict'] or 'pass.dic' self.quepass=Queue() self.founder=argsDic['founder'] or False self.dzext=dzextend() self.found_result=False
def fetch_admin(self): print "[+] Enumerating Admin from passive detection ...\n" dzext=dzextend() respone=dzext.GetAdminId(self.url) for i in respone: print "[!] Found Admin ['%s']"%i
def fetch_index_plugin(self): print "\n[+] Found Plugin of index page ...\n" dzext=dzextend() inedxplugin=dzext.GetIndexPlugin(self.url) for i in inedxplugin: print "[!] Found Plugin ['%s']"%i