2007-03-21 02:12:51 +00:00
.TH "sigtool" "1" "February 12, 2007" "ClamAV @VERSION@" "Clam AntiVirus"
2003-07-29 15:37:11 +00:00
.SH "NAME"
.LP
2004-08-18 15:22:48 +00:00
sigtool \- signature and database management tool
2003-07-29 15:37:11 +00:00
.SH "SYNOPSIS"
.LP
sigtool [options]
.SH "DESCRIPTION"
.LP
2007-02-12 18:38:32 +00:00
sigtool can be used to generate MD5 checksums, convert data into hexadecimal format, list virus signatures and build/unpack/test/verify CVD databases and update scripts.
2003-07-29 15:37:11 +00:00
.SH "OPTIONS"
.LP
.TP
\fB \- h, \- \- help\fR
Output help information and exit.
.TP
\fB \- V, \- \- version\fR
2003-11-11 22:10:27 +00:00
Print version number and exit.
2003-07-29 15:37:11 +00:00
.TP
\fB \- \- quiet\fR
Be quiet \- output only error messages.
.TP
\fB \- \- stdout\fR
2007-02-12 18:38:32 +00:00
Write all messages to stdout.
2003-07-29 15:37:11 +00:00
.TP
\fB \- \- hex\- dump\fR
Read data from stdin and write hex string to stdout.
.TP
2004-08-31 11:44:51 +00:00
\fB \- \- md5 [FILES]\fR
Generate MD5 checksum from stdin or MD5 sigs for FILES.
2003-11-11 22:10:27 +00:00
.TP
2007-02-12 19:30:22 +00:00
\fB \- \- mdb [FILES]\fR
Generate .mdb signatures for FILES.
.TP
2004-09-18 19:26:08 +00:00
\fB \- \- html\- normalise=FILE\fR
Create normalised HTML files comment.html, nocomment.html, and script.html in current working directory.
.TP
2007-02-12 18:38:32 +00:00
\fB \- \- utf16\- decode=FILE\fR
Decode UTF16 encoded data.
.TP
2004-12-19 01:11:59 +00:00
\fB \- \- vba=FILE\fR
Extract VBA/Word6 macros from given MS Office document.
.TP
\fB \- \- vba\- hex=FILE\fR
2007-02-12 18:38:32 +00:00
Extract Word6 macros from given MS Office document and display the corresponding hex values.
2004-12-19 01:11:59 +00:00
.TP
2003-11-11 22:10:27 +00:00
\fB \- i, \- \- info\fR
Print a CVD information and verify MD5 and a digital signature.
.TP
\fB \- b, \- \- build\fR
Build a CVD file. \- s, \- \- server is required.
.TP
\fB \- \- server\fR
2007-02-12 18:38:32 +00:00
ClamAV Signing Service address (for virus database maintainers only).
2003-11-11 22:10:27 +00:00
.TP
2007-02-12 18:38:32 +00:00
\fB \- \- unpack FILE, \- u FILE\fR
Unpack FILE (CVD) to a current directory.
2003-11-11 22:10:27 +00:00
.TP
\fB \- \- unpack\- current\fR
2007-02-12 18:38:32 +00:00
Unpack a local CVD file (main or daily) to current directory.
.TP
\fB \- \- diff=OLD NEW, \- d OLD NEW\fR
Create a diff file for OLD and NEW CVDs/INCDIRs.
.TP
\fB \- \- run\- cdiff=FILE, \- r FILE\fR
Execute update script FILE in current directory.
.TP
\fB \- \- verify\- cdiff=FILE, \- r FILE\fR
Verify DIFF against CVD/INCDIR.
2004-10-01 00:31:18 +00:00
.TP
2009-10-16 10:12:17 +02:00
\fB \- l[FILE], \- \- list\- sigs[=FILE]\fR
List all signature names from the local database directory (default) or from FILE.
.TP
\fB \- fREGEX, \- \- find\- sigs=REGEX\fR
Find and display signatures from the local database directory which match the given REGEX. The whole signature body (name, hex string, etc.) is checked.
2003-07-29 15:37:11 +00:00
.SH "EXAMPLES"
.LP
.TP
2004-08-18 15:22:48 +00:00
Generate hex string from testfile and save it to testfile.hex:
2003-07-29 15:37:11 +00:00
\fB cat testfile | sigtool \- \- hex\- dump > testfile.hex\fR
.SH "CREDITS"
Please check the full documentation for credits.
.SH "AUTHOR"
.LP
2003-11-11 22:10:27 +00:00
Tomasz Kojm <tkojm@clamav.net>
2003-07-29 15:37:11 +00:00
.SH "SEE ALSO"
.LP
2004-09-19 00:10:49 +00:00
clamd(8), clamdscan(1), clamscan(1), freshclam(1), clamd.conf(5), clamav\- milter(8)