Merge branch 'patch-3' of https://github.com/mubix/metasploit-framework into mubix-patch-3
commit
d7d21f1bda
|
@ -246,7 +246,7 @@ protected
|
|||
blob = obj.stage_payload
|
||||
|
||||
# Replace the user agent string with our option
|
||||
i = blob.index("METERPRETER_UA\x00")
|
||||
i = blob.index("Meterpreter\/Windows")
|
||||
if i
|
||||
str = datastore['MeterpreterUserAgent'][0,255] + "\x00"
|
||||
blob[i, str.length] = str
|
||||
|
|
Loading…
Reference in New Issue