Sha256: 6a3acb701d6e62776c15739c6e6dc9562dbbe32a831dd68451c02dc32562225f

Contents?: true

Size: 752 Bytes

Versions: 13

Compression:

Stored size: 752 Bytes

Contents

# It will be completely rewritten in dawnscanner v2.0.0
#
# require 'anemone'
# require 'httpclient'

# h=HTTPClient.new()
# Anemone.crawl(ARGV[0]) do |anemone|
  # anemone.on_every_page do |page|
      # response = h.get(page.url)
      # puts "Original: #{page.url}: #{response.code}"
      # response = h.get(page.url.to_s.split(";")[0].concat(".bak"))
      # puts "BAK: #{page.url.to_s.split(";")[0].concat(".bak")}: #{response.code}"
      # response = h.get(page.url.to_s.split(";")[0].concat(".old"))
      # puts "OLD: #{page.url.to_s.split(";")[0].concat(".old")}: #{response.code}"
      # response = h.get(page.url.to_s.split(";")[0].concat("~"))
      # puts "~: #{page.url.to_s.split(";")[0].concat("~")}: #{response.code}"
  # end
# end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dawnscanner-1.6.9 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.8 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.7 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.6 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.5 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.4 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.3 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.2 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.1 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.6.0 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.5.2 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.5.1 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb
dawnscanner-1.5.0 lib/dawn/kb/owasp_ror_cheatsheet/check_for_backup_files.rb