-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
91 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,86 @@ | ||
# The Panthera(P.)uncia of Cybersecurity | ||
# The Panthera(P.)uncia of Cybersecurity | ||
|
||
### Official CLI utility for Subdomain Center & Exploit Observer | ||
|
||
[![Downloads](https://pepy.tech/badge/puncia)](https://pepy.tech/project/puncia) | ||
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat"> | ||
<img alt="GitHub stars" src="https://img.shields.io/github/stars/ARPSyndicate/puncia"> | ||
<img alt="GitHub stars" src="https://img.shields.io/github/stars/ARPSyndicate/puncia"> | ||
<br> | ||
<img src="https://raw.githubusercontent.com/ARPSyndicate/puncia/master/puncia.png" width=25%> | ||
<img src="https://raw.githubusercontent.com/ARPSyndicate/puncia/master/puncia.png" width=25%> | ||
<br> | ||
Puncia utilizes two of our intelligent APIs to gather the results - <br> | ||
- [Subdomain Center - The World's Fastest Growing Subdomain & Shadow IT Intelligence Database](https://subdomain.center)<br> | ||
|
||
- [Subdomain Center - The World's Largest Subdomain & Shadow IT Intelligence Database](https://subdomain.center)<br> | ||
- [Exploit Observer - The World's Largest Exploit & Vulnerability Intelligence Database](https://exploit.observer) | ||
|
||
**Please note that although these results can sometimes be pretty inaccurate & unreliable, they can greatly differ from time to time due to their self-improvement capabilities.** | ||
|
||
**Aggressive rate-limits can be avoided with an API key: https://www.arpsyndicate.io/pricing.html** | ||
|
||
## Installation | ||
|
||
1. From PyPi - `pip3 install puncia` | ||
2. From Source - `pip3 install .`<br> | ||
|
||
## Usage | ||
1. Store an API key (storekey) - `puncia storekey <api-key>` | ||
2. Query Domains (subdomain) - `puncia subdomain <domain> <output-file>` | ||
3. Query Exploit & Vulnerability Identifiers (exploit) | ||
|
||
1. Store an API key (storekey) - `puncia storekey <api-key>` | ||
2. Query Domains (subdomain) - `puncia subdomain <domain> <output-file>` | ||
3. Query Exploit & Vulnerability Identifiers (exploit) | ||
- Russian VIDs with no associated CVEs (^RU_NON_CVE) - `puncia exploit ^RU_NON_CVE <output-file>` | ||
- Chinese VIDs with no associated CVEs (^CN_NON_CVE) - `puncia exploit ^CN_NON_CVE <output-file>` | ||
- Vulnerability & Exploit Identifers Watchlist (^WATCHLIST_IDES) - `puncia exploit ^WATCHLIST_IDES <output-file>` | ||
- Vulnerable Technologies Watchlist (^WATCHLIST_TECH) - `puncia exploit ^WATCHLIST_TECH <output-file>` | ||
- [Supported Vulnerability Identifiers](https://github.com/ARPSyndicate/docs?tab=readme-ov-file#supported-vulnerability-identifiers) - `puncia exploit <eoidentifier> <output-file>` | ||
4. Enrich CVE/GHSA Identifiers (enrich) - `puncia enrich <cve-id/ghsa-id> <output-file>` | ||
5. Multiple Queries (bulk/sbom) | ||
4. Enrich CVE/GHSA Identifiers (enrich) - `puncia enrich <cve-id/ghsa-id> <output-file>` | ||
5. Multiple Queries (bulk/sbom) | ||
|
||
- Bulk Input JSON File Format - `puncia bulk <json-file> <output-directory>` | ||
``` | ||
{ | ||
"subdomain": [ | ||
"domainA.com", | ||
"domainB.com" | ||
], | ||
"exploit": [ | ||
"eoidentifierA", | ||
"eoidentifierB" | ||
], | ||
"enrich": [ | ||
"eoidentifierA", | ||
"eoidentifierB" | ||
] | ||
} | ||
``` | ||
``` | ||
{ | ||
"subdomain": [ | ||
"domainA.com", | ||
"domainB.com" | ||
], | ||
"exploit": [ | ||
"eoidentifierA", | ||
"eoidentifierB" | ||
], | ||
"enrich": [ | ||
"eoidentifierA", | ||
"eoidentifierB" | ||
] | ||
} | ||
``` | ||
- [SBOM Input JSON File Format](https://github.com/CycloneDX/bom-examples/blob/master/SBOM/protonmail-webclient-v4-0912dff/bom.json) - `puncia sbom <json-file> <output-directory>` | ||
6. External Import | ||
``` | ||
import puncia | ||
# Without API Key | ||
print(puncia.query_api("exploit","CVE-2021-3450")) | ||
print(puncia.query_api("subdomain","arpsyndicate.io")) | ||
# With API Key | ||
puncia.store_key("ARPS-xxxxxxxxxx") | ||
print(puncia.query_api("subdomain","arpsyndicate.io", apikey=puncia.read_key())) | ||
print(puncia.query_api("exploit","CVE-2021-3450", apikey=puncia.read_key())) | ||
``` | ||
<br> | ||
## Noteworthy Mentions | ||
- [Around 1000 exploitable cybersecurity vulnerabilities that MITRE & NIST ‘might’ have missed but China or Russia didn’t.](https://blog.arpsyndicate.io/over-a-1000-vulnerabilities-that-mitre-nist-might-have-missed-but-china-or-russia-did-not-871b2364a526) | ||
- [Utilizing GitHub Actions for gathering Subdomain & Exploit Intelligence](https://blog.arpsyndicate.io/utilizing-github-actions-for-gathering-subdomain-exploit-intelligence-bbc79c19bb85) | ||
- [Introducing Exploit Observer — More than Shodan Exploits, Less than Vulners](https://blog.arpsyndicate.io/introducing-exploit-observer-more-than-shodan-exploits-less-than-vulners-23eaea466e4a) | ||
- [PUNCIA — The Panthera(P.)uncia of Cybersecurity](https://blog.arpsyndicate.io/puncia-the-panthera-p-uncia-of-cybersecurity-ft-puncia-subdomain-center-exploit-observer-9a9d8cca9576) | ||
- [Subdomain Enumeration Tool Face-off - 2023 Edition](https://blog.blacklanternsecurity.com/p/subdomain-enumeration-tool-face-off-4e5) | ||
## More from [A.R.P. Syndicate](https://www.arpsyndicate.io) | ||
- [Open Source Intelligence](https://asm.arpsyndicate.io/intelligence.html) | ||
- [Attack Surface Management](https://asm.arpsyndicate.io) | ||
- [Vulnerability Advisories AI](https://advisories.arpsyndicate.io) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .__main__ import query_api, store_key, read_key | ||
|
||
__all__ = ["query_api", "store_key", "read_key"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
setup( | ||
name="puncia", | ||
version="0.24", | ||
version="0.25", | ||
author="A.R.P. Syndicate", | ||
author_email="[email protected]", | ||
keywords="subdomains subdomain exploits exploit sbom cyclonedx arpsyndicate panthera uncia puncia snow leopard", | ||
|