metasploit-framework/lib/anemone/extractors/dirbuster.rb

13 lines
256 B
Ruby
Raw Normal View History

2012-11-01 19:18:05 +00:00
class Anemone::Extractors::Dirbuster < Anemone::Extractors::Base
def run
return [] if page.code.to_i != 200
@@dirs ||= nil
return @@dirs if @@dirs
@@dirs = IO.read( File.dirname( __FILE__ ) + '/dirbuster/directories' ).split( "\n" )
end
2012-11-16 21:11:48 +00:00
2012-11-01 19:18:05 +00:00
end