Hacking Tools

ripgrep : The Fast, Flexible Search Tool

ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep will respect gitignore rules and automatically skip hidden files/directories and binary files.

(To disable all automatic filtering by default, use rg -uuu.) ripgrep has first class support on Windows, macOS and Linux, with binary downloads available for every release. ripgrep is similar to other popular search tools like The Silver Searcher, ack and grep.

CHANGELOG

Please see the CHANGELOG for a release history.

Documentation Quick Links

  • Installation
  • User Guide
  • Frequently Asked Questions
  • Regex syntax
  • Configuration files
  • Shell completions
  • Building
  • Translations

Screenshot Of Search Results

Quick Examples Comparing Tools

This example searches the entire Linux kernel source tree (after running make defconfig && make -j8) for [A-Z]+_SUSPEND, where all matches must be words. Timings were collected on a system with an Intel i9-12900K 5.2 GHz

Please remember that a single benchmark is never enough! See my blog post on ripgrep for a very detailed comparison with more benchmarks and analysis.

ToolCommandLine countTime
ripgrep (Unicode)rg -n -w '[A-Z]+_SUSPEND'5360.082s (1.00x)
hypergrephgrep -n -w '[A-Z]+_SUSPEND'5360.167s (2.04x)
git grepgit grep -P -n -w '[A-Z]+_SUSPEND'5360.273s (3.34x)
The Silver Searcherag -w '[A-Z]+_SUSPEND'5340.443s (5.43x)
ugrepugrep -r --ignore-files --no-hidden -I -w '[A-Z]+_SUSPEND'5360.639s (7.82x)
git grepLC_ALL=C git grep -E -n -w '[A-Z]+_SUSPEND'5360.727s (8.91x)
git grep (Unicode)LC_ALL=en_US.UTF-8 git grep -E -n -w '[A-Z]+_SUSPEND'5362.670s (32.70x)
ackack -w '[A-Z]+_SUSPEND'26772.935s (35.94x)

For more information click here.

Varshini

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

SECurityTr8Ker : SEC Cybersecurity Disclosure Monitor

SECurityTr8Ker is a Python application designed to monitor the U.S. Securities and Exchange Commission's (SEC)…

17 minutes ago

InfluxDB : The Open Source Leader In Time Series Data And Real-Time Analytics

InfluxDB is the leading open source time series database for metrics, events, and real-time analytics.…

28 minutes ago

Fuxploider : Automating File Upload Vulnerability Exploitation

Fuxploider is an open source penetration testing tool that automates the process of detecting and…

34 minutes ago

The Strength Of Signed App Control Policies

Before delving into the topic, let's first clarify the role of an Administrator within the…

3 days ago

Embassy : Revolutionizing Embedded Systems With Rust And Asynchronous Programming

Embassy is the next-generation framework for embedded applications. Write safe, correct and energy-efficient embedded code…

3 days ago

AttackRuleMap : Bridging Adversary Simulations And Detection Rules For Enhanced Cybersecurity

This repository provides a mapping of Atomic Red Team attack simulations to open-source detection rules,…

3 days ago