name: pwn-auth-basicauth description: Drive PWN::Auth::BasicAuth from pwn_eval. license: MIT allowed-tools: [pwn, pwn_eval] metadata: bundled: true generated: true module: PWN::Auth::BasicAuth source: pwn/auth/basic_auth.rb
PWN::Auth::BasicAuth
This plugin Base64 encodes/decodes AuthN credentials for passing to a ''Basic'' authorization HTTP header.
When to use
Call PWN::Auth::BasicAuth from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/auth/basic_auth.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::Auth::BasicAuth.help
PWN::Auth::BasicAuth.encode(opts)
Public methods
encodedecodeauthorshelp
Source
pwn/auth/basic_auth.rb
Verification
PWN::Auth::BasicAuth.respond_to?(:encode) after the
module is loaded. Read the source for parameter names.
