YogSec Search is a powerful and flexible search tool designed to fetch search results from Bing. It is specifically built for security researchers, digital investigators, and developers who need to gather URLs and website information efficiently.
Performing manual searches through search engines is time-consuming and often returns unwanted URLs like tracking links from search platforms (e.g., bing.com/ck/a
). Additionally, users may face duplicate results or may require a larger number of results, which is not easily accessible through a standard search.
YogSec Search automates the process of querying Bing and filters out unwanted results like Bing tracking URLs. It ensures that only unique and relevant URLs are returned, streamlining your search process and saving time.
- Fetches search results from Bing.
- Removes unwanted tracking URLs from Bing (e.g.,
bing.com/ck/a
). - Ensures no duplicate URLs in the output.
- Fetches up to 200 search results using the
-i
parameter. - Saves the complete output with titles and URLs to a file.
- Saves only URLs to a separate file.
- Displays help and version information.
- Customizable user agent for better evasion.
Ensure you have Python 3.x installed on your system.
- Clone the repository:
git clone https://github.com/YogSec/YogSec-Search.git
- Navigate to the directory:
cd YogSec-Search
- Install dependencies (if needed):
pip install bs4
Run the script using the command line:
python script.py [OPTIONS] QUERY
Option | Description |
---|---|
-h |
Show help message. |
-v |
Show version information. |
-i [NUM] |
Number of results to fetch (default: 100, max: 200). |
-s [FILENAME] |
Save output (title + URL) to a file. |
-su [FILENAME] |
Save only URLs to a file. |
python script.py "site:example.com"
python script.py -i 200 "site:example.com"
python script.py -s results.txt "site:example.com"
python script.py -su urls.txt "site:example.com"
python script.py -i 200 -s results.txt -su urls.txt "site:example.com"
- Sends search queries to Bing.
- Parses the search result HTML using BeautifulSoup.
- Filters out unwanted Bing tracking URLs like
bing.com/ck/a
. - Removes duplicate URLs from the output.
- Outputs the results to the terminal or saves them to a file if specified.
- User agents can be modified in the
USER_AGENTS
list to rotate between different browsers.
requests
BeautifulSoup4
You can install these packages using:
pip install requests beautifulsoup4
Current Version: 1.0
This project is licensed under the MIT License.
Developed by Abhinav Singwal | YogSec
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/bug-bounty-hunter/
📧 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