hackerone

package module
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 2 Imported by: 2

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Hackers *hackers.API
}

func New

func New(username, apiKey string) *API

Directories

Path Synopsis
_examples
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL