Thank you for following me! https://cybdetective.com
Grep is a command line utility that searches files for lines that match a regular expression.
How regular expressions can be useful in OSINT. Theory and some practice using Google Sheets
The first version of this utility appeared almost 50 years ago, in 1973. But it is still actively used and maintained (the last version was released in August 2021! https://ftp.gnu.org/gnu/grep/).
This repository contains various modifications of grep, as well as analogues of this utility for a wide variety of search tasks.
Name | Description | Link. |
---|---|---|
RZgrep | "Grep utility that searches through zip,jar,ear,tgz,bz2 in any form of nesting" | https://github.com/MoserMichael/rzgrep |
XLSgrep | "CLI tool to search text in XLSX, XLS and ODS files. It works similarly to Unix/GNU Linux grep" | https://github.com/zazuum/xlsxgrep |
Hgrep | "Grep" for searching/replacement in html code | https://github.com/TUVIMEN/hgrep |
BINgrep | Grep for binaries files | https://github.com/m4b/bingrep |
Cgrep | Grep for source codes in C/C++ | https://github.com/awgn/cgrep |
Ngrep | PCAP-based tool that allows you to specify an extended regular or hexadecimal expression to match against data payloads of packets. It understands many kinds of protocols, including IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw | https://github.com/jpr5/ngrep |
PHPgrep | Grep for PHP source code | https://github.com/quasilyte/phpgrep |
UCG (Universal Code Grep) | Extremely fast grep-like tool specialized for searching large bodies of source code | https://github.com/gvansickle/ucg |
MP4grep | CLI for transcribing and searching audio/video files | https://github.com/o-oconnell/mp4grep |
minigrep | A minimalistic regex search and print out tool implementation as per Ch.12 of The Rust Programming Language | https://github.com/paul-michelle/minigrep |
Hackers Grep | Utility to search for strings in PE executables including imports, exports, and debug symbols | https://github.com/codypierce/hackers-grep |
JVgrep | Grep for Japanese vimmer. You can find text from files that written in another Japanese encodings | https://github.com/mattn/jvgrep |
LiveGrep | Online grep search in Github repositories | https://livegrep.com/ |
DNgrep | Graphical grep tool for Windows | https://github.com/dnGrep/dnGrep |
Greplace.vim | Global search and replace for VI | https://github.com/skwp/greplace.vim |
SearchInProject_SublimeText | Use ag, ack, grep and git grep directly from Sublime Text 2 and 3 | https://github.com/leonid-shevtsov/SearchInProject_SublimeText |
ACK3 | grep-like Perl search tool optimized for source code | https://github.com/beyondgrep/ack3 |
The Silver Searcher | Extreme grep-like C+Perl search tool for source code | https://github.com/ggreer/the_silver_searcher |
Sift | GO fast and powerfull alternative for grep | https://github.com/svent/sift |
PRU | Ruby analog for grep, sed, awk | https://github.com/grosser/pru |
BlueFlower | Python grep tool for searcing in PDF, DOCX, XLSX, tar, ZIP, bzip2, gzip | https://github.com/veorq/blueflower |
RipGrep (rg) | ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern, similar to the Silver Searcher, awk; but (much) faster | https://github.com/BurntSushi/ripgrep |
WinGrep | Simple Windows utility to search for strings in Windows files. | https://github.com/alexgelman/WinGrep |
FQGREP | Grep for FASTQ (text-based format for storing both a biological sequence) files | https://github.com/fulcrumgenomics/fqgrep |
Searchdb | Search tool that will go faster than grep -r optimize for Windows | https://github.com/Termux1337/Searchdb |
Vgrep | Pager for grep, git-grep, ripgrep and similar grep implementations, and allows for opening the indexed file locations in a user-specified editor such as vim or emacs | https://github.com/vrothberg/vgrep |
Astgrep | A fast and easy tool for code searching, linting, rewriting at large scale. Written in Rust | https://github.com/HerringtonDarkholme/ast-grep |
Wordpress-grep | A Perl tool to search through a WordPress database | https://github.com/briandfoy/wordpress-grep |
Ytgrep | A tool for quick text search of subtitles in YouTube videos. Supports regular expressions and searching across multiple videos. | https://pypi.org/project/ytgrep/ |
CloudGrep | Searching log files, optionally compressed with gzip (.gz) or zip (.zip), in AWS S3, Azure Storage or Google Cloud Storage. | https://github.com/cado-security/cloudgrep |
Online Grep | Work with Grep in your browser | https://www.online-utility.org/text/grep.jsp |
To get the most out of the grep utilities mentioned above, use them along with sed and awk (and add some Perl in particularly difficult cases).
You can read more about all this here:
Command line text processing manual https://github.com/learnbyexample/Command-line-text-processing
Examples of regular expressions for extracting various data from texts can be found in the repository:
https://github.com/cipher387/grep_for_osint
Thank you for following me! https://cybdetective.com