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.
β
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
Clone this repository:
git clone https://github.com/YogSec/url-extractor.git
cd url-extractor
chmod +x url_extractor.sh
./url_extractor.sh [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 |
./url_extractor.sh -u sample.html
./url_extractor.sh -l /path/to/folder -s extracted_urls.txt
./url_extractor.sh -v
./url_extractor.sh -h
#======================================================
# URL Extractor | Designed By YogSec
#======================================================
Extracting URLs from sample.html
https://example.com
https://yogsec.com/contact
https://cdn.example.net/assets.js
π 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.
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]
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