Syntax examples

This section contains examples for using the sample HTTP client from the command line.

Scan one file by passing the file contents:

Example:

user@computer:/opt/kavhttpd/bin# ./client eicar.txt

Scan one file by passing a file path (only for unix socket):

Example:

user@computer:/opt/kavhttpd/bin# ./client -f eicar.txt

Connect to KAV HTTPD by TCP and scan two files:

Example:

user@computer:/opt/kavhttpd/bin# ./client -s 192.0.2.42:9999 eicar.txt test.sh

Connect to KAV HTTPD by TCP and scan two files with a 10 second timeout:

Example:

user@computer:/opt/kavhttpd/bin# ./client -s 192.0.2.42:9999 -t 10000 eicar.txt test.sh

Page top