Skip to content

Commit

Permalink
puncia[0.11]
Browse files Browse the repository at this point in the history
  • Loading branch information
g147 committed Sep 16, 2023
0 parents commit 31b78de
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pypi.sh
build
dist
*.egg-info
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# The Panthera(P.)uncia of Cybersecurity
### Subdomain & Exploit Hunter powered by AI
[![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">
<br>
<img src="puncia.png" width=25%>
<br>
Puncia utilizes two of our intelligent APIs - [Subdomain Center](https://subdomain.center) & [Exploit Observer](https://exploit.observer), to gather the results.
**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.**

## Installation
1. From PyPi - `pip3 install puncia`
2. From Source - `pip3 install .`<br>

## Usage
1. Subdomain - `puncia subdomain <domain> <output>`
2. Exploit - `puncia exploit <keyword> <output>`<br>


## Noteworthy Mentions
- [PUNCIA — The Panthera(P.)uncia of Cybersecurity](https://g147.medium.com/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)
Binary file added puncia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added puncia/__init__.py
Empty file.
30 changes: 30 additions & 0 deletions puncia/puncia.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import requests
import sys
import json
import time

def main():
print("Panthera(P.)uncia [v0.11]\nSubdomain & Exploit Hunter powered by AI\n---------")
if len(sys.argv)<2:
sys.exit('additional command required (subdomain/exploit)')
if len(sys.argv)<3:
sys.exit('additional input required')
if len(sys.argv)>4:
sys.exit('refer usage at - https://github.com/ARPSyndicate/puncia#usage')
time.sleep(2)
if sys.argv[1] == 'subdomain':
response = requests.get("http://api.subdomain.center/?domain="+sys.argv[2]).json()
result = "\n".join(response)
print(result)
if len(sys.argv)==4:
with open(sys.argv[3], "w") as f:
f.write(result)
elif sys.argv[1] == 'exploit':
response = requests.get("http://api.exploit.observer/?keyword="+sys.argv[2]).json()
result = "\n".join(response['entries'])
print(result)
if len(sys.argv)==4:
with open(sys.argv[3], "w") as f:
f.write(result)
else:
sys.exit('refer usage at - https://github.com/ARPSyndicate/puncia#usage')
19 changes: 19 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
from setuptools import setup, find_packages

setup(
name="puncia",
version="0.11",
author="ARPSyndicate",
author_email="[email protected]",
keywords="subdomains subdomain exploits exploit arpsyndicate panthera uncia puncia snow leopard",
url="https://github.com/ARPSyndicate/puncia",
project_urls={
"Subdomain Center": "https://subdomain.center",
"Exploit Observer": "https://exploit.observer"
},
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
description='The Panthera(P.)uncia of Cybersecurity - Subdomain & Exploit Hunter powered by AI',
packages=find_packages(),
entry_points={"console_scripts": ["puncia=puncia.puncia:main"]}
)

0 comments on commit 31b78de

Please sign in to comment.