black1_1
Platform Niche Strategist
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
500 XP

Hey Folks, today in this tutorial we are going to talk about a web application penetration testing tool called “broken-link-checker”. The code of this tool is written in Node JS language which comes with the below mentioned features.
Features
- Support for many HTML elements and attributes; not only and Support for relative URLs with .
- WHATWG specifications-compliant HTML and URL parsing.
- Honor robot exclusions (robots.txt, headers and rel), optionally.
- Detailed information for reporting and maintenance.
- URL keyword filtering with simple wildcards.
- Pause/Resume at any time.
Let’s test it

Required Dependencies
So first we have to install “npm” dependency which is usually not pre-installed in any operating system. npm is the package manager for Node. js and the JavaScript coding language.
apt install npm1apt install npm

Good

npm install broken-link-checker -g1npm install broken-link-checker-g

Done

blc --help1blc--help

Recursive and Ordered
Basically we just have to name the website we want to hunt down and add filters to get the results in recursively. Sometimes the external links of the website get expired and the owner of the website does not look at them even once and the reason for this carelessness can reward the hackers.
blc https://secnhack.in -ro1blc https://secnhack.in -ro

Exclude Internal Links
We think that searching internal links is not useful. Suppose even if we get it, we will exclude internal link search process which will reduce the search time and will give us quick and accurate results.
blc https://secnhack.in -i1blc https://secnhack.in -i

Finally

About the AuthorShubham Goyal Certified Ethical Hacker, information security analyst, penetration tester and researcher. Can be Contact on Linkedin.