Cloud Discovery RC1

Former-commit-id: 9933be0c76b44592783e686bfa2da9ab63df1022
This commit is contained in:
fbsanchez 2019-02-23 00:01:59 +01:00
parent 8b5f50f883
commit 4289684e00
2 changed files with 16 additions and 1 deletions

View File

@ -150,6 +150,20 @@ class ConsoleSupervisor
{
global $config;
/*
* PHP configuration warnings:
* NOTIF.PHP.SAFE_MODE
* NOTIF.PHP.INPUT_TIME
* NOTIF.PHP.EXECUTION_TIME
* NOTIF.PHP.UPLOAD_MAX_FILESIZE
* NOTIF.PHP.MEMORY_LIMIT
* NOTIF.PHP.DISABLE_FUNCTIONS
* NOTIF.PHP.PHANTOMJS
* NOTIF.PHP.VERSION
*/
$this->checkPHPSettings();
/*
* Check license.
* NOTIF.LICENSE.EXPIRATION

View File

@ -275,7 +275,8 @@ sub exec_recon_script ($$$) {
}
if (-x $command) {
`$command $args`;
my $exec_output = `$command $args`;
logger ($pa_config, "Execution output: \n", $exec_output);
} else {
logger ($pa_config, "Cannot execute recon task command $command.");
}