
This Python script exploits a file upload restriction bypass vulnerability in Pluck CMS (e.g., versions prior to 4.7.13) to upload a PHP webshell. Once uploaded, the shell (named "shell.phar") can be used to execute commands on the target server.
The script performs the following steps:
Upon success, the script prints: "Auth Successful, Shell is being uploaded. Hack, Sleep,Repeat" and the URL to the uploaded shell (e.g., http://<target_ip>:<target_port>//files/shell.phar).
The script requires Python 3 and the "requests" module. To run the script, use the following command-line syntax:
./exploit.py <target_ip> <target_port> <password> <pluckcmspath>
Example: ./exploit.py 10.10.185.89 80 mypassword /app/pluck-4.7.13
Parameters: <target_ip> : IP address of the target machine. <target_port> : Port number of the target machine (e.g., 80). : The password to use for authentication. : The path to the Pluck CMS installation (e.g., /app/pluck-4.7.13).
Exploit by Alienfader
This software is distributed "as is", without any warranty. Use it at your own risk.