class Rex::Proto::DRDA::SECMEC_PARAM
See publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.drda/db2z_accsec.htm for all sorts of info about SECMEC.
Public Class Methods
new(args={})
click to toggle source
# File lib/rex/proto/drda/packet.rb, line 50 def initialize(args={}) self[:length] = 6 self[:codepoint] = Constants::SECMEC self[:payload] = 3 # Plaintext username and password. end
Public Instance Methods
to_s()
click to toggle source
# File lib/rex/proto/drda/packet.rb, line 55 def to_s self.to_a.pack("nnn") end