When running against multiple hosts, now prints each target host regardless of output level. (#309)

This commit is contained in:
Joe Testa
2024-12-05 09:41:26 -05:00
parent 28a1e23986
commit d9c703c777
3 changed files with 14 additions and 13 deletions

View File

@@ -532,9 +532,9 @@ def output(out: OutputBuffer, aconf: AuditConf, banner: Optional[Banner], header
else:
host = '%s:%d' % (aconf.host, aconf.port)
out.good('(gen) target: {}'. format(host))
out.good('(gen) target: {}'. format(host), always_print=True)
if client_audit:
out.good('(gen) client IP: {}'.format(client_host))
out.good('(gen) client IP: {}'.format(client_host), always_print=True)
if len(header) > 0:
out.info('(gen) header: ' + '\n'.join(header))
if banner is not None: