Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fb190f

Browse files
committed
minor fix
1 parent 886aa22 commit 7fb190f

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

lib/techniques/union/use.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,14 @@ def unionThread():
309309
if isNoneValue(items):
310310
continue
311311
kb.locks.value.acquire()
312-
for item in items:
312+
for item in arrayizeValue(items):
313313
threadData.shared.value.append(item)
314314
kb.locks.value.release()
315315
else:
316316
items = output.replace(kb.chars.start, "").replace(kb.chars.stop, "").split(kb.chars.delimiter)
317317

318318
if conf.verbose == 1:
319-
status = "[%s] [INFO] %s: %s" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(",".join("\"%s\"" % _ for _ in unArrayizeValue(items))))
319+
status = "[%s] [INFO] %s: %s" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(",".join("\"%s\"" % _ for _ in arrayizeValue(unArrayizeValue(items)))))
320320

321321
if len(status) > width:
322322
status = "%s..." % status[:width - 3]

sqlmap.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
exit("[CRITICAL] incompatible Python version detected ('%s'). For successfully running sqlmap you'll have to use version 2.6 or 2.7 (visit \"http://www.python.org/download/\")" % PYVERSION)
1616
elif __name__ == "__main__":
1717
from _sqlmap import main
18-
# import needed for proper working of --profile switch
19-
from lib.controller.controller import start
18+
from lib.controller.controller import start # needed for proper working of --profile switch
2019
main()

0 commit comments

Comments
 (0)