if there is info in the uuid_db, put it in payload_uuid automatically
parent
c695828361
commit
8051f790d0
|
@ -222,7 +222,13 @@ protected
|
|||
s.set_from_exploit(assoc_exploit)
|
||||
|
||||
# Pass along any associated payload uuid if specified
|
||||
s.payload_uuid = opts[:payload_uuid] if opts[:payload_uuid]
|
||||
if opts[:payload_uuid]
|
||||
s.payload_uuid = opts[:payload_uuid]
|
||||
if s.payload_uuid.respond_to?(:puid_hex) && (uuid_info = framework.uuid_db[sess_puid])
|
||||
s.payload_uuid.name = uuid_info['name']
|
||||
s.payload_uuid.timestamp = uuid_info['timestamp']
|
||||
end
|
||||
end
|
||||
|
||||
# If the session is valid, register it with the framework and
|
||||
# notify any waiters we may have.
|
||||
|
|
Loading…
Reference in New Issue