Skip to content

Instantly share code, notes, and snippets.

@Spy0x7
Forked from Huntinex/report.py
Created February 13, 2024 11:57
Show Gist options
  • Save Spy0x7/6a518be7ae150e31fd0d5cf5eec4d1f8 to your computer and use it in GitHub Desktop.
Save Spy0x7/6a518be7ae150e31fd0d5cf5eec4d1f8 to your computer and use it in GitHub Desktop.
Automatic bug bounty report generator
import poe, sys
client = poe.Client("<POE_API_KEY_HERE>")
title=sys.argv[1]
path=sys.argv[2]
more=""
if len(sys.argv) > 3:
more="\" and here is more information: "+sys.argv[3]
message="""generate a bug bounty report for me (hackerone.com), the title of the bug is """+title+""" and the vulnerability path is \""""+path+more+"""
In this format:
Hello,
# Summary:
[add summary of the vulnerability]
## Steps to reproduce:
[add step]
# Impact
[What kind of impact an attacker can make if they were to exploit the vulnerability]
Best regards,
[username]
"""
for chunk in client.send_message("chinchilla", F):
print(chunk["text_new"], end="", flush=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment