mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
added --hostname switch to retrieve DBMS server hostname - closes issue #69
This commit is contained in:
parent
4e64c1126d
commit
53c0336b48
7 changed files with 39 additions and 2 deletions
|
|
@ -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())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue