Asset and infrastructure discovery for the Klyrek ecosystem
Project description
klyrek-assets
Asset and infrastructure discovery. Three independent pieces:
subdomains— resolves a curated wordlist of common subdomains against a base domain using stdlib DNS only (socket.getaddrinfo; nodnspythondependency, so this covers A/AAAA-style resolution, not full record types like MX/TXT/NS).buckets— detects Amazon S3 / Google Cloud Storage / Azure Blob Storage references in HTML or JS body text, and probes S3/GCS references for a public directory listing (both expose an S3-compatible XML API, so the same<ListBucketResult>check covers both).sensitive_files— probes a small, curated set of commonly-exposed paths (.env,.git/config,wp-config.php.bak,.aws/credentials, ...). Before probing, it fetches one deliberately-nonexistent path as a baseline so a server that returns200for every URL (an SPA catch-all) doesn't produce a findings for every path checked.
from klyrek_assets.buckets import extract_cloud_storage_refs, probe_bucket_exposure
from klyrek_assets.sensitive_files import probe_sensitive_files
from klyrek_assets.subdomains import enumerate_subdomains
subdomains = enumerate_subdomains("target.com")
findings = probe_sensitive_files(client, "https://target.com/")
for ref in extract_cloud_storage_refs(page_html):
finding = probe_bucket_exposure(client, ref)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
klyrek_assets-0.1.0.tar.gz
(5.9 kB
view details)
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 klyrek_assets-0.1.0.tar.gz.
File metadata
- Download URL: klyrek_assets-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d145b5a8a6bf619663ab4a2df31810ffc26ab5a4a232eeb074553ab52448bdf8
|
|
| MD5 |
25c780f5fde8e20bc5c7dd6a5e1a360a
|
|
| BLAKE2b-256 |
20c69331e24e5d4bcdc88e1b1cf11be0042bc73fbc10f99299cc1f3ba8625342
|
File details
Details for the file klyrek_assets-0.1.0-py3-none-any.whl.
File metadata
- Download URL: klyrek_assets-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
921a06769d5642428b204d1a5eea4b2c96ff20485f6279f2845bbe9bb98325fe
|
|
| MD5 |
20a3a714074a09ce451183ea8a3f2b00
|
|
| BLAKE2b-256 |
3bded875c999b01b966d756163aea88f19d61fdb7f3c8af3393ea59db96b8ccd
|