An exploit-db.com python API using advanced search with all possible filters.
Project description
Pyxploit-db
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
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyxploitdb-2.0.tar.gz.
File metadata
- Download URL: pyxploitdb-2.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20f7cf5d0a8e0649bca621948f2dbd561bd245660795b92e31f7b67bbf8a1bbc
|
|
| MD5 |
6cffdf0fc6c2b6bc26f96179d6a29211
|
|
| BLAKE2b-256 |
32bfb8c0266bfe35763a70162beea2803b3675becf3cb772dda67c399c2fe388
|
File details
Details for the file pyxploitdb-2.0-py3-none-any.whl.
File metadata
- Download URL: pyxploitdb-2.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7552d778876724fff42d0015306897c1b71e83a47bd300bc0d32d67ce4d9307
|
|
| MD5 |
9ff5b310979943a36bb22b82bfd34542
|
|
| BLAKE2b-256 |
faf5f6fd3212097eefbf8413624dc59e73ecbd3bf53b62d53b552778b81311b8
|