From 4a35f598b85ff9ff2e50b208015dd470bb80569d Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 15 Jan 2011 22:09:53 +0000 Subject: [PATCH] Minor refactoring --- lib/controller/checks.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 12e21c23e..29e29444f 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -196,11 +196,6 @@ def checkSqlInjection(place, parameter, value): fstPayload = agent.cleanupPayload(test.request.payload, value) fstPayload = unescapeDbms(fstPayload, injection, dbms) - if stype != 4 and clause != [2, 3] and clause != [ 3 ]: - space = " " - else: - space = "" - if conf.prefix is not None and conf.suffix is not None: # Create a custom boundary object for user's supplied prefix # and suffix