.\" Generated by kramdown-man 1.0.1 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-grep 1 "2023-02-01" Ronin "User Manuals" .SH NAME .PP ronin\-grep \- Searches files\[sl]input for common patterns .SH SYNOPSIS .PP \fBronin grep\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB] .SH DESCRIPTION .PP Greps for common patterns in the given file(s) or input stream\. .SH ARGUMENTS .TP \fIFILE\fP The optional file to grep\. If no \fIFILE\fP arguments are given, then \fBronin grep\fR will read from standard input\. .SH OPTIONS .TP \fB\-N\fR, \fB\-\-number\fR Searches for all numbers\. .TP \fB\-X\fR, \fB\-\-hex\-number\fR Searches for all hexadecimal numbers\. .TP \fB\-V\fR, \fB\-\-version\-number\fR Searches for all version numbers\. .TP \fB\-w\fR, \fB\-\-word\fR Searches for all words\. .TP \fB\-\-mac\-addr\fR Searches for all MAC addresses\. .TP \fB\-4\fR, \fB\-\-ipv4\-addr\fR Searches for all IPv4 addresses\. .TP \fB\-6\fR, \fB\-\-ipv6\-addr\fR Searches for all IPv6 addresses\. .TP \fB\-I\fR, \fB\-\-ip\fR Searches for all IP addresses\. .TP \fB\-H\fR, \fB\-\-host\fR Searches for all host names\. .TP \fB\-D\fR, \fB\-\-domain\fR Searches for all domain names\. .TP \fB\-\-uri\fR Searches for all URIs\. .TP \fB\-U\fR, \fB\-\-url\fR Searches for all URLs\. .TP \fB\-\-user\-name\fR Searches for all user names\. .TP \fB\-E\fR, \fB\-\-email\-addr\fR Searches for all email addresses\. .TP \fB\-\-obfuscated\-email\-addr\fR Searches for all obfuscated email addresses\. .TP \fB\-\-phone\-number\fR Searches for all phone numbers\. .TP \fB\-\-ssn\fR Searches for all Social Security Numbers (SSNs)\. .TP \fB\-\-amex\-cc\fR Searches for all AMEX Credit Card numbers\. .TP \fB\-\-discover\-cc\fR Searches for all Discover Card numbers\. .TP \fB\-\-mastercard\-cc\fR Searches for all MasterCard numbers\. .TP \fB\-\-visa\-cc\fR Searches for all VISA Credit Card numbers\. .TP \fB\-\-visa\-mastercard\-cc\fR Searches for all VISA MasterCard numbers\. .TP \fB\-\-cc\fR Searches for all Credit Card numbers\. .TP \fB\-\-file\-name\fR Searches for all file names\. .TP \fB\-\-dir\-name\fR Searches for all directory names\. .TP \fB\-\-relative\-unix\-path\fR Searches for all relative UNIX paths\. .TP \fB\-\-absolute\-unix\-path\fR Searches for all absolute UNIX paths\. .TP \fB\-\-unix\-path\fR Searches for all UNIX paths\. .TP \fB\-\-relative\-windows\-path\fR Searches for all relative Windows paths\. .TP \fB\-\-absolute\-windows\-path\fR Searches for all absolute Windows paths\. .TP \fB\-\-windows\-path\fR Searches for all Windows paths\. .TP \fB\-\-relative\-path\fR Searches for all relative paths\. .TP \fB\-\-absolute\-path\fR Searches for all absolute paths\. .TP \fB\-P\fR, \fB\-\-path\fR Searches for all paths\. .TP \fB\-\-identifier\fR Searches for all identifier names\. .TP \fB\-\-variable\-name\fR Searches for all variable names\. .TP \fB\-\-variable\-assignment\fR Searches for all variable assignments\. .TP \fB\-\-function\-name\fR Searches for all function names\. .TP \fB\-\-md5\fR Searches for all MD5 hashes\. .TP \fB\-\-sha1\fR Searches for all SHA1 hashes\. .TP \fB\-\-sha256\fR Searches for all SHA256 hashes\. .TP \fB\-\-sha512\fR Searches for all SHA512 hashes\. .TP \fB\-\-hash\fR Searches for all hashes\. .TP \fB\-\-ssh\-private\-key\fR Searches for all SSH private key data\. .TP \fB\-\-dsa\-private\-key\fR Searches for all DSA private key data\. .TP \fB\-\-ec\-private\-key\fR Searches for all EC private key data\. .TP \fB\-\-rsa\-private\-key\fR Searches for all RSA private key data\. .TP \fB\-K\fR, \fB\-\-private\-key\fR Searches for all private key data\. .TP \fB\-\-ssh\-public\-key\fR Searches for all SSH public key data\. .TP \fB\-\-public\-key\fR Searches for all public key data\. .TP \fB\-\-aws\-access\-key\-id\fR Searches for all AWS access key IDs\. .TP \fB\-\-aws\-secret\-access\-key\fR Searches for all AWS secret access keys\. .TP \fB\-A\fR, \fB\-\-api\-key\fR Searches for all API keys (MD5, SHA1, SHA256, SHA512, AWS access key ID, or AWS secret access key)\. .TP \fB\-\-single\-quoted\-string\fR Searches for all single\-quoted strings\. .TP \fB\-\-double\-quoted\-string\fR Searches for all double\-quoted strings\. .TP \fB\-S\fR, \fB\-\-string\fR Searches for all quoted strings\. .TP \fB\-B\fR, \fB\-\-base64\fR Searches for all Base64 strings\. .TP \fB\-\-c\-comment\fR Searches for all C comments\. .TP \fB\-\-cpp\-comment\fR Searches for all C\[pl]\[pl] comments\. .TP \fB\-\-java\-comment\fR Searches for all Java comments\. .TP \fB\-\-javascript\-comment\fR Searches for all JavaScript comments\. .TP \fB\-\-shell\-comment\fR Searches for all Shell comments\. .TP \fB\-\-ruby\-comment\fR Searches for all Ruby comments\. .TP \fB\-\-python\-comment\fR Searches for all Python comments\. .TP \fB\-\-comment\fR Searches for all comments\. .TP \fB\-e\fR, \fB\-\-regexp\fR \[sl]\fIREGEXP\fP\[sl] Custom regular expression to search for\. .TP \fB\-o\fR, \fB\-\-only\-matching\fR Only print the matching data\. .TP \fB\-n\fR, \fB\-\-line\-number\fR Print the line number for each line\. .TP \fB\-\-with\-filename\fR Print the file name for each match\. .TP \fB\-h\fR, \fB\-\-help\fR Print help information\. .SH AUTHOR .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .SH SEE ALSO .PP .BR ronin\-extract (1)