Skip to content

Instantly share code, notes, and snippets.

View thiezn's full-sized avatar

Mathijs Mortimer thiezn

View GitHub Profile
@thiezn
thiezn / hackerone_programs.py
Last active November 14, 2023 12:37
HackerOne API Program and scope retrieval
#!/usr/bin/env python3
"""Interact with HackerOne Hacker API.
First generate an API token through the Hackerone website and initialize the class:
>>> username = "YOUR_USER_NAME"
>>> token = "GENERATE_AN_API_TOKEN_THROUGH_HACKERONE_WEBSITE"
>>> session = HackerOneSession(username, token)
@thiezn
thiezn / generate-chrome-cfg.py
Last active October 20, 2020 21:25
Generate config file for Chrome AWS Extend Switch Roles script
#!/usr/bin/env python3
from configparser import ConfigParser
import boto3
from typing import Tuple, List
import operator
MASTER_ACCOUNT_ALIAS = "THEALIASOFTHEMASTERACCOUNT"
# Chrome plugin color codes