lib/module/base.rb in arachni-0.2.4 vs lib/module/base.rb in arachni-0.3

- old
+ new

@@ -114,10 +114,23 @@ # def clean_up( ) end # + # ABSTRACT - OPTIONAL + # + # Prevents auditting elements that have been previously + # logged by any of the modules returned by this method. + # + # @return [Array] module names + # + def redundant + # [ 'sqli', 'sqli_blind_rdiff' ] + [] + end + + # # ABSTRACT - REQUIRED # # Provides information about the module. # Don't take this lightly and don't ommit any of the info. # @@ -165,9 +178,13 @@ } end def register_results( results ) Arachni::Module::Manager.register_results( results ) + end + + def set_framework( framework ) + @framework = framework end end end end