-
-
Save ShubhamRasal/c32d3ee0a44960c8ff6ce99f3b223f23 to your computer and use it in GitHub Desktop.
Automatic bug bounty report generator
This file contains hidden or 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