Skip to content

Instantly share code, notes, and snippets.

@martinbydefault
martinbydefault / hackerone_programs.py
Created August 13, 2021 05:01 — forked from thiezn/hackerone_programs.py
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)