name: pwn-bounty-hackerone description: Drive PWN::Bounty::HackerOne from pwn_eval. license: MIT allowed-tools: [pwn, pwn_eval] metadata: bundled: true generated: true module: PWN::Bounty::HackerOne source: pwn/bounty/hacker_one.rb
PWN::Bounty::HackerOne
This plugin is used for interacting w/ HackerOne's Hacker REST API using the 'rest' browser type of PWN::HTTP::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::Config::Env.dig(:bounty, :hackerone): bounty: hackerone: username: your-h1-username api_key: [set in pwn-vault]
When to use
Call PWN::Bounty::HackerOne from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/bounty/hacker_one.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::Bounty::HackerOne.help
PWN::Bounty::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_attachmentlogoutopenget_bounty_programsget_scope_detailsbrowser_hacktivitysave_burp_target_config_filebrowser_loginbrowser_logoutcloseauthorshelp
References
references/urls.md— URLs from source
Source
pwn/bounty/hacker_one.rb
Verification
PWN::Bounty::HackerOne.respond_to?(:login) after the
module is loaded. Read the source for parameter names.
