From 64fe32b29b6fee4a48db945cea64f5db225cf59f Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Wed, 10 Aug 2016 14:23:36 +0200 Subject: [PATCH] Fixed small bug in SQLInjection module --- bin/SQLInjectionDetection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/SQLInjectionDetection.py b/bin/SQLInjectionDetection.py index 62c1b0b4..b2d002fe 100755 --- a/bin/SQLInjectionDetection.py +++ b/bin/SQLInjectionDetection.py @@ -42,11 +42,11 @@ word_injection.append(word_injection3) # Suspect char word_injection_suspect1 = ["\'", "\"", ";", "<", ">"] -word_injection_suspect.append(word_injection_suspect1) +word_injection_suspect += word_injection_suspect1 # Comment word_injection_suspect2 = ["--", "#", "/*"] -word_injection_suspect.append(word_injection_suspect2) +word_injection_suspect += word_injection_suspect2 def analyse(url, path): faup.decode(url)