pyosintleak
pyosintleak is a Python library designed to leverage the capabilities of the osintleak API, streamlining the integration and automation of open-source intelligence (OSINT) operations.
Installation
You can install pyosintleak using pip:
pip install pyosintleak
Alternatively, you can clone the repository from GitHub:
git clone https://github.com/osintleak/pyosintleak.git
cd pyosintleak
pip install .
Usage
Command Line Interface (CLI)
pyosintleak also comes with a command line interface (CLI) tool to interact with the API conveniently.
Setting API Key
Before using the CLI tool, you need to set your API key. This key is essential for accessing the osintleak API. You can set or update the API key using the following command:
osintleak --key <your_api_key>
CLI Options
- -q, --query: Set search query (e.g.,
-q osintleak.com) - -r, --result_id: Fetch recent search by ID (e.g.,
-r <ID>) - -t, --type: Set search type (e.g.,
-t url). Default is 'username' - -d, --datasets: Set datasets (e.g.,
-d SL,DB,D2). Default is '' - --ss, --similar: Enable similar search
- -p, --page: Set page number (e.g.,
-p 1). Default is 1 - --ps, --page_size: Set page size (e.g.,
-p 20). Default is 20 - -o, --output: Specify output file (optional)
- -s, --silent: Enable silent mode (optional)
- --key: Change API key (optional)
Example Usage
# Set API key
osintleak --key <your_api_key>
# Perform a search
osintleak -q ahmed
# Fetch recent search results by ID
osintleak -r <result_id> -p 2
# Save output to a file
osintleak -q example.com -t url -o output.txt
Feel free to explore more options and functionalities by checking the help:
osintleak --help
Contributing
If you encounter any issues or have suggestions for improvements, please feel free to contribute by opening an issue or submitting a pull request on GitHub. Your feedback is highly appreciated!
Metadata
Release files for pyosintleak 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyosintleak-1.0.2.tar.gz | 6.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyosintleak-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / pyosintleak-1.0.2.tar.gz
| Download URL | pyosintleak-1.0.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28dad4ceda8fe8e44a69d18033edd1d56b09151dc4959b1b7525c04e7b0dc20a
|
|
BLAKE2b-256 checksum How to use checksums |
32e295d9038e68a3cd999436aac36e53c2c7e6a3b9ea1bd3b0faa8ab4b1bf4a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / pyosintleak-1.0.2-py3-none-any.whl
| Download URL | pyosintleak-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b00b4b6b1d8364d8e856363428f5400f780c26b85f69d0515d5c60355687a15
|
|
BLAKE2b-256 checksum How to use checksums |
4f22b58705fd10534d1a1f67ffd6969655cf6d66d4332cbedf472a1768ec0707
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for pyosintleak 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.