mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Fix for an Issue #885
This commit is contained in:
parent
4de4f5c1ba
commit
c33e493e0d
|
@ -8,6 +8,7 @@ See the file 'doc/COPYING' for copying permission
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from lib.core.agent import agent
|
from lib.core.agent import agent
|
||||||
|
from lib.core.common import checkFile
|
||||||
from lib.core.common import dataToStdout
|
from lib.core.common import dataToStdout
|
||||||
from lib.core.common import Backend
|
from lib.core.common import Backend
|
||||||
from lib.core.common import isStackingAvailable
|
from lib.core.common import isStackingAvailable
|
||||||
|
@ -146,6 +147,7 @@ class UDF:
|
||||||
|
|
||||||
if len(self.udfToCreate) > 0:
|
if len(self.udfToCreate) > 0:
|
||||||
self.udfSetRemotePath()
|
self.udfSetRemotePath()
|
||||||
|
checkFile(self.udfLocalFile)
|
||||||
written = self.writeFile(self.udfLocalFile, self.udfRemoteFile, "binary", forceCheck=True)
|
written = self.writeFile(self.udfLocalFile, self.udfRemoteFile, "binary", forceCheck=True)
|
||||||
|
|
||||||
if written is not True:
|
if written is not True:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user