Pass probability of success through to functions

This commit is contained in:
Jake Walker
2023-11-21 15:09:51 +00:00
parent 48af022963
commit aa65c53a95

View File

@@ -135,8 +135,8 @@ class DataManipulationBot(DatabaseClient):
if self.server_ip_address and self.payload and self.operating_state:
self.sys_log.info(f"{self.name}: Running")
self._logon()
self._perform_port_scan()
self._perform_data_manipulation()
self._perform_port_scan(p_of_success=self.execution_definition.port_scan_p_of_success)
self._perform_data_manipulation(p_of_success=self.execution_definition.data_manipulation_p_of_success)
else:
self.sys_log.error(f"{self.name}: Failed to start as it requires both a target_ip_address and payload.")