mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +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
|
|
@ -304,6 +304,10 @@ def cmdLineParser():
|
|||
action="store_true",
|
||||
help="Retrieve DBMS current database")
|
||||
|
||||
enumeration.add_option("--hostname", dest="getHostname",
|
||||
action="store_true",
|
||||
help="Retrieve DBMS server hostname")
|
||||
|
||||
enumeration.add_option("--is-dba", dest="isDba",
|
||||
action="store_true",
|
||||
help="Detect if the DBMS current user is DBA")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue