mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-29 20:46:36 +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
|
|
@ -60,13 +60,13 @@ class Enumeration(Custom, Databases, Entries, Search, Users):
|
|||
bannerParser(kb.data.banner)
|
||||
|
||||
if conf.os and conf.os == "windows":
|
||||
kb.bannerFp["type"] = {"Windows"}
|
||||
kb.bannerFp["type"] = set(["Windows"])
|
||||
|
||||
elif conf.os and conf.os == "linux":
|
||||
kb.bannerFp["type"] = {"Linux"}
|
||||
kb.bannerFp["type"] = set(["Linux"])
|
||||
|
||||
elif conf.os:
|
||||
kb.bannerFp["type"] = {"%s%s" % (conf.os[0].upper(), conf.os[1:])}
|
||||
kb.bannerFp["type"] = set(["%s%s" % (conf.os[0].upper(), conf.os[1:])])
|
||||
|
||||
if conf.os:
|
||||
setOs()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue