Pass probability of success through to functions
This commit is contained in:
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user