Adds check for PHP disabled, Ref #1593

This commit is contained in:
erwanlr
2021-01-12 14:03:25 +01:00
parent 689252c715
commit 8c6234879e
6 changed files with 132 additions and 2 deletions

View File

@@ -132,5 +132,19 @@ module WPScan
}
end
end
class PHPDisabled < InterestingFinding
# @return [ String ]
def to_s
@to_s ||= 'PHP seems to be disabled'
end
# @return [ Hash ]
def references
@references ||= {
url: ['https://github.com/wpscanteam/wpscan/issues/1593']
}
end
end
end
end