mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for localhost firebird direct db access
This commit is contained in:
@@ -647,7 +647,7 @@ def parseTargetDirect():
|
||||
if details.group('remote'):
|
||||
remote = True
|
||||
conf.hostname = details.group('hostname')
|
||||
conf.port = int(details.group('port'))
|
||||
conf.port = int(details.group('port'))
|
||||
else:
|
||||
conf.hostname = "localhost"
|
||||
conf.port = 0
|
||||
@@ -675,7 +675,7 @@ def parseTargetDirect():
|
||||
for dbmsName, data in dbmsDict.items():
|
||||
if conf.dbms in data[0]:
|
||||
try:
|
||||
if dbmsName in ('Access', 'SQLite'):
|
||||
if dbmsName in ('Access', 'SQLite', 'Firebird'):
|
||||
if remote:
|
||||
warnMsg = "direct connection over the network for "
|
||||
warnMsg += "%s DBMS is not supported" % dbmsName
|
||||
|
||||
Reference in New Issue
Block a user