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
#!/usr/bin/env shell-ruby | |
#/ Usage: gh-bounty-writeup hackerone_issue_id github_username [issues_repo] [writeup_repo] | |
#/ | |
require "bounty" | |
raise("HACKERONE_TOKEN must be set") unless ENV["HACKERONE_TOKEN"] | |
raise("HACKERONE_TOKEN_NAME must be set") unless ENV["HACKERONE_TOKEN_NAME"] | |
usage = File.read(__FILE__).lines[1][3..-1] |
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 argparse | |
import json | |
import re | |
import sys | |
import uuid | |
class OpenVPNNetworkConfiguration(object): | |
KNOWN_CONFIG_KEYS = { | |
'name': {'key': 'Name'}, |