Skip to content

Commit 52a097b

Browse files
authored
Merge pull request rapid7#20268 from rapid7/revert-20194-ensure-thinkphp-rce-runs-on-metasploit-pro
Revert "Ensure thinkphp rce runs on metasploit pro"
2 parents 9651c8b + f1d7f2e commit 52a097b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/exploits/unix/webapp/thinkphp_rce.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@ def initialize(info = {})
8888
])
8989
end
9090

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-
9791
# PoC version check using the first <span> from the ThinkPHP copyright:
9892
#
9993
# 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

Comments
 (0)