This commit is contained in:
erwanlr
2020-07-24 15:26:22 +02:00
parent b32e990dd4
commit a9760e8817

View File

@@ -11,6 +11,10 @@ module WPScan
# Some classes are empty for the #type to be correctly displayed (as taken from the self.class from the parent) # Some classes are empty for the #type to be correctly displayed (as taken from the self.class from the parent)
# #
class BackupDB < InterestingFinding class BackupDB < InterestingFinding
def to_s
@to_s ||= "A backup directory has been found: #{url}"
end
# @return [ Hash ] # @return [ Hash ]
def references def references
@references ||= { url: ['https://github.com/wpscanteam/wpscan/issues/422'] } @references ||= { url: ['https://github.com/wpscanteam/wpscan/issues/422'] }
@@ -71,6 +75,9 @@ module WPScan
end end
class Readme < InterestingFinding class Readme < InterestingFinding
def to_s
@to_s ||= "WordPress readme file found: #{url}"
end
end end
class Registration < InterestingFinding class Registration < InterestingFinding
@@ -81,6 +88,10 @@ module WPScan
end end
class TmmDbMigrate < InterestingFinding class TmmDbMigrate < InterestingFinding
def to_s
@to_s ||= "ThemeMakers migration file found: #{url}"
end
# @return [ Hash ] # @return [ Hash ]
def references def references
@references ||= { packetstorm: [131_957] } @references ||= { packetstorm: [131_957] }