Sha256: c47692635a8a71b59f1cc902b646ce904ced84640f9b72afd36e49de7bce3eb2
Contents?: true
Size: 534 Bytes
Versions: 4
Compression:
Stored size: 534 Bytes
Contents
module WPScan module DB # WP Items class WpItems # @return [ Array<String> ] The slug of all items def self.all_slugs db.keys end # @return [ Array<String> ] The slug of all popular items def self.popular_slugs db.select { |_key, item| item['popular'] == true }.keys end # @return [ Array<String> ] The slug of all vulnerable items def self.vulnerable_slugs db.select { |_key, item| !item['vulnerabilities'].empty? }.keys end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
wpscan-3.0.3 | lib/wpscan/db/wp_items.rb |
wpscan-3.0.2 | lib/wpscan/db/wp_items.rb |
wpscan-3.0.1 | lib/wpscan/db/wp_items.rb |
wpscan-3.0 | lib/wpscan/db/wp_items.rb |