Garud - An automation tool that scans sub-domains, sub-domain takeover

An automation tool that scans sub-domains, sub-domain takeover and then filters out xss, ssti, ssrf and more injection point parameters.

  • Requirements: Go Language, Python 2.7 or Python 3.
  • System requirements: Recommended to run on vps with 1VCPU and 2GB ram.
  • Tools used - You must need to install these tools to use this script
  • Installation - Make sure you're root before installing the tool
    git clone https://github.com/R0X4R/Garud.git && cd Garud/ && chmod +x garud install.sh && mv garud /usr/bin/ && ./install.sh
  • Usage
    █▀▀ ▄▀█ █▀█ █░█ █▀▄
    █▄█ █▀█ █▀▄ █▄█ █▄▀
    
    coded by R0X4R with <3
    
    Usage: -d       target you want to scan (target.com)
    Usage: -f       output directory where you want to save file (~/target-output/)
    Usage: -x       Exclude out of scope domains (~/out-domains.txt)
    garud -d target.com -f target-output
  • Slack Bot
    wget https://raw.githubusercontent.com/R0X4R/Garud/master/slack-bot.py ~/slack-bot.py
    pip3 install slackclient slacker

    Add your slack token in slack-bot.py file.

About Garud

I made this tool to automate my recon and save my time. It really give me headache always type such command and then wait to complete one command and I type other command. So I collected some of the tools which is widely used in the bugbounty field. In this script I used Assetfinder, get-titles, httprobe, subjack, subzy, sublister, gau and gf patterns and then it uses ffuf, dalfox, nuclei and kxss to find some low hanging fruits.

The script first enumerates all the subdomains of the give target domain using assetfinder and sublister then filters all live domains from the whole subdomain list then it extarct titles of the subdomains using get-title then it scans for subdomain takeover using subjack and subzy. Then it uses gau to extract paramters of the given subdomains then it use gf patterns to filters xss, ssti, ssrf, sqli params from that given subdomains and then it scans for low hanging fruits as well. Then it'll save all the output in a text file like target-xss.txt.

forthebadge forthebadge

Thanks to the authors of the tools used in this script.

@aboul3la @tomnomnom @lc @LukaSikic @haccer @hahwul @projectdiscovery @maurosoria @shelld3v @devanshbatham @michenriksen @hakluke

Warning: This code was originally created for personal use, it generates a substantial amount of traffic, please use with caution.

 

Original repository: https://github.com/R0X4R/Garud

April 30, 2021
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2013