PHP代码静态分析引擎 exakat

安全 · systemofdown · 于 1年前 发布 · 760 次阅读

安装

方式一 , 手工安装

安装图数据库 GRAPH DATABASE

mkdir exakat
cd exakat
curl -o exakat.phar 'https://www.exakat.io/versions/index.php?file=latest'
curl -o apache-tinkerpop-gremlin-server-3.4.7-bin.zip 'https://www.exakat.io/versions/apache-tinkerpop-gremlin-server-3.4.7-bin.zip'
unzip apache-tinkerpop-gremlin-server-3.4.7-bin.zip
mv apache-tinkerpop-gremlin-server-3.4.7 tinkergraph
rm -rf apache-tinkerpop-gremlin-server-3.4.7-bin.zip

# Optional : install neo4j engine.
cd tinkergraph
./bin/gremlin-server.sh install org.apache.tinkerpop neo4j-gremlin 3.4.7
cd ..

php exakat.phar doctor

检测安装

// Check that Exakat.phar may be run

php exakat.phar version

// Review the installation, configuration and provide diagnostics

php exakat.phar doctor

方式二, Docker安装方式

Docker 安装方法

进行代码审计

这是一个测试项目,帮助我们确认都是好用的

php exakat.phar init -p sculpin -R https://github.com/sculpin/sculpin;

php exakat.phar project -p sculpin

检测之后,在浏览器中打开报告文件projects/sculpin/report/index.html

更多资料

共收到 0 条回复
没有找到数据。
添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册