File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def write(self, fp):
216216 fp .write ("[%s]\n " % _configparser .DEFAULTSECT )
217217
218218 for (key , value ) in self ._defaults .items ():
219- fp .write ("\t %s = %s" % (key , getUnicode (value , UNICODE_ENCODING )))
219+ fp .write ("%s = %s" % (key , getUnicode (value , UNICODE_ENCODING )))
220220
221221 fp .write ("\n " )
222222
@@ -226,9 +226,9 @@ def write(self, fp):
226226 for (key , value ) in self ._sections [section ].items ():
227227 if key != "__name__" :
228228 if value is None :
229- fp .write ("\t %s\n " % (key ))
229+ fp .write ("%s\n " % (key ))
230230 elif not isListLike (value ):
231- fp .write ("\t %s = %s\n " % (key , getUnicode (value , UNICODE_ENCODING )))
231+ fp .write ("%s = %s\n " % (key , getUnicode (value , UNICODE_ENCODING )))
232232
233233 fp .write ("\n " )
234234
Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.5.1.21 "
21+ VERSION = "1.5.1.22 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
813813# Default REST-JSON API server listen port
814814RESTAPI_DEFAULT_PORT = 8775
815815
816+ # Unsupported options by REST-JSON API server
817+ RESTAPI_UNSUPPORTED_OPTIONS = {"sqlShell" , "wizard" }
818+
816819# Use "Supplementary Private Use Area-A"
817820INVALID_UNICODE_PRIVATE_AREA = False
818821
You can’t perform that action at this time.
0 commit comments