HELLO v3!!!
This commit is contained in:
10
lib/wpscan/vulnerable.rb
Normal file
10
lib/wpscan/vulnerable.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
module WPScan
|
||||
# Module to include in vulnerable WP item such as WpVersion.
|
||||
# the vulnerabilities method should be implemented
|
||||
module Vulnerable
|
||||
# @return [ Boolean ]
|
||||
def vulnerable?
|
||||
!vulnerabilities.empty?
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user