CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/anemone/extractors/dirbuster.rb
Views: 1904
1
class Anemone::Extractors::Dirbuster < Anemone::Extractors::Base
2
3
def run
4
return [] if page.code.to_i != 200
5
6
@@dirs ||= nil
7
8
return @@dirs if @@dirs
9
@@dirs = IO.read( File.dirname( __FILE__ ) + '/dirbuster/directories' ).split( "\n" )
10
end
11
12
end
13
14