{"id":13843407,"url":"https://github.com/j3ers3/Searpy","last_synced_at":"2025-07-11T19:31:22.430Z","repository":{"id":46041154,"uuid":"129848512","full_name":"j3ers3/Searpy","owner":"j3ers3","description":"🥀 Search Engine Tookit，URL采集、Favicon哈希值查找真实IP、子域名查找","archived":false,"fork":false,"pushed_at":"2023-05-17T09:59:18.000Z","size":1461,"stargazers_count":206,"open_issues_count":1,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-13T16:59:03.892Z","etag":null,"topics":["fofa","google","pentest","shodan","zoomeye"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/j3ers3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-17T05:00:47.000Z","updated_at":"2024-10-22T00:00:35.000Z","dependencies_parsed_at":"2022-08-12T12:40:26.414Z","dependency_job_id":null,"html_url":"https://github.com/j3ers3/Searpy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3ers3%2FSearpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3ers3%2FSearpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3ers3%2FSearpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3ers3%2FSearpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j3ers3","download_url":"https://codeload.github.com/j3ers3/Searpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225754970,"owners_count":17519180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fofa","google","pentest","shodan","zoomeye"],"created_at":"2024-08-04T17:02:07.132Z","updated_at":"2024-11-21T15:30:54.498Z","avatar_url":"https://github.com/j3ers3.png","language":"Python","funding_links":[],"categories":["Python Search Automation Tools","Python (1887)","Python"],"sub_categories":[],"readme":"# 🥀 Searpy ![Stage](https://img.shields.io/badge/Release-STABLE-brightgreen.svg) [![Python 2.7](https://img.shields.io/badge/Python-2.7-yellow.svg)](http://www.python.org/download/) [![Python 3.7](https://img.shields.io/badge/Python-3.7-yellow.svg)](http://www.python.org/download/) ![Build Status](https://img.shields.io/badge/Version-2.3-red.svg)\r\n\r\n🔧 批量搜索工具，可用于采集和溯源\r\n\r\n\u003e 支持py2和py3\r\n\r\n![](media/16576896459839.jpg)\r\n\r\n\r\n\r\n## 1. Install\r\n```\r\ngit clone https://github.com/j3ers3/Searpy\r\npip install -r requirements.txt\r\n\r\n配置API及账号 ./config.py\r\n\r\npython Searpy -h\r\n```\r\n\r\n\r\n## 2. Help\r\n```\r\nSearpy Engine Tookit\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n\r\nENGINE:\r\n  --baidu               Using baidu Engine\r\n  --google              Using google Engine\r\n  --so                  Using 360so Engine\r\n  --bing                Using bing Engine\r\n  --shodan              Using shodan Engine\r\n  --fofa                Using fofa Engine\r\n  --zoomeye             Using zoomeye Engine\r\n  --goo                 Using goo Engine\r\n  --yahoo               Using yahoo Engine\r\n  --quake               Using quake Engine\r\n  --hunter              Using hunter Engine\r\n\r\nSCRIPT:\r\n  --shodan_icon SHODAN_ICON\r\n                        Get ip list which using the same favicon.ico\r\n  --fofa_icon FOFA_ICON\r\n                        Get ip list which using the same favicon.ico\r\n\r\nMISC:\r\n  -s SEARCH             Speciy Keyword\r\n  -o OUTPUT             Specify output file default output.txt\r\n  -p PAGE               Search page (default 1)\r\n  -l LIMIT              Maximum searching results (default:10) Only Shodan\r\n  --proxy PROXY         HTTP Proxy, eg http://127.0.0.1:8080\r\n```\r\n\r\n### 2.1 示例\r\n```\r\npython3 Searpy.py --fofa -s \"app=jboss\" -p10\r\npython3 Searpy.py --shodan -s \"weblogic\" -l10 \r\npython3 Searpy.py --quake -s 'domain=\"baidu.com\"'\r\npython3 Searpy.py --hunter -s 'domain=\"baidu.com\"'\r\n\r\npython3 Searpy.py --bing -s 'site:baidu.com'\r\npython3 Searpy.py --google -s \"inurl:login.action\" -p1 --proxy http://127.0.0.1:1080\r\n\r\n```\r\n\r\n![-w762](media/16001347790190.jpg)\r\n\r\n\r\n###  2.2 其他功能\r\n利用favicon.icon图标hash来寻找使用相同图标的网站，可用于溯源真实IP和资产发现\r\n\r\n```\r\npython3 Searpy.py --shodan_icon https://www.qq.com\r\npython3 Searpy.py --fofa_icon https://www.qq.com\r\n```\r\n\r\n![截屏2020-09-15 09.44.36](media/%E6%88%AA%E5%B1%8F2020-09-15%2009.44.36.png)\r\n\r\n\r\n## 3. 模块调用\r\n```python\r\n\u003e\u003e\u003e from Searpy import Bing\r\n\u003e\u003e\u003e s = Bing('inurl:php?id=1', 2)\r\n\u003e\u003e\u003e s.search()\r\n\u003e\u003e\u003e for i in s.result:\r\n\u003e\u003e\u003e     print(i)\r\n```\r\n\r\n## 4. 支持搜索引擎\r\n- [x] Shodan\r\n- [x] Fofa\r\n- [x] Zoomeye\r\n- [ ] Censys\r\n- [ ] Dnsdb\r\n- [x] Google\r\n- [x] Baidu\r\n- [x] Bing\r\n- [x] 360so\r\n- [x] Goo\r\n- [x] Yahoo\r\n- [x] Quake\r\n- [x] Hunter\r\n\r\n## 5. ToDo\r\n- [ ] 添加子域名搜索\r\n\r\n## 6. ChangeLog\r\n#### v2.3 \r\n- fix some bugs\r\n- add fofa_icon module\r\n\r\n#### v2.2 \r\n- fix some bugs\r\n\r\n## 7. Donations\r\n* XMR: `498AoZRwfC11Fa4LwAyVVp3wRD4Zyf1e1HziegczeWeSYVVTZ8gw8CoNPm5yhY91tkDqDMBg6A5KUfyowMtdkQDrDxE5aVN`\r\n* BTC: `1ALWC7rGL4dHgbyy4R8uTVHmDugPDD7Rvt`\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3ers3%2FSearpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj3ers3%2FSearpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3ers3%2FSearpy/lists"}