File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ def to_wchar_t(item, size)
35
35
end
36
36
37
37
def session_block ( opts )
38
- uuid = to_wchar_t ( opts [ :uuid ] , UUID_SIZE )
38
+ uuid = to_wchar_t ( opts [ :uuid ] . to_raw , UUID_SIZE )
39
39
exit_func = Msf ::Payload ::Windows . exit_types [ opts [ :exitfunk ] ]
40
40
41
41
session_data = [
42
42
0 , # comms socket, patched in by the stager
43
43
exit_func , # exit function identifer
44
44
opts [ :expiration ] , # Session expiry
45
- uuid , # the URL to use
45
+ uuid # the UUID
46
46
]
47
47
48
48
session_data . pack ( "VVVA*" )
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ def uuid
280
280
281
281
id = response . get_tlv_value ( TLV_TYPE_UUID )
282
282
283
- return id
283
+ return Msf :: Payload :: UUID . new ( { :raw => id } )
284
284
end
285
285
286
286
def machine_id
You can’t perform that action at this time.
0 commit comments