Check for subdirectories and relative paths

MS-2855/keylogger-mettle-extension
William Vu 2018-01-24 18:07:37 -06:00
parent 09d931e392
commit 199a7cc134
1 changed files with 2 additions and 1 deletions

View File

@ -269,7 +269,8 @@ module Exploit::FileDropper
session.shell_command_token('pwd').strip
end
return true if path == pwd
# Check for subdirectories and relative paths
return true if pwd.include?(path)
end
false