tabby安装与使用

tabby安装与使用

安装

环境如下:

​ windows10

​ wsl2+ubuntu(jdk17)

下载与编译

有现成的jar

https://github.com/wh1t3p1g/tabby-path-finder/releases

核心文件

https://github.com/wh1t3p1g/tabby/releases/

直接可以得到编译好的tabby.jar

https://neo4j.com/deployment-center/#enterprise

下载的是neo4j 5.26.3,因为文档是要5.x

开wsl安装sudo dpkg -i neo4j_5.26.3_all.deb

可能会出现一些依赖的报错,自行下载引擎等进行解决

我这边只遇到了cypher-shell的缺失,直接官网下载就行

https://neo4j.com/deployment-center/#tools-tab

安装好之后,启动neo4j

可以看到

此时是修改了配置之后的,可以更改一下/etc/neo4j下面的neo4j.conf

1
2
3
4
5
server.directories.import=import
dbms.connector.bolt.listen_address=0.0.0.0:7687
dbms.connector.http.listen_address=0.0.0.0:7474
dbms.connector.http.advertised_address=127.0.0.1:7474
dbms.security.procedures.unrestricted=jwt.security.*,apoc.*,tabby.*

更改上面的配置即可,然后启动neo4j服务确保可以访问(第一次需要修改密码)

根据readme下载编译即可(需要jar)

https://github.com/wh1t3p1g/tabby-vul-finder

完成上面的neo4j配置之后,更改config下面的db.propreties的password

然后进行编译得到tabby-vul-finder.jar,然后去

https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases

https://github.com/neo4j/apoc/releases

下载相关的插件

然后将插件以及tabby-vul-finder.jar全部放到/var/lib/neo4j/plugins下面,然后重启neo4j

访问运行CALL tabby.help(‘tabby’)和CALL apoc.help(‘all’)可以正常即可

以上就是tabby的安装过程

使用

根据官方文档,将jar作为项目进行处理