Code Monkey home page Code Monkey logo

dbscanner's Introduction

DBScanner

自动扫描内网常见sql、no-sql数据库未授权访问漏洞及常规弱口令检测

  • mysql(扫描root账号弱口令)
  • mssql(扫描sa账号弱口令)
  • oracle(扫描system/sys/scott等账号弱口令)
  • postgresql(扫描postgres账号弱口令)
  • redis(扫描弱口令及未授权访问)
  • mongodb(扫描未授权访问)
  • memcached(扫描未授权访问)
  • elasticsearch(扫描未授权访问)
  • hadoop(扫描未授权访问)
  • zookeeper(扫描未授权访问)

参数

  -h, --help  显示帮助文件
  -i IP       扫描IP或IP段
  -f FILE     IP清单文件
  -t THREAD   线程数(默认50)

使用方法

该脚本使用Python2运行

  • 安装模块
pip install -r requirements.txt
sudo apt install zookeeper

或下载官方发布的压缩包文件,解压后使用,根据实际情况修改lib/exploit.py代码中客户端路径

压缩包文件同时提供对Linux和Windows的支持,Linux客户端文件zkCli.sh,Windows客户端文件zkCli.cmd 建议先测试zkCli是否能正常使用,否则引起漏报。

https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/current/

  • 执行扫描
python dbscan.py -f iplist.txt
or
python dbscan.py -i 192.168.1.0/24  

dbscanner's People

Contributors

shad0wpf avatar se55i0n avatar

Watchers

James Cloos avatar

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.