GRAUDIT(1)
π GRAUDIT β the source code auditing bestie π
okay so hi, welcome to the graudit manual, aka the GRAUDIT(1) page but make it cute. it lives in the General Commands Manual section and it's here to help you sniff out sketchy code. let's get into it, no cap. β¨
πΈ NAME πΈ
graudit β source code auditing tool
like. that's literally her whole job. she audits ur source code. iconic behavior honestly. π
π¦ SYNOPSIS π¦
graudit [-options] /path/to/scan
π DESCRIPTION π
so bestie, graudit is a simple script plus a whole wardrobe of signature sets, and together they let you find potential security flaws in source code by leaning on the GNU utility grep. she's not doing anything wild under the hood, she's just grep with taste and a mission. π΅οΈββοΈ
her arguments are as follows, and yes we're going through all of them:
-Aβ Scan ALL files. no skips, no hiding, we're looking at everything. π-cnum β Number of lines of context to display. Default is2, which means one line before and one line after the matching line. so it's giving "here's the receipt, here's the vibe, here's the aftermath". π§Ύ-ddatabase β Signature database to use. pick ur flavor of suspicion. πΎ-hβ Print short help message. for when ur lost and need a lil hand-hold. π«Ά-iβ Case in-sensitive search.PasswordandpasswordandPASSWORDare all the same girlie to her. π-lβ Lists available database. window shopping but for signature sets. ποΈ-Lβ Prints line numbers in a paste friendly format for vim. vim girlies, this one's for you. π-vβ Print version number. the "who even are you" check. πͺͺ-xβ Exclude files matching this pattern. sometimes u gotta say "not you tho". β-zβ Supress colors. no rainbow today, we're being serious. (yes it's spelled "supress" in the original, we don't fix what we love π«‘)-Zβ High contrast colors. rainbow but with main character energy. π/path/to/scanβ Directory or files to scan. point her at the thing, she does the thing. π
β¨ the default vibe check β¨
By default, graudit will scan most files and directories under /path/to/scan β and the ones she skips are *.gz, *.zip, *.gif, *.jpg, *.png, .svn/, .git/ and .CVS/ β using the default signature database and displaying two lines of context with the standard grep colors.
and here's the lil shortcut that makes life easy, bestie:
graudit some/dir/
is the same as
graudit -c 1 -d default some/dir/
wait hold on, isn't-csupposed to default to2? yeah, she said what she said. that's literally what the manual says, so we're not gonna editorialize. β¨
π¦ 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.
so basically:
0β found something π (yay? yikes? both?)1β nothing matched, clean-ish, we move π§Ό2β something broke, and that's on the error π
π SEE ALSO π
(yes that's exactly how it's written in the original, we're keeping it, it's iconic in a chaotic way π)
π AUTHORS π
graudit was written by Eldar Marcussen β http://www.justanotherhacker.com.
π cute lil sign-off π
this page came to you from the Debian crew, dated June 2, 2010. old but she's still slaying, periodt. π β¨π¦
go scan something, bestie. ily. π«ΆπΈ
π¦ where this page comes from
- debian trixie: graudit 3.8-1 Β· GPL-3.0-only
- ubuntu questing: graudit 3.8-1
- ubuntu resolute: graudit 4.0-1 Β· GPL-3.0-only
- ubuntu stonking: graudit 4.0-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms