Last active
September 13, 2024 01:52
-
-
Save Huntinex/878c6eb2d5ba5ba8dbd0aaf432140448 to your computer and use it in GitHub Desktop.
Automatic bug bounty report generator
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
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
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"