mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
code refactoring and some fixes
This commit is contained in:
parent
a067e805fa
commit
fe67d3827c
10 changed files with 53 additions and 50 deletions
|
|
@ -37,7 +37,6 @@ from lib.core.exception import sqlmapSilentQuitException
|
|||
from lib.core.exception import sqlmapValueException
|
||||
from lib.core.exception import sqlmapUserQuitException
|
||||
from lib.core.session import setInjection
|
||||
from lib.core.session import setMatchRatio
|
||||
from lib.core.target import initTargetEnv
|
||||
from lib.core.target import setupTargetEnv
|
||||
|
||||
|
|
@ -382,14 +381,6 @@ def start():
|
|||
condition = True
|
||||
|
||||
if condition:
|
||||
if kb.paramMatchRatio:
|
||||
key = (kb.injection.place, kb.injection.parameter)
|
||||
if key in kb.paramMatchRatio:
|
||||
conf.matchRatio = kb.paramMatchRatio[key]
|
||||
setMatchRatio()
|
||||
else:
|
||||
conf.matchRatio = None
|
||||
|
||||
action()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue