Document the 'null' UnicastRef ObjId on the discovery package
parent
4c81cac004
commit
e377ed3f83
|
@ -9,10 +9,11 @@ module Msf
|
||||||
#
|
#
|
||||||
# @return [Rex::Java::Serialization::Model::Stream]
|
# @return [Rex::Java::Serialization::Model::Stream]
|
||||||
def discovery_stream
|
def discovery_stream
|
||||||
|
obj_id = "\x00" * 22 # Padding since there isn't an UnicastRef ObjId to use still
|
||||||
|
|
||||||
block_data = Rex::Java::Serialization::Model::BlockData.new(
|
block_data = Rex::Java::Serialization::Model::BlockData.new(
|
||||||
nil,
|
nil,
|
||||||
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" +
|
"#{obj_id}\x00\x00\x00\x02\x44\x15\x4d\xc9\xd4\xe6\x3b\xdf"
|
||||||
"\x00\x00\x00\x02\x44\x15\x4d\xc9\xd4\xe6\x3b\xdf"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
stream = Rex::Java::Serialization::Model::Stream.new
|
stream = Rex::Java::Serialization::Model::Stream.new
|
||||||
|
|
Loading…
Reference in New Issue