forked from p15670423/monkey
Agent: Modify PBA base class to return pba_data and not None
This commit is contained in:
parent
501d32b171
commit
a2bad110a1
|
@ -45,10 +45,11 @@ class PBA:
|
|||
)
|
||||
)
|
||||
self.pba_data.append(PostBreachData(self.name, self.command, result))
|
||||
return self.pba_data
|
||||
else:
|
||||
logger.debug(f"No command available for PBA '{self.name}' on current OS, skipping.")
|
||||
|
||||
return self.pba_data
|
||||
|
||||
def is_script(self):
|
||||
"""
|
||||
Determines if PBA is a script (PBA might be a single command)
|
||||
|
|
Loading…
Reference in New Issue