Add a helper method for modules to indicate IPv6 compatibility

This commit is contained in:
HD Moore 2011-12-04 12:38:06 -06:00 committed by HD Moore
parent 5362e0cd24
commit 89caed444b
1 changed files with 9 additions and 1 deletions

View File

@ -601,7 +601,15 @@ class Module
def debugging?
(datastore['DEBUG'] || '') =~ /^(1|t|y)/i
end
#
# Indicates whether the module supports IPv6. This is true by default,
# but certain modules require additional work to be compatible or are
# hardcoded in terms of application support and should be skipped.
#
def support_ipv6?
true
end
#
# This provides a standard set of search filters for every module.