menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right 002-内网渗透 chevron_right 002-DBscanner.md
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    002-DBscanner.md
    938 B / 2021-07-17 00:01:38
        ## 工具说明
    
    自动扫描内网常见sql、no-sql数据库脚本(mysql、mssql、oracle、postgresql、redis、mongodb、memcached、elasticsearch),包含未授权访问及常规弱口令检测
    
    #### 安装过程
    
    ```
    运行于python2的环境下
    
    pip install IPy
    
    pip install gevent
    
    pip install mysql-python
    
    /*如果遇到 WARNING: You are using pip version 19.2.3, however version 19.3 is available
    
    python -m pip install -U pip
    
    下载  https://stackoverflow.com/questions/21440230/install-mysql-python-windows
    
    然后,运行pip install mysqlclient;如果报错的话请运行pip install mysqlclient==1.3.4 安装低版本的mysqlclient
    
    */
    
    pip install cx_Oracle
    
    pip install pymongo
    
    pip install psycopg2
    
    ```
    
    ![](images/15897831369988.png)
    
    
    ##### 注:
    
    扫描整个c段的时候ip地址末尾一定要写0,否则会报错
    
    python dbscan.py 192.168.50.0/24
    
    ##### Github:
    
    https://github.com/ianxtianxt/DBScanner/
    
    
    
    links
    file_download