Giter Site home page Giter Site logo

pocscan's Introduction

POCSCAN

Pocscan是一款开源 Poc 调用框架,可轻松调用Pocsuite,Tangscan,Beebeeto,Knowsec老版本POC 按照官方规范编写的 Poc对目标域名进行扫描,通过 Docker 一键部署,麻麻再也不怕搭建麻烦了 。

哦,对了,Pocscan提供了chrome浏览器插件,插件会自动抓取网页上的host丢去扫描。ε=ε=(ノ≧∇≦)ノ

架构是参考 https://github.com/netxfly/passive_scan

Pocscan 只是扫描框架,不提供Poc!!!
Pocscan 只是扫描框架,不提供Poc!!!
Pocscan 只是扫描框架,不提供Poc!!!

Screenshots

前台

后台

Installation

  1. 安装Docker, 然后下载镜像

     $ curl -sSL https://get.daocloud.io/docker | sh 
     $ sudo systemctl start docker
     $ sudo docker pull daocloud.io/aber/pocscan:1.0 
    
  2. 启动MySql,并建立数据库Pocscan.并设置成允许外连,不然Docker是连不上数据库的,设置方法自行百度.

     CREATE DATABASE `pocscan` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;
    
  3. 找到代码目录下的/pocsanui/settings.py

     DATABASES = {
         'default': {
             'ENGINE': 'django.db.backends.mysql', 
             'NAME': 'pocscan',  	# 数据库名
             'USER': 'root',      	# 数据库用户名
             'PASSWORD': '123456',	# 数据库密码
             'HOST': '192.168.1.1', 	# 宿(数)主(据)机(库)ip, 不要写127.0.0.1
             'PORT': '3306',
         }
     }
    
  4. 把源码 clone 到本地,运行 docker 容器,把源码挂载到容器里

     docker run -d -v /tmp/pocscan/:/www -p 8090:8000 ubuntu/pocscan:latest
     
     /*
     -v /tmp/pocscan/:/www 是将宿主机的/tmp/pocscan中的代码挂载到容器的/www目录中运行
     -p 8090:8000 是将容器的8000端口映射到宿主机的8090端口
     以上参数根据实际情况自行配置
     */
    
  5. 把poc文件按找分类放到 /pocscan/pocs/ 下的文件夹

  6. 访问一下 http://127.0.0.1:8090/login.出现登录界面就是搭建成功了。帐号是root,密码是password.

  7. 安装chrome插件,设置好API地址

     http://192.168.1.2:8081/scan/     #注意scan后面要用"/",注意scan后面要用"/",注意scan后面要用"/"。重要的事情说三次
    

TO DO

  1. 集群化部署
  2. 集成 sqlmapapi

FAQ

Q: 搭建为啥扫不出漏洞啊?(゚Д゚≡゚д゚)!?

A: Pocscan 只是提供一个框架,不提供 Poc (其实还是提供了demo poc的), 扫不出洞说明你的 Poc 不够多不够牛逼。

问题反馈 当程序出现日天的bug,或者你有更好的建议想法时,请联系我们

author : erevus-cn, tlskbz

pocscan's People

Contributors

lordlezehaf avatar erevus-cn avatar

Watchers

James Cloos avatar  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.