add missing payload uuid accessors

MS-2855/keylogger-mettle-extension
Brent Cook 2017-11-15 20:54:28 -06:00
parent 446f3fa675
commit ec2b5d48a6
1 changed files with 8 additions and 0 deletions

View File

@ -254,6 +254,10 @@ class Msf::Payload::UUID
self.xor1 = opts[:xor1]
self.xor2 = opts[:xor2]
self.timestamp = nil
self.name = nil
self.registered = false
if opts[:seed]
self.puid = self.class.seed_to_puid(opts[:seed])
end
@ -367,6 +371,10 @@ class Msf::Payload::UUID
self
end
attr_accessor :registered
attr_accessor :timestamp
attr_accessor :name
attr_reader :arch
attr_reader :platform