Skip to content

faizdotid/fofa-searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FOFA Search CLI 🔍

A command-line interface tool for searching FOFA

Features

  • Easy-to-use interactive CLI
  • Automatic results saving to output.txt
  • Base64 query encoding
  • Configurable API key

Setup

  1. Create a .config directory in the project root
  2. Create a file named fofa_apikey inside .config directory
  3. Add your FOFA API key to the .config/fofa_apikey file

Usage

Run the program and enter your FOFA search queries at the prompt:

cargo run

And you will see the terminal showing prompt for your query

🤔 Query> domain="example.com"

Available Commands

  • Enter your FOFA search query
  • Type help to show the help message
  • Press Enter with empty query or type exit to quit

Example Queries

domain="example.com"
header="nginx"
protocol=="http" && country=="US"

You can see the another search query in the fofa sites

Output

All search results are automatically saved to output.txt in the project directory.

Dependencies

  • tokio
  • base64
  • Other dependencies as specified in Cargo.toml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages