We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84d1c23 commit 6a281b2Copy full SHA for 6a281b2
modules/post/windows/recon/resolve_ip.rb
@@ -39,7 +39,7 @@ def resolve_ip(ip)
39
memtext = client.railgun.memread(ptr2dns['return'],255)
40
host_inmem = memtext.split(ip_ino)[1].split("\00")[0]
41
print_good("#{ip} resolves to #{host_inmem}")
42
- rescue ::Exception => e
+ rescue Rex::Post::Meterpreter::RequestError
43
print_error("Failed to resolve #{ip}")
44
end
45
0 commit comments