Update filesystem.py

This commit is contained in:
sqlmapper 2015-07-15 04:31:13 -04:00
parent 989271e9f8
commit a401698d74

View File

@ -27,6 +27,7 @@ from lib.core.enums import EXPECTED
from lib.core.enums import PAYLOAD from lib.core.enums import PAYLOAD
from lib.core.exception import SqlmapUndefinedMethod from lib.core.exception import SqlmapUndefinedMethod
from lib.request import inject from lib.request import inject
from binascii import a2b_hex
class Filesystem: class Filesystem:
""" """
@ -232,7 +233,7 @@ class Filesystem:
fileContent = newFileContent fileContent = newFileContent
if fileContent is not None: if fileContent is not None:
fileContent = decodeHexValue(fileContent) fileContent = a2b_hex(fileContent)
if fileContent: if fileContent:
localFilePath = dataToOutFile(remoteFile, fileContent) localFilePath = dataToOutFile(remoteFile, fileContent)