Skip to content

Commit 9e96300

Browse files
author
mattiaformenti
committed
Add scan target to probe execution log messages
- Include report.getRemoteName() in probe execution logs - Format: [target] [X/Y] probe_name probe executed - Helps identify which target is being scanned during bulk scans
1 parent 982940b commit 9e96300

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/de/rub/nds/scanner/core/execution/ThreadedScanJobExecutor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ private void executeProbesTillNoneCanBeExecuted(ReportT report) throws Interrupt
161161
try {
162162
probeResult = result.get();
163163
LOGGER.info(
164-
"[{}/{}] {} probe executed",
164+
"[{}] [{}/{}] {} probe executed",
165+
report.getRemoteName(),
165166
String.format("%2d", currentFinishedProbes),
166167
String.format("%2d", probeCount),
167168
probeResult.getType().getName());

0 commit comments

Comments
 (0)