mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-30 11:44:29 +03:00
Add support for visability mode
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
||||
return genError("Cannot execute an empty command");
|
||||
}
|
||||
|
||||
uint max_ms_tmout = getConfigurationWithDefault(10000u, "Infra", "Shell Command Timeout");
|
||||
uint max_ms_tmout = getConfigurationWithDefault(400000u, "Infra", "Shell Command Timeout");
|
||||
if (ms_tmout > max_ms_tmout) {
|
||||
return genError("Provided timeout is too long, max timeout is " + to_string(max_ms_tmout));
|
||||
}
|
||||
|
Reference in New Issue
Block a user