Nacos <=2.4.0.1 任意文件读写删

在Nacos<=2.4.0.1版本中集群模式启动下存在名为naming_persistent_service的Group,该Group所使用的Processor为com.alibaba.nacos.naming.consistency.persistent.impl.PersistentServiceProcessor类型Processor,在进行处理过程中会触发其父类`onApply`或`onRequest`方法,这两个方法会分别造成任意文件写入删除和任意文件读取
  • 发表于 2024-08-28 10:19:06
  • 阅读 ( 4745 )
  • 分类:Web应用

1 条评论

FOFO
idea直接运行poc能成功执行。打包成jar后就报错。看错误是因为grpc没建立连接,而idea中运行的grpc状态为READY。 [main] INFO com.alipay.sofa.jraft.rpc.impl.GrpcClient - Creating new channel to: 192.168.1.144:7848. [main] INFO com.alipay.sofa.jraft.rpc.impl.GrpcClient - The channel 192.168.1.144:7848 is in state: CONNECTING. [grpc-nio-worker-ELG-1-2] INFO com.alipay.sofa.jraft.rpc.impl.GrpcClient - The channel 192.168.1.144:7848 is in state: TRANSIENT_FAILURE. [grpc-nio-worker-ELG-1-2] WARN com.alipay.sofa.jraft.rpc.impl.GrpcClient - There has been some transient failure on this channel 192.168.1.144:7848. [main] ERROR com.alipay.sofa.jraft.rpc.impl.AbstractClientService - Fail to connect 192.168.1.144:7848, remoting exception: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNKNOWN.
请先 登录 后评论
请先 登录 后评论
Stree
Stree

果农

5 篇文章