Fix unitialized constant error when meterpreter registry key reads timeout

This commit is contained in:
adfoster-r7 2023-06-14 19:50:28 +01:00
parent 966dec5b03
commit bec47e8b59
No known key found for this signature in database
GPG Key ID: 3BD4FA3818818F04
1 changed files with 1 additions and 1 deletions

View File

@ -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