ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (string $scan_command, string $clean_command) | |
scanBuffer (string $buffer) | |
scanFile (string $file_path, string $org_name="") | |
![]() | |
__construct (string $scan_command, string $clean_command) | |
scanBuffer (string $buffer) | |
scanFile (string $file_path, string $org_name="") | |
logScanResult () | |
cleanFile (string $file_path, string $org_name="") | |
logCleanResult () | |
fileCleaned () | |
getScanResult () | |
getCleanResult () | |
getScanMessage () | |
getCleanMessage () | |
getScanZipFiles () | |
Protected Member Functions | |
isBufferScanPossible () | |
processBufferScan (string $buffer) | |
buildScanCommand (string $file='-') | |
buildScanCommandArguments ($file='-') | |
hasDetections (string $detectionReport) | |
![]() | |
scanFileFromBuffer (string $buffer) | |
createBufferFile (string $buffer) | |
removeBufferFile (string $bufferFile) | |
Private Attributes | |
const | ADD_SCAN_PARAMS = '--no-summary -i' |
Additional Inherited Members | |
![]() | |
static | virusHandling (string $a_file, string $a_orig_name='', bool $a_clean=true) |
![]() | |
string | $type |
bool | $scanZipFiles |
string | $scanCommand |
string | $cleanCommand |
string | $scanFilePath |
string | $scanFileOrigName |
string | $cleanFilePath |
string | $cleanFileOrigName |
bool | $scanFileIsInfected |
bool | $cleanFileIsCleaned |
string | $scanResult |
string | $cleanResult |
ilErrorHandling | $error |
ilLanguage | $lng |
ilLogger | $log |
Definition at line 21 of file class.ilVirusScannerClamAV.php.
ilVirusScannerClamAV::__construct | ( | string | $scan_command, |
string | $clean_command | ||
) |
Definition at line 25 of file class.ilVirusScannerClamAV.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 88 of file class.ilVirusScannerClamAV.php.
Referenced by processBufferScan().
|
protected |
Definition at line 95 of file class.ilVirusScannerClamAV.php.
Referenced by scanFile().
|
protected |
Definition at line 101 of file class.ilVirusScannerClamAV.php.
Referenced by processBufferScan(), and scanFile().
|
protected |
Definition at line 41 of file class.ilVirusScannerClamAV.php.
Referenced by scanBuffer().
|
protected |
Definition at line 56 of file class.ilVirusScannerClamAV.php.
References buildScanCommand(), and hasDetections().
Referenced by scanBuffer().
ilVirusScannerClamAV::scanBuffer | ( | string | $buffer | ) |
Definition at line 32 of file class.ilVirusScannerClamAV.php.
References isBufferScanPossible(), processBufferScan(), and ilVirusScanner\scanFileFromBuffer().
ilVirusScannerClamAV::scanFile | ( | string | $file_path, |
string | $org_name = "" |
||
) |
Definition at line 106 of file class.ilVirusScannerClamAV.php.
References $out, ilVirusScanner\$scanResult, buildScanCommandArguments(), ilShellUtil\escapeShellArg(), ilShellUtil\escapeShellCmd(), ilShellUtil\execQuoted(), hasDetections(), and ilVirusScanner\logScanResult().
|
private |
Definition at line 23 of file class.ilVirusScannerClamAV.php.