Skip to content

Commit

Permalink
puncia[0.17]
Browse files Browse the repository at this point in the history
  • Loading branch information
g147 committed Jun 10, 2024
1 parent 2ab489d commit 36a42c6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
31 changes: 19 additions & 12 deletions puncia/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


def query_api(mode, query, output_file=None, cid=None):
time.sleep(6)
time.sleep(8)
url = API_URLS.get(mode)
if "^" in query:
if query == "^RU_NON_CVE":
Expand Down Expand Up @@ -105,7 +105,7 @@ def query_api(mode, query, output_file=None, cid=None):
def main():
try:
print("---------")
print("Panthera(P.)uncia [v0.16]")
print("Panthera(P.)uncia [v0.17]")
print("A.R.P. Syndicate [https://arpsyndicate.io]")
print("Subdomain Center [https://subdomain.center]")
print("Exploit Observer [https://exploit.observer]")
Expand Down Expand Up @@ -133,18 +133,25 @@ def main():
input_file = json.load(f)
if "subdomain" in input_file:
for bulk_query in input_file["subdomain"]:
query_api(
"subdomain",
bulk_query,
output_file + "/subdomain/" + bulk_query + ".json",
)
try:
query_api(
"subdomain",
bulk_query,
output_file + "/subdomain/" + bulk_query + ".json",
)
except Exception as ne:
sys.exit(f"Error: {str(ne)}")
continue
if "exploit" in input_file:
for bulk_query in input_file["exploit"]:
query_api(
"exploit",
bulk_query,
output_file + "/exploit/" + bulk_query + ".json",
)
try:
query_api(
"exploit",
bulk_query,
output_file + "/exploit/" + bulk_query + ".json",
)
except Exception as ne:
sys.exit(f"Error: {str(ne)}")
else:
query_api(mode, query, output_file)
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="puncia",
version="0.16",
version="0.17",
author="A.R.P. Syndicate",
author_email="[email protected]",
keywords="subdomains subdomain exploits exploit arpsyndicate panthera uncia puncia snow leopard",
Expand Down

0 comments on commit 36a42c6

Please sign in to comment.