Skip to content

Instantly share code, notes, and snippets.

@Huntinex
Last active March 8, 2024 12:53
Show Gist options
  • Save Huntinex/878c6eb2d5ba5ba8dbd0aaf432140448 to your computer and use it in GitHub Desktop.
Save Huntinex/878c6eb2d5ba5ba8dbd0aaf432140448 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)
@Huntinex
Copy link
Author

First of all, install the requirements:
~ pip install poe_api

Use the above script to generate reports ☝️

~ python report.py "grafana-file-read" "http://example.com"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment