Sha256: 9b609da271c933b7c7d4e53d08bac3f42ade5e115da249769adb1a67cb400b15

Contents?: true

Size: 1.02 KB

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
wpscan-3.8.28 lib/wpscan/errors/wordpress.rb
wpscan-3.8.27 lib/wpscan/errors/wordpress.rb
wpscan-3.8.26 lib/wpscan/errors/wordpress.rb
wpscan-3.8.25 lib/wpscan/errors/wordpress.rb
wpscan-3.8.24 lib/wpscan/errors/wordpress.rb
wpscan-3.8.22 lib/wpscan/errors/wordpress.rb
wpscan-3.8.21 lib/wpscan/errors/wordpress.rb
wpscan-3.8.20 lib/wpscan/errors/wordpress.rb
wpscan-3.8.19 lib/wpscan/errors/wordpress.rb