module PWN::Plugins::HackerOne
def self.h1_rest_call(opts = {})
def self.h1_rest_call(opts = {}) bj] ts[:http_method].nil? t s[:http_method].to_s.scrub.to_sym est_call].to_s.scrub ttp_body].to_s.scrub [:h1_success].to_s.scrub https://api.hackerone.com/v1/'.to_s.scrub :api_token] Plugins::TransparentBrowser.open(browser_type: :rest)::Request er_obj[:browser]::Request lient.execute( _api_uri}/#{rest_call}", 'application/json; charset=UTF-8', en: api_token } lient.execute( _api_uri}/#{rest_call}", 'application/json; charset=UTF-8' ody ror("Unsupported HTTP Method #{http_method} for #{self} Plugin") => e