
Python-based scanner that detects debug mode misconfigurations in web applications using multiple HTTP methods and fingerprinting techniques to identify exposed sensitive information.
dbgdtct is a Python-based tool designed to help you detect if a web application is deployed in debug mode—a critical misconfiguration that can expose sensitive information and increase the risk of exploitation in production environments.
git clone https://github.com/yousseflahouifi/dbdtct.git
Create a virtual environnement
python3 -m venv myenv
source myenv/bin/activate
install packages
pip3 install aiohttp requests
To scan a single target application
python dbdtct.py -u https://target.com
To scan multiple targets and URLs
python dbdtct.py -l list.txt
python dbdtct.py -u https://target.com
,--.,--. ,--. ,--. ,--.
,-| || |-. ,-| |,-' '-. ,---.,-' '-.
' .-. || .-. '' .-. |'-. .-'| .--''-. .-'
\ `-' || `-' |\ `-' | | | \ `--. | |
`---' `---' `---' `--' `---' `--'
dbdtct — Web Debug Mode Detection Tool
Created by: Youssef Lahouifi
Supervised by : Redouan Korchiyne
[ Debug Mode Scanner - Test various methods to detect debug mode ]
[*] Starting scan at 2025-04-12 23:01:12
[*] Testing 1 target(s)
[+] Potential Debug Mode Detected on https://target.com
-> Technique: HTTP Method POST
-> Fingerprint: Symfony\Component\
-> Technique: HTTP Method PUT
-> Fingerprint: Symfony\Component\
-> Technique: Malformed JSON ({"foo":"bar")
-> Fingerprint: Symfony\Component\
[*] Scan Summary:
-> Completed in: 7.35 seconds
-> Targets scanned: 1
-> Vulnerable targets: 1
-> Success rate: 100.0%