We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00da2fb + 20cda86 commit b67a0f7Copy full SHA for b67a0f7
modules/exploits/unix/webapp/thinkphp_rce.rb
@@ -88,6 +88,12 @@ def initialize(info = {})
88
])
89
end
90
91
+ # The CmdStager mixin implicitly includes the HttpServer mixin which opts this module out of auto-exploitation
92
+ # https://github.com/rapid7/metasploit-framework/blob/72ae91e4bc763da378bbd5be104f642f9d7eebc1/lib/msf/core/exploit/remote/http_server.rb#L53-L58
93
+ def autofilter
94
+ true
95
+ end
96
+
97
# PoC version check using the first <span> from the ThinkPHP copyright:
98
#
99
# wvu@kharak:~$ curl -vs "http://127.0.0.1:8080/index.php?s=$((RANDOM))" | xmllint --html --xpath 'substring-after(//div[@class = "copyright"]/span[1]/text(), "V")' -
0 commit comments