fbpx

Garud – Sub-domain Scanner, Sub-domain Takeover With XSS, SSRF, SSTI

In this article we are going to talk about Garud a tool to scan sub-domains and also check for sub-domain takeover with XSS, SSRF, SSTI, etc

In Web application penetration testing scanning for sub-domains is one of the crucial parts. Sub-domains can give hackers and bug bounty hunters lots of bugs to exploit if they are scanned thoroughly. But there are lots of sub-domains of one domain and it can’t be checked manually.

To tackle this problem many hackers and penetration tester use automated tools to do this. Today we are going to talk about one of the tools which can be used to scan the sub-domains and also checks for possible sub-domain takeover.

The name of the tool is Garud by R0X4R.

What is “Garud”?

Garud is a collection of tools like Assetfinder, get-titles, httprobe, subjack, subzy, sublister, etc. All combined in one single tool.

The script first enumerates all the subdomains of the given target domain using assetfinder and sublister then filters all live domains from the whole subdomain list then extracts titles of the subdomains using get-title then it scans for subdomain takeover using subjack and subzy. Then it uses gau to extract parameters of the given subdomains then it uses gf patterns to filters XSS, ssti, ssrf, SQL 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.

How to install Garud?

As Garud requires Go and Python as a prerequisite and root access, it can be installed in any device like Linux, Termux(if root).

System requirements: Recommended to run on vps with 1VCPU and 2GB ram.

Installation – Make sure you’re root before installing the tool

Linux(recommended)

Clone the repository

git clone https://github.com/R0X4R/Garud.git

Change Directory to Garud

cd Garud/

Changing the access persmissions

chmod +x garud install.sh 

Moving garud to usr/bin

mv garud /usr/bin/ 

Installing the tool

./install.sh

Termux

If you have rooted android you can install this tool into you phone in termux by following the exactly same steps as Linux.

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

Official GIF below

Garud official GIF

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

check for more tool and hacking content on out blog page

Share the Post...
WhatsApp

About Cybervie

Cybervie provides best cyber security training program in hyderabad, India.This cyber security course enables you to detect vulnerablities of a system, wardoff attacks and manage emergency situations. Taking a proactive approach to security that can help organisations to protect their data, Cybervie has designed its training module based on the cyber security industry requirements with three levels of training in both offensive and defensive manner, and use real time scenarios which can help our students to understand the market up-to its standard certification which is an add on advantage for our students to stand out of competition in an cyber security interview.

More Info – Click Here

Recent Posts

Follow Us on Youtube

Cyber Security Training Program 2020

Cyber security Course offered by Cybervie prepares students for a path of success in a highly demanding and rapidly growing field of cyber security. The course is completely designed with an adaptable mindset, where the program allows the student to complete the course work at their own pace while being able to complete weekly assignments. Hence, also making it convenient for busy working professionals to pursue the training to help them advance their career in cyber security.

Cybervie has designed the training module based on the cyber security industry requirements in both offensive and defensive manner, using real time scenarios which help our students to understand the market standards.

Sign up for our Newsletter

Interested in Cyber Security Training Program 2020 – Click Here

Open chat
1
Hello 👋
How can we help you?