mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Dealing with basesting (one baby step closer to Py3 salvation)
This commit is contained in:
parent
915bc1fc99
commit
afe497a954
25 changed files with 112 additions and 98 deletions
|
|
@ -59,6 +59,7 @@ from lib.techniques.dns.test import dnsTest
|
|||
from lib.techniques.dns.use import dnsUse
|
||||
from lib.techniques.error.use import errorUse
|
||||
from lib.techniques.union.use import unionUse
|
||||
from thirdparty import six
|
||||
|
||||
def _goDns(payload, expression):
|
||||
value = None
|
||||
|
|
@ -334,7 +335,7 @@ def _goUnion(expression, unpack=True, dump=False):
|
|||
|
||||
output = unionUse(expression, unpack=unpack, dump=dump)
|
||||
|
||||
if isinstance(output, basestring):
|
||||
if isinstance(output, six.string_types):
|
||||
output = parseUnionPage(output)
|
||||
|
||||
return output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue