mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-28 04:33:16 +00:00
code refactoring
This commit is contained in:
parent
cda00c7501
commit
de54219571
3 changed files with 4 additions and 3 deletions
|
|
@ -13,6 +13,7 @@ from xml.etree import ElementTree as ET
|
|||
|
||||
from lib.core.common import getCompiledRegex
|
||||
from lib.core.common import isDBMSVersionAtLeast
|
||||
from lib.core.common import isTechniqueAvailable
|
||||
from lib.core.common import randomInt
|
||||
from lib.core.common import randomStr
|
||||
from lib.core.convert import urlencode
|
||||
|
|
@ -77,7 +78,7 @@ class Agent:
|
|||
paramDict = conf.paramDict[kb.injection.place]
|
||||
origValue = paramDict[kb.injection.parameter]
|
||||
|
||||
if kb.technique and kb.technique in kb.injection.data:
|
||||
if isTechniqueAvailable(kb.technique):
|
||||
where = kb.injection.data[kb.technique].where
|
||||
|
||||
if where == 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue