fix for a minor "retrieved" cosmetic issue in partial union technique reported by Devon Mitchell (retrieved: "information_schema","COLUMNS</title><...)

This commit is contained in:
Miroslav Stampar 2011-05-16 00:23:50 +00:00
parent faa74cd2bc
commit d2221e4604
2 changed files with 4 additions and 1 deletions

View File

@ -277,6 +277,9 @@ Enrico Milanese <enricomilanese@gmail.com>
for reporting a bugs when using (-a) a single line User-Agent file
for providing me with some ideas for the PHP backdoor
Devon Mitchell <devon.mitchell1988@yahoo.com>
for reporting a minor bug
Anton Mogilin <azarmaster81@yahoo.com>
for reporting a few bugs

View File

@ -269,7 +269,7 @@ def unionUse(expression, unpack=True, dump=False):
value += output
if conf.verbose == 1:
items = output.replace(kb.misc.start, "").replace(kb.misc.stop, "").split(kb.misc.delimiter)
items = extractRegexResult(r'%s(?P<result>.*?)%s' % (kb.misc.start, kb.misc.stop), output, re.DOTALL | re.IGNORECASE).split(kb.misc.delimiter)
status = "[%s] [INFO] retrieved: %s\r\n" % (time.strftime("%X"), safecharencode(",".join(map(lambda x: "\"%s\"" % x, items))))
if len(status) > width:
status = "%s..." % status[:width - 3]