Evilsocket 针对 CVE-2024-47176 的 PoC,经过精简后改成了一个扫描器。我真的只是在 vim 中打开它,然后一直按住 d 键。
阅读他的研究:这里。这个脚本只是向 631 端口发送初始 UDP 数据包,并触发一个 HTTP 回调,表示目标主机存在漏洞。
用法:
# clone the repo
git clone https://github.com/tonyarris/CVE-2024-47176-Scanner && cd CVE-2024-47176-Scanner/
# set up a virtualenv
python3 -m venv venv && source venv/bin/activate
# install ippserver
pip3 install ippserver
# set up an http listener, e.g. on app.interactsh.com or with Burp Collaborator
# prepare an input list of IPv4 addresses, one per line
# run
python3 scan.py your.callback-server.com input-list.txt
在您的回调服务器上查看结果:
