当前位置:网站首页>joern运行后.joernindex数据库无内容
joern运行后.joernindex数据库无内容
2022-07-28 05:29:00 【ithicker】
问题描述:
配置joern和neo4j的过程全部完成后,具体过程见文章。但是当我导入数据之后,产生了.joernindex文件,该文件产生的位置和你当前所在文件夹,具体位置可以在joern-0.3.1文件夹下的joern-conf修改,我每次导入数据都可以生成该文件,但是我是用命令neo4j console访问服务的时候(如果云服务器访问详见文章),发现joernindex文件的数据当中是空的没有任何节点,说明我数据并没有导入,这个问题困住了我一天,我以为是java版本的问题,换了好多次就java版本并反复使用ant重构,但是之前ant是成功的,不知道到底是哪的问题
问题破绽:
但是通过多次运行,我发现使用joern导出的时候产生.joernindex,同时使用用命令neo4j console访问服务的时候会产生一个文件夹.Joernindex,有大小写J的区别,通过发现,我joern解析的数据放在joern0.3.1下的.joernindex文件夹,而neo4j得数据来源设置的是joern0.3.1下的.Joernindex文件夹,但是没有这个文件夹,所以它自己重建立了一个,他真不如告诉我no dictionary or file
问题解决
所以我们一定要保证joern分析存入的数据库文件和Neo4j读入的数据库文件保证一致,否则就会产生这种低级错误,也可能是因为刚接触安装joern和neo4j所以只是看教程无脑安装没有考虑。我们可以修改joern-conf或neo4j文件下的conf文件夹中的neo4j-server.properties文件,保证两者名字保证一致即可。

边栏推荐
- DHCP原理与配置
- Shell script - "three swordsmen" awk command
- NFS shared storage service
- Results fill in the blanks carelessly (violent solution)
- JSON notes
- Test life | second tier cities with an annual salary of more than 40W? How did you achieve 100% salary increase under the epidemic?
- 小甲鱼C(第五章循环控制结构程序567)break和continue语句
- DNS domain name resolution
- Si Han talks about the professional development of testers
- Hdu-5783 divide the sequence (greedy water question)
猜你喜欢

LNMP搭建过程详解

DNS域名解析服务

Technology sharing | do you know the functions of the server interface automated testing and requests library?

Technology sharing | detailed explanation of actual combat interface test request methods get, post

Applet custom components - data, methods, and properties

VLAN的配置

Archery database audit platform deployment

Wechat applet custom compilation mode

DHCP service

FTP service
随机推荐
Joern的代码使用-devign
Result fill in the blank (dfs*c language)
Ubuntu18.04+centos7 configure redis master-slave [learning notes]
Applet navigator cannot jump (debug)
Technology sharing | detailed explanation of actual combat interface test request methods get, post
FTP service
DNS域名解析服务
SSH service configuration
Technology sharing | how to simulate real use scenarios? Mock technology to help you
Network - transport layer (detailed version)
Technology sharing | do you know the functions of the server interface automated testing and requests library?
Technology sharing | send requests using postman
shell脚本——“三剑客”之awk命令
Life cycle (process) of software testing
VLAN的配置
Three cache technologies -- localstorage, sessionstorage, cookies
Clock tree analysis example
Monotonic queue, Luogu p1886 sliding window
Applet custom components - data, methods, and properties
[learning notes] drive