Skip to content

URL Extractor | Designed By YogSec is a powerful Bash script that helps you extract URLs from a single file or all files inside a folder

License

Notifications You must be signed in to change notification settings

yogsec/URL_Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3388dd0 Β· Mar 6, 2025

History

11 Commits
Mar 6, 2025
Mar 3, 2025
Mar 2, 2025
Mar 1, 2025
Mar 1, 2025

Repository files navigation

🌐 URL Extractor | Designed By YogSec

URL Extractor | Designed By YogSec is a powerful Bash script that helps you extract URLs from a single file or all files inside a folder β€” with support for concurrent processing.
πŸ’Ύ It can save extracted URLs to a file and also display them in the terminal, making it perfect for bug hunters, security researchers, and developers.

Screenshot


✨ Features

βœ… Extract URLs from any file type (html, js, css, json, xml, py, etc.)
βœ… Supports both single file and folder mode
βœ… Concurrency for faster processing in folder mode
βœ… Option to save extracted URLs to a file
βœ… Beautiful header display for every run
βœ… Handy help (-h) and version (-v) options
βœ… Developed by YogSec β€” Built for security researchers


βš™οΈ Installation

Clone this repository:

git clone https://github.com/YogSec/url-extractor.git
cd url-extractor
chmod +x url_extractor.sh

πŸ“ Usage

./url_extractor.sh [options]

Options

Option Description
-u <file> Extract URLs from a single file
-l <folder> Extract URLs from all files in a folder
-s <file> Save extracted URLs to a specified file
-v Show tool version
-h Show help message

πŸ”₯ Examples

Extract URLs from a single file and show in terminal

./url_extractor.sh -u sample.html

Extract URLs from a folder (concurrent) and save to file

./url_extractor.sh -l /path/to/folder -s extracted_urls.txt

Show Version

./url_extractor.sh -v

Show Help

./url_extractor.sh -h

πŸ“Š Demo Output

#======================================================
#            URL Extractor | Designed By YogSec
#======================================================

Extracting URLs from sample.html
https://example.com
https://yogsec.com/contact
https://cdn.example.net/assets.js

⚑ Why YogSec Tools?

πŸ” Security-Focused β€” Built with bug bounty hunters in mind.
πŸš€ Speed β€” Uses concurrency for faster folder processing.
πŸ”— Flexibility β€” Works with almost any file type that might contain URLs.


🌟 Let's Connect!

Hello, Hacker! πŸ‘‹ We'd love to stay connected with you. Reach out to us on any of these platforms and let's build something amazing together:

🌐 Website: https://yogsec.github.io/yogsec/
πŸ“œ Linktree: https://linktr.ee/yogsec
πŸ”— GitHub: https://github.com/yogsec
πŸ’Ό LinkedIn (Company): https://www.linkedin.com/company/yogsec/
πŸ“· Instagram: https://www.instagram.com/yogsec.io/
🐦 Twitter (X): https://x.com/yogsec
πŸ‘¨β€πŸ’Ό Personal LinkedIn: https://www.linkedin.com/in/cybersecurity-pentester/
πŸ“§ Email: [email protected]

β˜• Buy Me a Coffee

If you find our work helpful and would like to support us, consider buying us a coffee. Your support keeps us motivated and helps us create more awesome content. ❀️

β˜• Support Us Here: https://buymeacoffee.com/yogsec