sigtool(1)

NAME

sigtool - generate a virus signature

SYNOPSIS

sigtool [options]

DESCRIPTION

sigtool generates a virus signature using an external anti-virus scanner which is able to detect the virus. It can also create a hexadecimal dump and build and unpack a CVD database.

OPTIONS

-h, --help
    Output help information and exit.

-V, --version
    Print version number and exit.

--quiet
    Be quiet - output only error messages.

--stdout
    Write all messages to standard output (stdout), instead of standard error output (stderr).

--hex-dump
    Read data from stdin and write hex string to stdout.

-c, --command
    Anti-virus scanner command with options. Remember about quotes if the argument string contains white characters. Command should contain everything except infected file name.

-f, --file
    Infected file name.

-s, --string
    Unique string from anti-virus scanner's output when it detects the virus. In most cases it should be a virus name.

-i, --info
    Print a CVD information and verify MD5 and a digital signature.

-b, --build
    Build a CVD file. -s, --server is required.

--server
    ClamAV Signing Service address (for virus database developers only).

--unpack, -u
    Unpack a selected CVD file to a current directory.

--unpack-current
    Unpack a local CVD file to a current directory.

EXAMPLES

(0) Generate hex string from testfile and save it to testfile.hex:
    cat testfile | sigtool --hex-dump > testfile.hex

(1) Please check clamdoc.pdf and signatures.pdf for more example of usage.

CREDITS
Please check the full documentation for credits.

AUTHOR

Tomasz Kojm <tkojm@clamav.net>

SEE ALSO

clamd(8), clamdscan(1), clamscan(1), freshclam(1), clamav.conf(5), clamav-milter(8)