mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +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'
|
||||
scheme on PostgreSQL and the 'USERS' TABLESPACE_NAME on Oracle;
|
||||
* 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
|
||||
to official Debian project repository, on queue at the moment;
|
||||
* 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 dump table entries when the column is
|
||||
provided;
|
||||
* Increased default output level from 0 to 1;
|
||||
* Updated documentation.
|
||||
|
||||
-- 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":
|
||||
value = "False"
|
||||
elif datatype in ( "integer", "float" ):
|
||||
if option == "threads":
|
||||
if option in ( "threads", "verbose" ):
|
||||
value = "1"
|
||||
else:
|
||||
value = "0"
|
||||
|
@ -635,13 +635,12 @@ def __setVerbosity():
|
|||
This function set the verbosity of sqlmap output messages.
|
||||
"""
|
||||
|
||||
if not conf.verbose:
|
||||
conf.verbose = 0
|
||||
return
|
||||
if conf.verbose == None:
|
||||
conf.verbose = 1
|
||||
|
||||
conf.verbose = int(conf.verbose)
|
||||
|
||||
if conf.verbose <= 1:
|
||||
if conf.verbose == 1:
|
||||
logger.setLevel(logging.INFO)
|
||||
elif conf.verbose > 1 and conf.eta:
|
||||
conf.verbose = 1
|
||||
|
|
|
@ -244,7 +244,7 @@ def cmdLineParser():
|
|||
"in real time")
|
||||
|
||||
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",
|
||||
help="Update sqlmap to the latest stable version")
|
||||
|
|
|
@ -242,14 +242,14 @@ eta = False
|
|||
|
||||
# Verbosity level.
|
||||
# Valid: integer between 0 and 5
|
||||
# 0: Silent
|
||||
# 1: Show info messages
|
||||
# 0: Show only warning and error messages
|
||||
# 1: Show also info messages
|
||||
# 2: Show also debug messages
|
||||
# 3: Show also HTTP requests
|
||||
# 4: Show also HTTP responses headers
|
||||
# 5: Show also HTTP responses page content
|
||||
# Default: 0
|
||||
verbose = 0
|
||||
# Default: 1
|
||||
verbose = 1
|
||||
|
||||
# Update sqlmap to the latest stable version.
|
||||
# Valid: True or False
|
||||
|
|
Loading…
Reference in New Issue
Block a user