name: pwn-auth-oauth2 description: Drive PWN::Auth::OAuth2 from pwn_eval. license: MIT allowed-tools: [pwn, pwn_eval] metadata: bundled: true generated: true module: PWN::Auth::OAuth2 source: pwn/auth/oauth2.rb
PWN::Auth::OAuth2
This plugin is somewhat of a hack used for extracting OAuth2 tokens from HTTP responses to be used for subsequent HTTP requests.
When to use
Call PWN::Auth::OAuth2 from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/auth/oauth2.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::Auth::OAuth2.help
PWN::Auth::OAuth2.decode(opts)
Public methods
decodeget_value_by_keyauthorshelp
Source
pwn/auth/oauth2.rb
Verification
PWN::Auth::OAuth2.respond_to?(:decode) after the
module is loaded. Read the source for parameter names.
