Code Monkey home page Code Monkey logo

malicious_samples-features-identification's Introduction

malicious_samples-features-identification

运行方式:

  1. 原Npm包统一放node_modules目录
  2. split_Identifier_string.py将原包中的identifier和string分离,存进separate目录的同名包下文件
  3. GL4.py将separate目录指定包下文件做GL映射,并存进temp/separate/目录
  4. feature.py对temp/separate/目录下文件做数据统计

当前进度:

1. string相关的一切,数据能看但都对不上,无法确认作者思路,万博意思就先这样。
2. identifier的同质串,香农熵等全部匹配;只有异质串数量无法匹配,但已经找不到异质串的其他任何解释或识别方式。
3. 其余简单数据全部匹配。

TODO

1. 批量下载良性Npm包,良/恶性比例在9:1左右。
2. feature.py下每个功能为便于调试,独立做了递归扫描,可以整合成新的文件,两遍扫描解决所有数据。
3. 对于split_Identifier_string.py,GL4.py,feature.py中的源/目标路径,循环处理所有包时用包名进行字符串拼接。

malicious_samples-features-identification's People

Contributors

calvvnono avatar triwoods2333 avatar

Stargazers

 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.