mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
added --hostname switch to retrieve DBMS server hostname - closes issue #69
This commit is contained in:
@@ -64,6 +64,9 @@ def action():
|
||||
if conf.getCurrentDb:
|
||||
conf.dumper.currentDb(conf.dbmsHandler.getCurrentDb())
|
||||
|
||||
if conf.getHostname:
|
||||
conf.dumper.hostname(conf.dbmsHandler.getHostname())
|
||||
|
||||
if conf.isDba:
|
||||
conf.dumper.dba(conf.dbmsHandler.isDba())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user