mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Increased default output level from 0 to 1
This commit is contained in:
parent
428612b431
commit
3cf1658532
|
@ -20,7 +20,7 @@ sqlmap (0.6.3-1) stable; urgency=low
|
||||||
current database on MySQL and Microsoft SQL Server, the 'public'
|
current database on MySQL and Microsoft SQL Server, the 'public'
|
||||||
scheme on PostgreSQL and the 'USERS' TABLESPACE_NAME on Oracle;
|
scheme on PostgreSQL and the 'USERS' TABLESPACE_NAME on Oracle;
|
||||||
* Minor improvement to set by default in all HTTP requests the standard
|
* Minor improvement to set by default in all HTTP requests the standard
|
||||||
HTTP headers (Accept, Accept-Encoding, etc);
|
client HTTP headers (Accept, Accept-Encoding, etc);
|
||||||
* Minor improvements to sqlmap Debian package files: sqlmap uploaded
|
* Minor improvements to sqlmap Debian package files: sqlmap uploaded
|
||||||
to official Debian project repository, on queue at the moment;
|
to official Debian project repository, on queue at the moment;
|
||||||
* Major bug fix to correctly handle httplib.BadStatusLine exception;
|
* Major bug fix to correctly handle httplib.BadStatusLine exception;
|
||||||
|
@ -32,6 +32,7 @@ sqlmap (0.6.3-1) stable; urgency=low
|
||||||
* Minor bug fix to correctly enumerate columns on Microsoft SQL Server;
|
* Minor bug fix to correctly enumerate columns on Microsoft SQL Server;
|
||||||
* Minor bug fix to correctly dump table entries when the column is
|
* Minor bug fix to correctly dump table entries when the column is
|
||||||
provided;
|
provided;
|
||||||
|
* Increased default output level from 0 to 1;
|
||||||
* Updated documentation.
|
* Updated documentation.
|
||||||
|
|
||||||
-- Bernardo Damele A. G. <bernardo.damele@gmail.com> Day, X YYY 2008 10:00:00 +0000
|
-- Bernardo Damele A. G. <bernardo.damele@gmail.com> Day, X YYY 2008 10:00:00 +0000
|
||||||
|
|
|
@ -612,7 +612,7 @@ def __saveCmdline():
|
||||||
if datatype == "boolean":
|
if datatype == "boolean":
|
||||||
value = "False"
|
value = "False"
|
||||||
elif datatype in ( "integer", "float" ):
|
elif datatype in ( "integer", "float" ):
|
||||||
if option == "threads":
|
if option in ( "threads", "verbose" ):
|
||||||
value = "1"
|
value = "1"
|
||||||
else:
|
else:
|
||||||
value = "0"
|
value = "0"
|
||||||
|
@ -635,13 +635,12 @@ def __setVerbosity():
|
||||||
This function set the verbosity of sqlmap output messages.
|
This function set the verbosity of sqlmap output messages.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not conf.verbose:
|
if conf.verbose == None:
|
||||||
conf.verbose = 0
|
conf.verbose = 1
|
||||||
return
|
|
||||||
|
|
||||||
conf.verbose = int(conf.verbose)
|
conf.verbose = int(conf.verbose)
|
||||||
|
|
||||||
if conf.verbose <= 1:
|
if conf.verbose == 1:
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
elif conf.verbose > 1 and conf.eta:
|
elif conf.verbose > 1 and conf.eta:
|
||||||
conf.verbose = 1
|
conf.verbose = 1
|
||||||
|
|
|
@ -244,7 +244,7 @@ def cmdLineParser():
|
||||||
"in real time")
|
"in real time")
|
||||||
|
|
||||||
miscellaneous.add_option("-v", dest="verbose", type="int",
|
miscellaneous.add_option("-v", dest="verbose", type="int",
|
||||||
help="Verbosity level: 0-5 (default 0)")
|
help="Verbosity level: 0-5 (default 1)")
|
||||||
|
|
||||||
miscellaneous.add_option("--update", dest="updateAll", action="store_true",
|
miscellaneous.add_option("--update", dest="updateAll", action="store_true",
|
||||||
help="Update sqlmap to the latest stable version")
|
help="Update sqlmap to the latest stable version")
|
||||||
|
|
|
@ -242,14 +242,14 @@ eta = False
|
||||||
|
|
||||||
# Verbosity level.
|
# Verbosity level.
|
||||||
# Valid: integer between 0 and 5
|
# Valid: integer between 0 and 5
|
||||||
# 0: Silent
|
# 0: Show only warning and error messages
|
||||||
# 1: Show info messages
|
# 1: Show also info messages
|
||||||
# 2: Show also debug messages
|
# 2: Show also debug messages
|
||||||
# 3: Show also HTTP requests
|
# 3: Show also HTTP requests
|
||||||
# 4: Show also HTTP responses headers
|
# 4: Show also HTTP responses headers
|
||||||
# 5: Show also HTTP responses page content
|
# 5: Show also HTTP responses page content
|
||||||
# Default: 0
|
# Default: 1
|
||||||
verbose = 0
|
verbose = 1
|
||||||
|
|
||||||
# Update sqlmap to the latest stable version.
|
# Update sqlmap to the latest stable version.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user