Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 788 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 788 Bytes

hackerone

HackerOne API Client in Go.

This project is a fork of liamg/hackerone. It adds the functionality to search through the Structured Scope objects in the API. This addition allows you to automate the process of bug bounty target scanning, and large-scale automated security testing. See the sam-bee/security-hackerone-target-retrieval project for real world usage.

Usage Example

package main

import (
	"context"
	"fmt"

	"github.com/liamg/hackerone"
)

func main() {
	h1 := hackerone.New("your-username-here", "your-api-key-here")
	reports, _, _ := h1.Hackers.GetReports(context.TODO(), nil)
	for _, report := range reports {
		fmt.Println(report.Id)
	}
}