Fix match on User-Agent for HTTPS

unstable
Rob Fuller 2012-07-01 21:32:29 -03:00
parent 1b02f17d52
commit 7298840478
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ protected
blob = obj.stage_payload blob = obj.stage_payload
# Replace the user agent string with our option # Replace the user agent string with our option
i = blob.index("METERPRETER_UA\x00") i = blob.index("Meterpreter\/Windows")
if i if i
str = datastore['MeterpreterUserAgent'][0,255] + "\x00" str = datastore['MeterpreterUserAgent'][0,255] + "\x00"
blob[i, str.length] = str blob[i, str.length] = str