Class: Ronin::UI::CLI::Commands::Scan::Spider
- Inherits:
-
ScannerCommand
- Object
- ClassCommand
- ScannerCommand
- Ronin::UI::CLI::Commands::Scan::Spider
- Defined in:
- lib/ronin/ui/cli/commands/scan/spider.rb
Instance Method Summary (collapse)
-
- (Object) execute
Spider one or more websites.
-
- (Object) print_result(page)
protected
Prints a spidered page.
Methods inherited from ScannerCommand
#print_resource, #scan, #setup
Instance Method Details
- (Object) execute
Spider one or more websites.
39 40 41 42 43 44 45 |
# File 'lib/ronin/ui/cli/commands/scan/spider.rb', line 39 def execute print_info 'Saving spidered URLs ...' if import? scan print_info 'All spidered URLs saved.' if import? end |
- (Object) print_result(page) (protected)
Prints a spidered page.
57 58 59 60 61 62 63 64 |
# File 'lib/ronin/ui/cli/commands/scan/spider.rb', line 57 def print_result(page) print_info page.url if verbose? print_hash page.headers puts page.body end end |