Giter Site home page Giter Site logo

dl_for_xss's Introduction

Detection XSS with Deep Learning

 Blog:http://www.webber.tech/posts/使用深度学习检测XSS/

 后续:http://www.webber.tech/posts/使用深度学习检测XSS(续)/

  • 环境

tensorflow

keras

  • 说明
  1. data目录下是使用的数据,包括一个从xssed.com爬取的payload和一个正样本payload。
  2. file目录保存训练好的词向量、预处理的数据、训练好的模型等。
  3. log目录保存训练日志,可用tensorborad可视化。
  • RUN
  1. 运行 word2vec_ginsim.py训练嵌入式词向量
  2. 运行processing.py预处理数据,生成训练数据和测试数据。
  3. MLP.py、LSTM.py、Conv.py分别使用多层感知机、长短时记忆、卷积神经网络训练模型,在测试集上准确率和召回率。

dl_for_xss's People

Watchers

 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.