Sha256: d567aada35f7a203999a6b82e6310d58172218fa691638e6aaa5345455fd3288

Contents?: true

Size: 1.02 KB

Versions: 16

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

module WPScan
  module Error
    # WordPress hosted (*.wordpress.com)
    class WordPressHosted < Standard
      def to_s
        'The target appears to be hosted on WordPress.com. Scanning such site is not supported.'
      end
    end

    # Not WordPress Error
    class NotWordPress < Standard
      def to_s
        'The remote website is up, but does not seem to be running WordPress.'
      end
    end

    # Invalid Wp Version (used in the WpVersion#new)
    class InvalidWordPressVersion < Standard
      def to_s
        'The WordPress version is invalid'
      end
    end

    class WpContentDirNotDetected < Standard
      def to_s
        'Unable to identify the wp-content dir, please supply it with --wp-content-dir,' \
        ' use the --scope option or make sure the --url value given is the correct one'
      end
    end

    class NoLoginInterfaceDetected < Standard
      def to_s
        'Could not find a login interface to perform the password attack against'
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wpscan-3.8.18 lib/wpscan/errors/wordpress.rb
wpscan-3.8.17 lib/wpscan/errors/wordpress.rb
wpscan-3.8.16 lib/wpscan/errors/wordpress.rb
wpscan-3.8.15 lib/wpscan/errors/wordpress.rb
wpscan-3.8.14 lib/wpscan/errors/wordpress.rb
wpscan-3.8.13 lib/wpscan/errors/wordpress.rb
wpscan-3.8.12 lib/wpscan/errors/wordpress.rb
wpscan-3.8.11 lib/wpscan/errors/wordpress.rb
wpscan-3.8.10 lib/wpscan/errors/wordpress.rb
wpscan-3.8.9 lib/wpscan/errors/wordpress.rb
wpscan-3.8.8 lib/wpscan/errors/wordpress.rb
wpscan-3.8.7 lib/wpscan/errors/wordpress.rb
wpscan-3.8.6 lib/wpscan/errors/wordpress.rb
wpscan-3.8.5 lib/wpscan/errors/wordpress.rb
wpscan-3.8.4 lib/wpscan/errors/wordpress.rb
wpscan-3.8.3 lib/wpscan/errors/wordpress.rb