Postleaks
Project description
Postleaks
Description
Postman is an awesome platform to build and use APIs, used by millions developers.
It proposes also public API assets built by them which can contains custom endpoints and data. Unfortunately, these items can leak sensitive data about private websites and companies.
This script is aimed to search for these pieces of information in Postman public library.
Installation
pip3 install postleaks
or
pip3 install .
Usage
❯ postleaks -h
usage: postleaks [-h] [-k KEYWORD] [-kf KEYWORD_FILE] [--extend-workspaces] [--strict] [--include INCLUDE] [--exclude EXCLUDE] [--raw] [--output OUTPUT]
Postleaks 🚀💧 Search for sensitive data in Postman public library.
options:
-h, --help show this help message and exit
-k KEYWORD Keyword (Domain, company, etc.)
-kf KEYWORD_FILE File containing keywords (one per line)
--extend-workspaces Extend search to Postman workspaces linked to found requests (warning: request consuming and risk of false positive)
--strict Only include results where keywords are in the URL (warning: could miss some results where the final URL is a variable)
--include INCLUDE URL should match this string
--exclude EXCLUDE URL should not match this string
--raw Display raw filtered results as JSON
--output OUTPUT Store JSON in specific output folder (Default: results_<TIMESTAMP>)
The results are available in results_<TIMESTAMP>
subfolder. The filename is the request identifier in Postman.com
Example
Limitations
Postman.com is limiting the results to 300 items (page size of 100 / offset of 200).
Notes
Secret detection is done with whispers. Rules are stored in config.yml
file.
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
File details
Details for the file postleaks-1.1.5.tar.gz
.
File metadata
- Download URL: postleaks-1.1.5.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7319d4181de93863c17be482e4b67dd8dfc2a524cab48ee75ba7ef010b899441 |
|
MD5 | f2596178e812cda9c224ee8f33e87136 |
|
BLAKE2b-256 | 88b51f45de31e0f604b7cc37993142728f709803d19ab56bfb48ce4f3b51857e |
File details
Details for the file postleaks-1.1.5-py3-none-any.whl
.
File metadata
- Download URL: postleaks-1.1.5-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac1a16c07c1818c11219a63ba769498e38a2a31981740f0ec4ba42a66243e671 |
|
MD5 | 9e95c3c02d0f63e20aa640662ea55b1b |
|
BLAKE2b-256 | d7fc166dc4e18f9b3859d649405d1cb6a79b20ce8426c32c06fd2b74e290c72c |