# cobra **Repository Path**: ilovecode2018/cobra ## Basic Information - **Project Name**: cobra - **Description**: 源代码审计 Installation(安装) 系统支持 系统 支持情况 mac OS 支持 Linux 支持 Windows 暂不支持 Python版本 Cobra可运行在以下Python版本 2.6 2.7 3.3 3.4 3.5 3.6 3.6+ 特殊依赖 以下系统需要单独安装依赖。 macOS系统依赖 brew install grep findutils flex phantomjs Ubuntu系统依赖 apt-get install flex bison phantomjs CentOS系统依赖 yum install flex bison phantomjs 安装方法 git clone https://github.com/WhaleShark-Team/cobra.git && cd cobra pip install -r requirements.txt python cobra.py --help Examples(使用例子) # 扫描一个文件夹的代码 $ python cobra.py -t tests/vulnerabilities # 扫描一个Git - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-09-26 - **Last Updated**: 2022-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Cobra [![Build Status](https://travis-ci.org/WhaleShark-Team/cobra.svg?branch=master)](https://travis-ci.org/WhaleShark-Team/cobra) [![Coverage Status](https://coveralls.io/repos/github/WhaleShark-Team/cobra/badge.svg?branch=master)](https://coveralls.io/github/WhaleShark-Team/cobra?branch=master) [![GitHub (pre-)release](https://img.shields.io/github/release/WhaleShark-Team/cobra/all.svg)](https://github.com/WhaleShark-Team/cobra/releases) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/WhaleShark-Team/cobra/blob/master/LICENSE) [![asciicast](https://raw.githubusercontent.com/WhaleShark-Team/cobra/master/docs/report_03.jpg)](https://asciinema.org/a/132572) ## Introduction(介绍) Cobra是一款**源代码安全审计**工具,支持检测多种开发语言源代码中的**大部分显著**的安全问题和漏洞。 ## Features(特点) #### Multi-language Supported(支持多种开发语言) > 支持PHP、Java等开发语言,并支持数十种类型文件。 #### Multi-Vulnerabilities Supported(支持多种漏洞类型) > 首批开放数万条不安全的依赖检查规则和数十条代码安全扫描规则,后续将持续开放更多扫描规则。 #### GUI/CLI/API Mode(命令行模式和API模式) > 提供本地Web Server服务,可使用GUI可视化操作,也可支持本地API接口,方便和其它系统(发布系统、CI等)对接扩展。 ## Screenshot(截图) [![report01](https://raw.githubusercontent.com/whaleshark-team/cobra/master/docs/report_01.jpg)](https://whaleshark-team.github.io/cobra/api) [![report02](https://raw.githubusercontent.com/whaleshark-team/cobra/master/docs/report_02.jpg)](https://whaleshark-team.github.io/cobra/api) ## Contributors(贡献者) 项目由[Feei](https://github.com/FeeiCN)发起并主导,核心开发者[LiGhT1EsS](https://github.com/LiGhT1EsS)、[BlBana](https://github.com/BlBana)、[40huo](https://github.com/40huo)、[braveghz](https://github.com/braveghz),也感谢其他[贡献者](https://github.com/WhaleShark-Team/cobra/graphs/contributors),欢迎提交PR。 ## Links(链接) - [Cobra文档](https://whaleshark-team.github.io/cobra/)