mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-13 13:44:23 +03:00
updated readfp to read_file as it is outdated
This commit is contained in:
parent
853cb3fa06
commit
c5e623b2b8
|
@ -68,7 +68,7 @@ def configFileParser(configFile):
|
|||
|
||||
try:
|
||||
config = UnicodeRawConfigParser()
|
||||
config.readfp(configFP)
|
||||
config.read_file(configFP)
|
||||
except Exception as ex:
|
||||
errMsg = "you have provided an invalid and/or unreadable configuration file ('%s')" % getSafeExString(ex)
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user