https://github.com/rix4uni/gf
A wrapper around grep, to help you grep for things
https://github.com/rix4uni/gf
bug-bounty bugbounty bugbountytips gf gf-patterns hacking infosec osint osint-resources osint-tool penetration-testing pentest-tool pentesting recon reconnaissance security security-tools threat-intelligence
Last synced: 4 months ago
JSON representation
A wrapper around grep, to help you grep for things
- Host: GitHub
- URL: https://github.com/rix4uni/gf
- Owner: rix4uni
- Created: 2024-11-13T03:00:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-13T03:01:44.000Z (over 1 year ago)
- Last Synced: 2025-02-07T00:18:32.345Z (over 1 year ago)
- Topics: bug-bounty, bugbounty, bugbountytips, gf, gf-patterns, hacking, infosec, osint, osint-resources, osint-tool, penetration-testing, pentest-tool, pentesting, recon, reconnaissance, security, security-tools, threat-intelligence
- Language: Go
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## gf
This is tomnomnom's tool [gf](https://github.com/tomnomnom/gf) so all credit goes to him, I just modified the code according to my requirements.
## Installation
```
go install github.com/rix4uni/gf@latest
```
## Download prebuilt binaries
```
wget https://github.com/rix4uni/gf/releases/download/v0.0.1/gf-linux-amd64-0.0.1.tgz
tar -xvzf gf-linux-amd64-0.0.1.tgz
rm -rf gf-linux-amd64-0.0.1.tgz
mv gf ~/go/bin/gf
```
Or download [binary release](https://github.com/rix4uni/gf/releases) for your platform.
## Compile from source
```
git clone --depth 1 github.com/rix4uni/gf.git
cd gf; go install
```
## Setup `gf-patterns`
```
git clone https://github.com/rix4uni/gf-patterns.git ~/.garudrecon/.gf
```
## Usage
```
Usage of gf:
-custom-path string
specify a custom pattern file path
-dump
prints the grep command rather than executing it
-list
list available patterns
-save
save a pattern (e.g: gf -save pat-name -Hnri 'search-pattern')
```
## Examples Usages
```
▶ cat urls.txt | gf xss
OR
▶ cat urls.txt | gf -custom-path ~/.garudrecon/.gf xss
```