Skip to content

Commit ec2b5d4

Browse files
committed
add missing payload uuid accessors
1 parent 446f3fa commit ec2b5d4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/msf/core/payload/uuid.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ def initialize(opts=nil)
254254
self.xor1 = opts[:xor1]
255255
self.xor2 = opts[:xor2]
256256

257+
self.timestamp = nil
258+
self.name = nil
259+
self.registered = false
260+
257261
if opts[:seed]
258262
self.puid = self.class.seed_to_puid(opts[:seed])
259263
end
@@ -367,6 +371,10 @@ def xor_reset
367371
self
368372
end
369373

374+
attr_accessor :registered
375+
attr_accessor :timestamp
376+
attr_accessor :name
377+
370378
attr_reader :arch
371379
attr_reader :platform
372380

0 commit comments

Comments
 (0)