sigtool(1)

NAME

sigtool - generate virus signature

SYNOPSIS

sigtool [options]

DESCRIPTION

sigtool generates virus signature using an external anti-virus scanner, which is able to detect the virus. It's a part of the Clam AntiVirus package. Its purpose is the simplification of signature creation process when infected file and console scanner which recognizes it are available. Its speed depends on scanner, and file and signature sizes. sigtool may generate hexadecimal strings from input data, also.

OPTIONS

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

-V, --version
    Print the 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
    Scanner command with options. Remember about quotes, if the argument string contains spaces. Command should contain everything except infected file.

-f, --file
    Infected file.

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

EXAMPLES

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

(1) Please check clamdoc for example of usage.

CREDITS
Please check the full documentation for credits.

AUTHOR

Tomasz Kojm <zolw@konarski.edu.pl>

SEE ALSO

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