Fix unitialized constant error when meterpreter registry key reads timeout
This commit is contained in:
parent
966dec5b03
commit
bec47e8b59
|
@ -668,7 +668,7 @@ protected
|
|||
|
||||
begin
|
||||
check = session.sys.registry.check_key_exists(root_key, base_key)
|
||||
rescue Rex::Post::Meterpreter::RequestError, TimesoutError
|
||||
rescue Rex::Post::Meterpreter::RequestError, Rex::TimeoutError
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue