Scan results for the sample HTTP client

For each scanned file, sample HTTP client outputs a scan result to the standard output.

The following is a sample output produced by the sample HTTP client:

Example:

user@computer:/kavsdk/bin# ./client test.sh service.sh

Server address: /tmp/.kavhttpd

Network timeout: 2000

Scan mode: scanmemory

Scan file: /kavsdk/bin/test.sh

CLEAN

Scan file: /kavsdk/bin/service.sh

CLEAN

Scan file: /kavsdk/bin/eicar.txt

DETECT EICAR-Test-File

In the example above, CLEAN and DETECT are scan results.

Two general types of scan results are possible:

Statuses

Status specifies whether a scanned file is considered clean or malicious.

Two statuses are possible:

Error codes

If an error occurred during the operation, scan result is an error code.

Following error codes are possible:

Page top