This code is taken from "Drupal 7.0 < 7.31 - 'Drupalgeddon' SQL Injection (Add Admin User)" and was converted to Python 3 to suit the exercise in Academy for Module "Attacking Commoon Applications" and section "Attacking Drupal".# Code Conversion to Python 3
This code is taken from ["Drupal 7.0 < 7.31 - 'Drupalgeddon' SQL Injection \(Add Admin User\)"](https://www.exploit-db.com/exploits/34992) and was converted to Python 3 to suit the exercise in [Academy](http://academy.hackthebox.com/) for Module "Attacking Commoon Applications" and section "Attacking Drupal".
The original code was written in Python 2, but I converted it to be compatible with Python 3. The readme structure is copied from [here](https://github.com/dpgg101/CVE-2019-10945/blob/main/README.md).
## Requirements
To run this code, you will need Python 3 installed on your system.
## Usage
To run the code, simply execute the script in a terminal or command prompt using Python 3. For example:
```bash
$ wget https://github.com/joaomorenorf/CVE-2014-3704/raw/refs/heads/master/CVE-2014-3704.py
$ python3 CVE-2014-3704.py
```
## Contributing
If you find any issues with the code or have suggestions for improvements, please feel free to open an issue or submit a pull request.
[4.0K] /data/pocs/0349b2cfb557fde77d313824f4294a6b272cc470
├── [ 12K] CVE-2014-3704.py
├── [1.0K] LICENSE
└── [1.0K] README.md
0 directories, 3 files