Giter Site home page Giter Site logo

scanwebshell's Introduction

介绍

ScanWebShell 为基于机器学习的PHP-WebShell扫描工具,该版本为web服务形式。支持多用户独立使用和利用celery来配合扫描任务。

  • indeximage-20210421173150850

  • job/countimage-20210421180506546

Usage

  • 下载
git clone https://github.com/fe1w0/ScanWebShell.git
cd ScanWebShell
cp ScanWebShell/settings.example.py  ScanWebShell/settings.py 

出于安全角度,SECRET_KEY参数强烈建议修改,修改方法如下:

#进入Django shell
#python3 manage.py shell
#加载utils模块
from django.core.management import utils
#生成密钥
utils.get_random_secret_key()

邮箱(用于注册和重置密码功能)还需要在settings.py中配置如下参数:

image-20210421180717445

python3 -m pip install -r requirements.txt
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py collectstatic
python3 manage.py createsuperuser

celery中设置workerredis,需要

docker pull redis:latest
docker run --name=redis -d -p 6379:6379 redis
  • celery启动
celery -A ScanWebShell worker -l info # 可以配合tmux或后台运行工具
  • runserver
python3 manage.py runserver 0.0.0.0:8000

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.