CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/anemone/extractors/dirbuster.rb
Views: 11779
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