forked from p15670423/monkey
Agent: Add missing "f" to f-string
Co-authored-by: Shreya Malviya <shreya.malviya@gmail.com>
This commit is contained in:
parent
4b3984dbd7
commit
fc767e2074
|
@ -137,7 +137,7 @@ class Propagator:
|
||||||
self, exploiter_name: str, host: VictimHost, result: ExploiterResultData
|
self, exploiter_name: str, host: VictimHost, result: ExploiterResultData
|
||||||
):
|
):
|
||||||
if result.success:
|
if result.success:
|
||||||
logger.info("Successfully propagated to {host} using {exploiter_name}")
|
logger.info(f"Successfully propagated to {host} using {exploiter_name}")
|
||||||
else:
|
else:
|
||||||
logger.info(
|
logger.info(
|
||||||
f"Failed to propagate to {host} using {exploiter_name}: {result.error_message}"
|
f"Failed to propagate to {host} using {exploiter_name}: {result.error_message}"
|
||||||
|
|
Loading…
Reference in New Issue