Skip to content

sam-bee/security-hackerone-api-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
	}
}