module PWN::Plugins::BasicAuth
def self.authors
def self.authors rt@0dayinc.com>
def self.decode(opts = {})
def self.decode(opts = {}) :base64_str] th = Base64.decode64(base64_str) th => e
def self.encode(opts = {})
def self.encode(opts = {}) :username].to_s.chomp unless opts[:username].nil? :password].to_s.chomp unless opts[:password].nil? sic_user}:#{basic_pass}" th = Base64.strict_encode64(base64_str).to_s.chomp th => e
def self.help
def self.help ional username', ional password' ase64_str: 'base64 encoded string')