/exploit-db-wrapper

A minimal exploit-db wrapper written in Python

Primary LanguagePythonMIT LicenseMIT

exploit-db-wrapper

A minimal exploit-db wrapper written in Python. This module was made to be integrated into the dante scanner

Depends on requests and beautifulsoup

pip3 install requests beautifulsoup4

CLI Usage

alt text

Module usage

from exploit_db_wrapper import search

all_exploits = search("mysql")
# grabs all verified and non verified exploits for the keyword mysql

for verified_exploits in all_exploits["verified"]:
    print(verified_exploits["title"])
    print("link: " + verified_exploits["link"])
    print("type: " + verified_exploits["type"])
    print("platform: " + verified_exploits["platform"])
# prints title, link, type and platform of the verified exploits for the keyword mysql

for non_verified_exploits in all_exploits["nverified"]:
    print(non_verified_exploits["title"])
    print("link: " + non_verified_exploits["link"])
    print("type: " + non_verified_exploits["type"])
    print("platform: " + non_verified_exploits["platform"])
# prints title, link, type and platform of the non verified exploits for the keyword mysql