Errors are different from mere failures (enum_dns)
This makes a clear distinction between errors and failures when performing zone transfers, and logs accordingly. [See #483]
This commit is contained in:
parent
122b34c703
commit
7bb3679fef
|
@ -453,10 +453,11 @@ class Metasploit3 < Msf::Auxiliary
|
|||
end
|
||||
end
|
||||
else
|
||||
print_error("Zone transfer failed")
|
||||
print_error("Zone transfer failed (length was zero)")
|
||||
end
|
||||
rescue
|
||||
print_error("Zone transfer failed")
|
||||
rescue Exception => e
|
||||
print_error("Error executing zone transfer: #{e.message}")
|
||||
elog("Error executing zone transfer: #{e.message}\n#{e.backtrace.join("\n")}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue