Moves Models into their own namespace - Ref #1315
This commit is contained in:
@@ -1,48 +1,50 @@
|
||||
module WPScan
|
||||
# Custom class to include the WPScan::References module
|
||||
class InterestingFinding < CMSScanner::InterestingFinding
|
||||
include References
|
||||
end
|
||||
module Model
|
||||
# Custom class to include the WPScan::References module
|
||||
class InterestingFinding < CMSScanner::Model::InterestingFinding
|
||||
include References
|
||||
end
|
||||
|
||||
#
|
||||
# Empty classes for the #type to be correctly displayed (as taken from the self.class from the parent)
|
||||
#
|
||||
class BackupDB < InterestingFinding
|
||||
end
|
||||
#
|
||||
# Empty classes for the #type to be correctly displayed (as taken from the self.class from the parent)
|
||||
#
|
||||
class BackupDB < InterestingFinding
|
||||
end
|
||||
|
||||
class DebugLog < InterestingFinding
|
||||
end
|
||||
class DebugLog < InterestingFinding
|
||||
end
|
||||
|
||||
class DuplicatorInstallerLog < InterestingFinding
|
||||
end
|
||||
class DuplicatorInstallerLog < InterestingFinding
|
||||
end
|
||||
|
||||
class EmergencyPwdResetScript < InterestingFinding
|
||||
end
|
||||
class EmergencyPwdResetScript < InterestingFinding
|
||||
end
|
||||
|
||||
class FullPathDisclosure < InterestingFinding
|
||||
end
|
||||
class FullPathDisclosure < InterestingFinding
|
||||
end
|
||||
|
||||
class MuPlugins < InterestingFinding
|
||||
end
|
||||
class MuPlugins < InterestingFinding
|
||||
end
|
||||
|
||||
class Multisite < InterestingFinding
|
||||
end
|
||||
class Multisite < InterestingFinding
|
||||
end
|
||||
|
||||
class Readme < InterestingFinding
|
||||
end
|
||||
class Readme < InterestingFinding
|
||||
end
|
||||
|
||||
class Registration < InterestingFinding
|
||||
end
|
||||
class Registration < InterestingFinding
|
||||
end
|
||||
|
||||
class TmmDbMigrate < InterestingFinding
|
||||
end
|
||||
class TmmDbMigrate < InterestingFinding
|
||||
end
|
||||
|
||||
class UploadDirectoryListing < InterestingFinding
|
||||
end
|
||||
class UploadDirectoryListing < InterestingFinding
|
||||
end
|
||||
|
||||
class UploadSQLDump < InterestingFinding
|
||||
end
|
||||
class UploadSQLDump < InterestingFinding
|
||||
end
|
||||
|
||||
class WPCron < InterestingFinding
|
||||
class WPCron < InterestingFinding
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user