mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Fixed a bug reported by Bedirhan Urgun <bedirhanurgun@gmail.com>
This commit is contained in:
parent
962d63eff5
commit
d664f0387e
2 changed files with 6 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
|
||||
from ConfigParser import NoSectionError
|
||||
from ConfigParser import SafeConfigParser
|
||||
from ConfigParser import ConfigParser
|
||||
|
||||
from lib.core.common import checkFile
|
||||
from lib.core.data import conf
|
||||
|
|
@ -76,7 +76,7 @@ def configFileParser(configFile):
|
|||
logger.debug(debugMsg)
|
||||
|
||||
checkFile(configFile)
|
||||
config = SafeConfigParser()
|
||||
config = ConfigParser()
|
||||
config.read(configFile)
|
||||
|
||||
if not config.has_section("Request"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue