Esempio n. 1
0
    def __init__(self):
        self.db_init = DBInit()
        self.edb_dao = EDBDao(self.db_init.session)

        self.session = requests_html.HTMLSession()
        self.session.keep_alive = False
        self.headers = {
            'user-agent':
            'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
        }
Esempio n. 2
0
    def __init__(self):
        db_init = DBInit()
        self.msf_dao = MSFDao(db_init.session)

        self.session = requests_html.HTMLSession()
        self.session.keep_alive = False
        self.headers = {
            'user-agent':
            'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
        }
        logging.basicConfig(level=logging.INFO)
Esempio n. 3
0
    def __init__(self):
        self.db_init = DBInit()
        self.edb_dao = EDBDao(self.db_init.session)

        self.session = requests_html.HTMLSession()
        self.session.keep_alive = False
        self.headers = {
            'user-agent':
            'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
            'Host': 'www.exploit-db.com',
            'User-Agent':
            'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0',
            'Accept':
            'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
            'Accept-Language':
            'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
            'Accept-Encoding': 'gzip, deflate',
            'Referer': 'https://www.exploit-db.com/',
            'Connection': 'close'
        }
Esempio n. 4
0
 def __init__(self):
     logging.basicConfig(level=logging.INFO)
     db_init = DBInit()
     self.cve_dao = CVEDao(db_init.session)
     self.msf_dao = MSFDao(db_init.session)
     self.edb_dao = EDBDao(db_init.session)
Esempio n. 5
0
 def __init__(self):
     db_init = DBInit()
     self.msf_dao = MSFDao(db_init.session)
     logging.basicConfig(level=logging.INFO)
Esempio n. 6
0
 def __init__(self):
     db_init = DBInit()
     self.exploit_tool_dao = ExploitToolDao(db_init.session)
     self.search_engine = SearchEngine()
     pass