mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
fix for localhost firebird direct db access
This commit is contained in:
parent
36953221f8
commit
ac55e1b75f
2 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue