mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Major bug fix in multipartpost and minor adjustments elsewhere
This commit is contained in:
parent
06af405efd
commit
10521b68eb
5 changed files with 30 additions and 23 deletions
|
|
@ -72,8 +72,9 @@ def configFileParser(configFile):
|
|||
logger.debug(debugMsg)
|
||||
|
||||
checkFile(configFile)
|
||||
configFP = codecs.open(configFile, "rb", conf.dataEncoding)
|
||||
config = UnicodeRawConfigParser()
|
||||
config.readfp(codecs.open(configFile, "rb", conf.dataEncoding))
|
||||
config.readfp(configFP)
|
||||
|
||||
if not config.has_section("Target"):
|
||||
raise NoSectionError, "Target in the configuration file is mandatory"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue