Scroll to navigation

GRAUDIT(1) General Commands Manual GRAUDIT(1)

NAME

grauditsource code auditing tool

SYNOPSIS

graudit [-options] /path/to/scan

DESCRIPTION

graudit is a simple script and signature sets that allows you to find potential security flaws in source code using the GNU utility grep. Its arguments are as follows:

Scan ALL files
num
Number of lines of context to display (Default: 2; one before and one after the matching line)
database
Signature database to use
Print short help message
Case in-sensitive search
Lists available database
Prints line numbers in a paste friendly format for vim
Print version number
Exclude files matching this pattern
Supress colors
High contrast colors
/path/to/scan
Directory or files to scan

By default, graudit will scan most files and directories (excluding *.gz, *.zip, *.gif, *.jpg, *.png, .svn/, .git/ and .CVS/) under /path/to/scan using the default signature database and display two lines of context using the standard grep colors. Running graudit some/dir/ is the same as running graudit -c 1 -d default some/dir/

EXIT STATUS

The exit status is 0 if a signature match is found and 1 otherwise. An exit status of 2 means an error occurred.

SEE ALSO

grep(1)(graudit(7))

AUTHORS

graudit was written by Eldar Marcussen - http://www.justanotherhacker.com.

June 2, 2010 Debian