mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
fix for "NameError: global name 'webFileStreamUpload' is not defined"
This commit is contained in:
parent
a20bbc3974
commit
f6b447f6e7
|
@ -77,7 +77,7 @@ class Web:
|
||||||
|
|
||||||
def webFileUpload(self, fileToUpload, destFileName, directory):
|
def webFileUpload(self, fileToUpload, destFileName, directory):
|
||||||
file = open(fileToUpload, "r")
|
file = open(fileToUpload, "r")
|
||||||
webFileStreamUpload(self, file, destFileName, directory)
|
self.webFileStreamUpload(self, file, destFileName, directory)
|
||||||
file.close()
|
file.close()
|
||||||
|
|
||||||
def webFileStreamUpload(self, stream, destFileName, directory):
|
def webFileStreamUpload(self, stream, destFileName, directory):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user