Loading repository data…
Loading repository data…
H4cker-Nafeed / repository
Nafeed-Broken-Link: A Python tool designed to check for broken social media links on a given domain. This script crawls all accessible pages of a specified domain and identifies social media links, reporting their status codes to determine if they are functioning correctly or if they are broken.
Nafeed-Broken-Link is a Python tool designed for identifying broken social media links on websites. It efficiently scans a given domain or subdomain for various social media links and checks their status codes to determine if they are broken or valid.
https://github.com/user-attachments/assets/4e6d97c7-e321-4dab-bec1-0f3cb5fef1ea
To use the Nafeed-Broken-Link tool, follow these steps:
Clone the Repository:
```bash
git clone https://github.com/H4cker-Nafeed/Nafeed-Broken-Link.git
Navigate to the Directory:
```bash
cd Nafeed-Broken-Link
Install Required Libraries:
Install the necessary Python libraries using pip:
```bash
pip install requests beautifulsoup4 urllib3 termcolor pyfiglet selenium
```
Execute the Python script to start the scanning process:
```bash
python3 broken.py
2. Enter the Domain or Subdomain:
When prompted, enter the domain or subdomain you want to scan. For example:
```bash
Enter the domain or subdomain: https://example.com
3. View the Results:
The tool will display the status of social media links found on the provided domain. Links will be categorized as either "Not vulnerable," "Forbidden," or "Vulnerable" based on their status codes. Errors in accessing pages will also be reported.
```bash
Visiting: https://www.example.com
Social media links found on https://www.example.com:
Not vulnerable: https://twitter.com/example (Status code: 200)
Forbidden: https://x.com/example (Status code: 403)
Not vulnerable: https://github.com/example (Status code: 200)
Vulnerable! Broken social media link found: https://www.facebook.com/example (Status code: 404)