1 Star 0 Fork 2

eidison / Yscan

forked from Exp1ore / Yscan 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Zlib

Yscan

介绍

在红蓝对抗中,信息收集是必不可少的环节,这么才可以从大量的资产中提取有用的系统,这个工具适用于以HW行动/红队/渗透测试团队为场景的信息收集扫描工具。可以帮助渗透测试工程师、攻击队成员、红队成员快速收集到资产信息并提供基本的信息输出

功能介绍:

支持获取IP
支持Whois查询
支持备案信息查询
支持CMS指纹识别
支持获取相同ICON网站
支持CDN判断
支持C段查询及端口检测
支持敏感信息探测
支持子域名查询
支持WAF检测
支持爬取JavaScript提取URL及子域名
支持各端口系统服务识别
支持目录扫描
支持相关网站Github信息泄露收集
支持收集域名邮箱及判断存活
支持丰富的输出报告(txt\html\pdf\word)
支持可配置检测模块 (比如只检测子域名信息、敏感信息等)
未完待续

程序截图

输入图片说明

环境说明

Python3运行环境

程序结构

.  
├── YScan.py  #主程序  
├── common.py    
├── config.py  #配置信息  
├── dict  
│   ├── GeoLite2-ASN.mmdb  
│   ├── dict.txt  
│   ├── rules.txt  
├── requirements.txt  
├── result  #结果保存  
│   └── test.txt  
└── utils  
    ├── Cduan.py  #C段查询  
    ├── Fofa.py  #ICON_HASH查询
    ├── Whois.py  #Whois查询  
    ├── GetIp.py  #获取IP  
    ├── JS.py  #爬取JS提取URL子域名  
    ├── beian.py  #ICP查询  
    ├── leakinfo.py #敏感信息探测  
    ├── Checkwaf.py  #waf检测
    ├── brutedomain.py  #子域名爆破  
    ├── cesuyun.py  #子域名接口1  
    ├── cms.py  #CMS识别  
    ├── crt.py  #子域名接口2  
    ├── hackertarget.py  #子域名接口3  
    ├── ip138.py  #子域名接口4  
    ├── iscdn.py  #判断CDN  
    ├── virusTotal.py  #子域名接口5  
    └── yumingco.py  #子域名接口6  

使用说明

  1. 下载
git clone https://gitee.com/exp1ore/yscan.git
  1. 安装依赖库
cd yscan
pip install -r requirements.txt

3.配置
#1 如果要进行C段扫描
①需安装Goby并打开
下载地址:https://gobies.org/#dl
输入图片说明 ②安装goby模块

git clone https://github.com/Becivells/goby-api.git
cd goby-api
python setup.py install

#2 如果要进行ICON_HASH查询 需配置fofa api且为fofa高级会员
https://gitee.com/exp1ore/yscan/blob/master/utils/Fofa.py(#15 #16)

为方便演示,暂时可以使用

4.运行

对单目标进行信息收集

python3 Yscan.py -u baidu.com -t 100

对多目标进行信息收集

python3 Yscan.py -f url.txt -t 100

参考

https://github.com/shmilylty/OneForAll

https://github.com/Threezh1/JSFinder

https://github.com/al0ne/Vxscan

https://github.com/Becivells/goby-api

https://websec.readthedocs.io/zh/latest/index.html

https://github.com/dyboy2017/TScan

zlib License (C) 2021 Exp1ore This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.

简介

一款适用于以HW行动/红队/渗透测试团队为场景的信息收集扫描工具。可以帮助渗透测试工程师、攻击队成员、红队成员快速收集到资产信息并提供基本的信息输出 展开 收起
Zlib
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/eidison/yscan.git
git@gitee.com:eidison/yscan.git
eidison
yscan
Yscan
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891