Check for subdirectories and relative paths
parent
09d931e392
commit
199a7cc134
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue