PWN::Plugins::HackerOne
This plugin is used for interacting w/ HackerOne's Hacker REST API using the 'rest' browser type of PWN::Plugins::TransparentBrowser. Spec: https://api.hackerone.com/getting-started-hacker-api/#getting-started-hacker-api Auth: HTTP Basic on every request (username + API token). Base: https://api.hackerone.com/v1/hackers/ Credentials are sourced from PWN::Env[:plugins][:hackerone]: plugins: hackerone: username: your-h1-username api_key: [set in pwn-vault]
When to use
Call PWN::Plugins::HackerOne from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/plugins/hacker_one.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::Plugins::HackerOne.help
PWN::Plugins::HackerOne.login(opts)
Public methods
loginapiget_me_reportsget_reportcreate_reportget_balanceget_earningsget_payoutsget_programsget_programget_structured_scopesget_scope_exclusionsget_weaknessesget_hacktivityget_report_intentsget_report_intentcreate_report_intentupdate_report_intentdelete_report_intentsubmit_report_intentget_report_intent_attachmentsdelete_report_intent_attachmentlogoutauthorshelp
References
references/urls.md— URLs from source
Source
pwn/plugins/hacker_one.rb
Verification
PWN::Plugins::HackerOne.respond_to?(:login) after the
module is loaded. Read the source for parameter names.