Giter VIP home page Giter VIP logo

searchmap's Introduction

SearchMap_V1.0.2

searchmap是一款集域名解析、IP反查域名、WHOIS查询、CDN检测、端口扫描、目录扫描、子域名挖掘为一体的前渗透测试综合信息收集工具。 image 一.安装说明

1.工具使用python3开发,请确保您的电脑上已经安装了python3环境。

2.工具的端口扫描功能调用了nmap接口,请确保您的电脑已安装nmap。

3.首次使用请使用 python3 -m pip install -r requirements.txt 命令,来安装必要的外部依赖包。

4.本机未安装pip工具的请使用如下命令来进行安装:

$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py   # 下载安装脚本
$ sudo python get-pip.py    # 运行安装脚本。
注意:用哪个版本的 Python 运行安装脚本,pip 就被关联到哪个版本,如果是 Python3 则执行以下命令:
$ sudo python3 get-pip.py    # 运行安装脚本。
一般情况 pip 对应的是 Python 2.7,pip3 对应的是 Python 3.x。
部分 Linux 发行版可直接用包管理器安装 pip,如 Debian 和 Ubuntu:
sudo apt-get install python-pip

二.使用方法

1.-u 获取网站基本信息

$ python3 searchmap.py -u  https://www.baidu.com

image

$ python3 searchmap.py -u  106.53.143.192

image

2.-p 使用nmap进行隐式端口扫描

$ python3 searchmap.py -u  https://www.baidu.com -p

image

3.-r 批量扫描网站基本信息

$ python3 searchmap.py -r myurl.txt  

image

4.-n 使用多地ping来判断目标是否使用cdn加速

$ python3 searchmap.py -u  https://www.baidu.com -n

image

5.-d 对网站目录进行多进程扫描探测,能够自动识别伪响应页面

PS:程序使用的默认字典为dict/fuzz.txt,用户可自行替换字典内容进行FUZZ。

$ python3 searchmap.py -u  https://www.baidu.com  -d

image

6.-s 对输入域名的进行子域名爆破

PS:程序使用的默认字典为dict/subdomain.txt,用户可自行替换字典内容进行FUZZ。

$ python3 searchmap.py -u  https://www.baidu.com  -s

image

7.-a 对目标域名进行全功能扫描

$ python3 searchmap.py -u  https://www.baidu.com  -a

8.-o 将扫描内容保存为日志

$ python3 searchmap.py -u  https://www.baidu.com  -o myscan.log

9.组合用法

$ python3 searchmap.py -u  https://www.baidu.com -p -n -d -s

$ python3 searchmap.py -r  myurl.txt -p -n -d -s

PS:安全小白一枚,第一次写工具有很多BUG,欢迎大家提交Issues.


本工具仅提供给安全测试人员进行安全自查使用 用户滥用造成的一切后果与作者无关 使用者请务必遵守当地法律 本程序不得用于商业用途,仅限学习交流


扫码加入知识星球

image

扫描关注战队公众号,获取最新动态

image

【知识星球】福利大放送

image

Version1.0.2_UpdateLog

1.优化工具对IP地址的支持

2.新增IP地址反查域名功能

3.修复cms检测Bug

4.修复whois查询报错问题


Version1.0.1_UpdateLog

1.新增加日志功能,可以自定义是否输出系统日志

searchmap's People

Contributors

asaotomo avatar semgrep-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

searchmap's Issues

在没有IPV6地址的主机上启用ipv6端口扫描会直接退出端口扫描

在没有IPV6地址的主机上启用ipv6端口扫描会导致直接退出整个端口扫描。
image
建议添加手动开关,或者自动判断是否需要对IPV6地址进行扫描的逻辑。
目前我不需要对IPV6地址进行扫描,我是这样更改的(临时解决方案):

             ......
line 32     :    for ip in ip_list:
line 33 +++ :        if ip.count(".") == 3:
line 34     :            arguments = '-sS -T5 -Pn'
             ......

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.