Skip to content

🤖 LLM-powered agent for automated Google Dorking in bug hunting & pentesting.

License

Notifications You must be signed in to change notification settings

yee-yore/DorkAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DorkAgent

🤖 LLM-powered agent for automated Google Dorking in bug hunting & pentesting.

banner

Usage

  1. Git clone
> git clone https://github.com/yee-yore/DorkAgent.git
  1. Install packages
# python version = 3.11.9
> pip install -r requirements.txt # for macOS
> pip install -r requirements_windows.txt # for Windows
  1. Config API keys in .env file Set either OpenAI or Anthropic API key. Also, you can add any types of LLM https://docs.crewai.com/concepts/llms
SERPER_API_KEY= # https://serper.dev/
OPENAI_API_KEY= 
ANTHROPIC_API_KEY=
  1. Run dorkagent.py
> python dorkagent.py

Customize

  1. The number of google results (serper_dev_tool.py inside site-packages/crewai_tools/tools/serper_dev_tool/)
class SerperDevTool(BaseTool):
    ...
    args_schema: Type[BaseModel] = SerperDevToolSchema
    base_url: str = "https://google.serper.dev"
    n_results: int = 10 # min: 10, max: 100
    ...
  1. Duration of googling (serper_dev_tool.py)
# https://serper.dev/playground

def _make_api_request(self, search_query: str, search_type: str) -> dict:
    ...
    payload = json.dumps({"q": search_query, "num": self.n_results, "qdr:m"}) # Past week: "qdr:w", Past month: "qdr:m"
    ...
  1. Google dorks (tasks.py)
# Reference https://github.com/TakSec/google-dorks-bug-bounty
  1. Agents (agent.py)
# https://docs.crewai.com/concepts/agents

TODO

  • Support for Telegram bot
  • Logging Options

Update Log

  • 2025-04-01: Added hybrid LLM option (GPT & Claude); Added dork intitle:"IIS Windows Server"; Applied prompt engineering to tasks.py; Added default depth consideration for subdomain inputs; Added requirements.txt for Windows/MacOS compatibility

About

🤖 LLM-powered agent for automated Google Dorking in bug hunting & pentesting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages