Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pyxploitdb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyxploitdb

An exploit-db.com python API using advanced search with all possible filters.

  • 2.0
  • PyPI
  • Socket score

Maintainers
1

Pyxploit-db

downloads license

image

An exploit-db.com python API using advanced search with all possible filters.

For another project, I needed to make some queries to the exploit database, but I couldn't find any complete API that would allow me to get what I wanted, how I wanted. So I decided to create my own API, and making it as complete as possible, with the maximum of parameters so everyone will find what they need and how they need it.

How to use

$ python3 -m pip install pyxploitdb

Examples

>>> import pyxploitdb
>>> pyxploitdb.searchEDB("Gitlab 14.9", platform="ruby", _print=False, nb_results=1)
[Exploit(id='50888', description='Gitlab 14.9 - Authentication Bypass', 
type='webapps', platform='Ruby', date_published='2022-04-26', verified=0, 
port=0, tag_if_any=[], author='Greenwolf', link='https://www.exploit-db.com/exploits/50888')]
>>> pyxploitdb.searchCVE("CVE-2006-1234")
[Exploit(id='27423', description='DSCounter 1.2 - 'index.php' SQL Injection', 
type='webapps', platform='PHP', date_published='2006-03-14', verified=1, port=0, 
tag_if_any=[], author='Aliaksandr Hartsuyeu', link='https://www.exploit-db.com/exploits/27423')]

With _print=True

Table Result


A full explanation of the functions can be found in the wiki or directly in the code.


TODO

  • searchEDB function
  • searchCVE function
  • Create a package
  • Create a wiki

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc