mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-24 10:37:51 +00:00
Reverting set() brace form because of Python 2.6 compatibility issues
This commit is contained in:
parent
0a8bc52910
commit
10fd004dec
8 changed files with 18 additions and 15 deletions
|
|
@ -770,7 +770,7 @@ def getManualDirectories():
|
|||
checkFile(listPath)
|
||||
directories = getFileItems(listPath)
|
||||
elif choice == '4':
|
||||
targets = {conf.hostname}
|
||||
targets = set([conf.hostname])
|
||||
_ = conf.hostname.split('.')
|
||||
|
||||
if _[0] == "www":
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
|
|||
from lib.core.enums import OS
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.2.1.22"
|
||||
VERSION = "1.2.1.23"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue