A minimal exploit-db wrapper written in Python. This module was made to be integrated into the dante scanner
pip3 install requests beautifulsoup4
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