mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-13 17:06:53 +00:00
Fix for Issue #61
This commit is contained in:
parent
1ebff35b19
commit
6a05e3fd79
3 changed files with 18 additions and 2 deletions
|
|
@ -19,6 +19,7 @@ from lib.core.common import randomStr
|
|||
from lib.core.common import readInput
|
||||
from lib.core.convert import hexdecode
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import logger
|
||||
from lib.core.enums import DBMS
|
||||
from lib.core.enums import CHARSET_TYPE
|
||||
|
|
@ -191,6 +192,8 @@ class Filesystem:
|
|||
|
||||
self.checkDbmsOs()
|
||||
|
||||
kb.fileReadMode = True
|
||||
|
||||
if conf.direct or isTechniqueAvailable(PAYLOAD.TECHNIQUE.STACKED):
|
||||
if isTechniqueAvailable(PAYLOAD.TECHNIQUE.STACKED):
|
||||
debugMsg = "going to read the file with stacked query SQL "
|
||||
|
|
@ -208,6 +211,8 @@ class Filesystem:
|
|||
|
||||
return None
|
||||
|
||||
kb.fileReadMode = False
|
||||
|
||||
if fileContent in ( None, "" ) and not Backend.isDbms(DBMS.PGSQL):
|
||||
self.cleanup(onlyFileTbl=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue