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

Skip to content

Commit 8a2bd38

Browse files
committed
minor output fix
1 parent 48583a9 commit 8a2bd38

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

doc/THANKS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,9 @@ Antonio Riva <[email protected]>
435435
Ethan Robish <[email protected]>
436436
for reporting a bug
437437

438+
Levente Rog <[email protected]>
439+
for reporting a minor bug
440+
438441
Andrea Rossi <[email protected]>
439442
for reporting a minor bug
440443
for suggesting a feature

lib/techniques/union/use.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,12 +319,12 @@ def unionThread():
319319
items = output.replace(kb.chars.start, "").replace(kb.chars.stop, "").split(kb.chars.delimiter)
320320

321321
if conf.verbose == 1:
322-
status = "[%s] [INFO] %s: %s\r\n" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(",".join(map(lambda x: "\"%s\"" % x, items))))
322+
status = "[%s] [INFO] %s: %s" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(",".join(map(lambda x: "\"%s\"" % x, items))))
323323

324324
if len(status) > width:
325325
status = "%s..." % status[:width - 3]
326326

327-
dataToStdout(status, True)
327+
dataToStdout("%s\r\n" % status, True)
328328

329329
runThreads(numThreads, unionThread)
330330

0 commit comments

Comments
 (0)