mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Adding experimental option --crack
This commit is contained in:
parent
b288bfdbc3
commit
01d5da18e3
6 changed files with 48 additions and 18 deletions
|
|
@ -71,6 +71,7 @@ from lib.core.settings import REFERER_ALIASES
|
|||
from lib.core.settings import USER_AGENT_ALIASES
|
||||
from lib.core.target import initTargetEnv
|
||||
from lib.core.target import setupTargetEnv
|
||||
from lib.utils.hash import crackHashFile
|
||||
|
||||
def _selectInjection():
|
||||
"""
|
||||
|
|
@ -268,6 +269,9 @@ def start():
|
|||
check if they are dynamic and SQL injection affected
|
||||
"""
|
||||
|
||||
if conf.hashFile:
|
||||
crackHashFile(conf.hashFile)
|
||||
|
||||
if conf.direct:
|
||||
initTargetEnv()
|
||||
setupTargetEnv()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue