File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949from lib .core .exception import sqlmapNoneDataException
5050from lib .core .exception import sqlmapMissingDependence
5151from lib .core .exception import sqlmapSyntaxException
52- from lib .core .exception import sqlmapUnsupportedFeatureException
5352from lib .core .settings import DESCRIPTION
5453from lib .core .settings import IS_WIN
5554from lib .core .settings import SITE
@@ -653,10 +652,13 @@ def parseTargetDirect():
653652 try :
654653 if dbmsName in ('Access' , 'SQLite' ):
655654 if remote :
656- errMsg = "direct connection over the network for %s DBMS is not supported" % dbmsName
657- raise sqlmapUnsupportedFeatureException , errMsg
658- else :
659- if not remote :
655+ warnMsg = "direct connection over the network for "
656+ warnMsg += "%s DBMS is not supported" % dbmsName
657+ logger .warn (warnMsg )
658+
659+ conf .hostname = "localhost"
660+ conf .port = 0
661+ elif not remote :
660662 errMsg = "missing remote connection details"
661663 raise sqlmapSyntaxException , errMsg
662664
You can’t perform that action at this time.
0 commit comments