Open In App

Hijacking – Broken Link Checker Tool

Last Updated : 24 Oct, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

Broken link hijacking (BLH) is a type of web attack. It exploits external links that are no longer valid. This vulnerability can be tested by using automated tools. The broken Link Checker tool is an automated tool developed in NodeJS language and also available on the GitHub platform. This tool takes the target URL as an input and tests each URL for Broken Link Hijacking. This tool is free and open-source to use.

Features of Broken Link Checker Tool 

  • This tool has supports many HTML elements and attributes along with relative URLs.
  • This tool supports recursive and ordered the test on the target URL.
  • This tool has the feature to Pause and Resume the test at any instance of time.
  • This tool displays detailed information for reporting and maintenance.
  • This tool supports URL keyword filtering with some wildcards.

Note: Make Sure You have Node JS Installed on your System, as this is a Node JS-based tool. Click to check the Installation process: Node JS Installation Steps on Linux

Installation of Broken Link Checker Tool on Kali Linux OS

Step 1: Use the following command to install the “npm” dependency.

sudo apt install npm

Step 2: Now, Install and Configure the  Broken Link Checker tool using the following command.

npm install broken-link-checker -g

Step 3: Check the help section of the too by using the following command.

blc --help

Working with Broken Link Checker Tool on Kali Linux OS

Example 1: Recursive and Ordered

blc https://geeksforgeeks.org -ro

In this example, we will try to hunt down and add filters to get the results recursively. 

Example 2: Exclude Internal Links

blc https://geeksforgeeks.org -i

In this example, we will exclude the internal link search process which will reduce the search time and will give us quick and accurate results.


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads