mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Minor self fix, switched to rc6
This commit is contained in:
parent
f6b447f6e7
commit
dcbbad642d
|
@ -27,7 +27,7 @@ import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# sqlmap version and site
|
# sqlmap version and site
|
||||||
VERSION = "0.8-rc5"
|
VERSION = "0.8-rc6"
|
||||||
VERSION_STRING = "sqlmap/%s" % VERSION
|
VERSION_STRING = "sqlmap/%s" % VERSION
|
||||||
SITE = "http://sqlmap.sourceforge.net"
|
SITE = "http://sqlmap.sourceforge.net"
|
||||||
|
|
||||||
|
|
|
@ -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")
|
||||||
self.webFileStreamUpload(self, file, destFileName, directory)
|
self.webFileStreamUpload(file, destFileName, directory)
|
||||||
file.close()
|
file.close()
|
||||||
|
|
||||||
def webFileStreamUpload(self, stream, destFileName, directory):
|
def webFileStreamUpload(self, stream, destFileName, directory):
|
||||||
|
@ -118,7 +118,7 @@ class Web:
|
||||||
if self.webBackdoorUrl is not None and self.webUploaderUrl is not None and self.webApi is not None:
|
if self.webBackdoorUrl is not None and self.webUploaderUrl is not None and self.webApi is not None:
|
||||||
return
|
return
|
||||||
|
|
||||||
#self.checkDbmsOs()
|
self.checkDbmsOs()
|
||||||
|
|
||||||
kb.docRoot = getDocRoot()
|
kb.docRoot = getDocRoot()
|
||||||
directories = getDirs()
|
directories = getDirs()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user