class Rex::Proto::DRDA::MGRLVLLS_PARAM
Public Class Methods
new(args={})
click to toggle source
# File lib/rex/proto/drda/packet.rb, line 13 def initialize(args={}) self[:codepoint] = Constants::MGRLVLLS self[:payload] = "\x14\x03\x00\x0a\x24\x07\x00\x0a" + "\x14\x74\x00\x05\x24\x0f\x00\x08" + "\x14\x40\x00\x09\x1c\x08\x04\xb8" self[:length] = self[:payload].to_s.size+4 end
Public Instance Methods
to_s()
click to toggle source
# File lib/rex/proto/drda/packet.rb, line 20 def to_s self.to_a.pack("nna*") end