-
Notifications
You must be signed in to change notification settings - Fork 2
Home
YogSec Search is a specialized search tool that leverages Bing search results to simplify data gathering for researchers, developers, and cybersecurity professionals. It automates the retrieval of search results while filtering out irrelevant tracking URLs and eliminating duplicates. This tool aims to enhance productivity and precision when gathering online information.
Manual search engine queries are often inefficient and time-consuming, especially when gathering a large number of search results. Users may encounter:
- Irrelevant tracking URLs (e.g.,
bing.com/ck/a
). - Duplicated results.
- Limited control over the number of search results.
These issues hinder productivity, making it difficult to quickly obtain clean and reliable search data.
YogSec Search addresses these challenges by automating Bing search queries with the following capabilities:
- Scrapes search results directly from Bing.
- Removes tracking URLs and unwanted Bing-generated redirect links.
- Filters duplicate URLs from the output.
- Allows fetching up to 200 search results.
- Supports saving both titles with URLs and URLs only to files.
YogSec Search is useful for:
- Security Researchers: Collect target URLs for reconnaissance and vulnerability assessments.
- Bug Bounty Hunters: Streamline information gathering during bug bounty hunting.
- Developers: Automate search queries to gather research data.
- Investigative Journalists: Fetch clean search data without cluttered results.
- Digital Marketers: Collect competitor website information for market analysis.
- Time Efficiency: Automates search processes, eliminating manual result extraction.
- Clean Data: Provides clean URLs without Bing redirections.
- Customizability: Allows users to specify the number of results and customize output.
Ensure you have Python 3.x installed.
git clone https://github.com/YogSec/YogSec-Search.git
cd YogSec-Search
pip install -r requirements.txt
Feature | Description |
---|---|
Search Automation | Automates search queries to Bing. |
Tracking URL Removal | Filters out tracking URLs from Bing (e.g., bing.com/ck/a). |
Duplicate Removal | Ensures unique URLs in the output. |
Custom Result Count | Fetches up to 200 search results with -i flag. |
Save Full Results | Saves titles with URLs using -s option. |
Save URLs Only | Saves URLs only using -su option. |
Help & Version Info | Displays help message and version details. |
python search.py "site:example.com"
python search.py -i 200 "site:example.com"
python search.py -s results.txt "site:example.com"
python search.py -su urls.txt "site:example.com"
python search.py -i 200 -s results.txt -su urls.txt "site:example.com"
The script allows user agent rotation for better evasion. You can edit the USER_AGENTS
list in search.py
to add more user agents.
requests
BeautifulSoup4
Install them with:
pip install requests beautifulsoup4
Current Version: 1.0
Licensed under the MIT License.
Developed by Abhinav Singwal | YogSec
Contact:
- Email: [email protected]
- LinkedIn: https://www.linkedin.com/in/abhinavsingwal/
YogSec Search is a specialized search tool that leverages Bing search results to simplify data gathering for researchers, developers, and cybersecurity professionals. It automates the retrieval of search results while filtering out irrelevant tracking URLs and eliminating duplicates. This tool aims to enhance productivity and precision when gathering online information.
Manual search engine queries are often inefficient and time-consuming, especially when gathering a large number of search results. Users may encounter:
- Irrelevant tracking URLs (e.g.,
bing.com/ck/a
). - Duplicated results.
- Limited control over the number of search results.
These issues hinder productivity, making it difficult to quickly obtain clean and reliable search data.
YogSec Search addresses these challenges by automating Bing search queries with the following capabilities:
- Scrapes search results directly from Bing.
- Removes tracking URLs and unwanted Bing-generated redirect links.
- Filters duplicate URLs from the output.
- Allows fetching up to 200 search results.
- Supports saving both titles with URLs and URLs only to files.
YogSec Search is useful for:
- Security Researchers: Collect target URLs for reconnaissance and vulnerability assessments.
- Bug Bounty Hunters: Streamline information gathering during bug bounty hunting.
- Developers: Automate search queries to gather research data.
- Investigative Journalists: Fetch clean search data without cluttered results.
- Digital Marketers: Collect competitor website information for market analysis.
- Time Efficiency: Automates search processes, eliminating manual result extraction.
- Clean Data: Provides clean URLs without Bing redirections.
- Customizability: Allows users to specify the number of results and customize output.
Ensure you have Python 3.x installed.
git clone https://github.com/YogSec/YogSec-Search.git
cd YogSec-Search
pip install bs4
Feature | Description |
---|---|
Search Automation | Automates search queries to Bing. |
Tracking URL Removal | Filters out tracking URLs from Bing (e.g., bing.com/ck/a ). |
Duplicate Removal | Ensures unique URLs in the output. |
Custom Result Count | Fetches up to 200 search results with -i flag. |
Save Full Results | Saves titles with URLs using -s option. |
Save URLs Only | Saves URLs only using -su option. |
Help & Version Info | Displays help message and version details. |
python search.py [OPTIONS] QUERY
Option | Description |
---|---|
-h |
Display help message. |
-v |
Show version information. |
-i [NUM] |
Number of search results (default: 100, max: 200). |
-s [FILENAME] |
Save title + URL output to a file. |
-su [FILENAME] |
Save only URLs to a file. |
python search.py "site:example.com"
python search.py -i 200 "site:example.com"
python search.py -s results.txt "site:example.com"
python search.py -su urls.txt "site:example.com"
python search.py -i 200 -s results.txt -su urls.txt "site:example.com"
The script allows user agent rotation for better evasion. You can edit the USER_AGENTS
list in search.py
to add more user agents.
requests
BeautifulSoup4
Install them with:
pip install requests bs4
Current Version: 1.0
Licensed under the MIT License.
Developed by Abhinav Singwal | YogSec
Contact:
- Email: [email protected]
- LinkedIn: https://www.linkedin.com/in/bug-bounty-hunter