Minor fix

This commit is contained in:
Bernardo Damele
2010-12-07 17:17:38 +00:00
parent 8ff7c9a5a1
commit 5f97312f29
2 changed files with 3 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ class Agent:
# payload, do not put a space after the prefix
if kb.technique == 4:
query = kb.injection.prefix
elif kb.injection.clause == [2, 3] or kb.injection.clause == [ 2 ]:
elif kb.injection.clause == [2, 3] or kb.injection.clause == [ 3 ]:
if kb.technique != 3:
query = kb.injection.prefix
elif kb.technique and kb.technique in kb.injection.data: