MCRcortex / nekodetector

Nekoclient infection detector
MIT License
566 stars 40 forks source link

sha-256 digest error scanning oreexcavation #38

Open D3SL opened 1 year ago

D3SL commented 1 year ago

Ran on my mods directory in multiMC and got this:

java.lang.SecurityException: SHA-256 digest error for oreexcavation/utils/JsonHelper.class
        at java.base/sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:256)
        at java.base/java.util.jar.JarVerifier.processEntry(JarVerifier.java:252)
        at java.base/java.util.jar.JarVerifier.update(JarVerifier.java:239)
        at java.base/java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:486)
        at me.cortex.jarscanner.Detector.getByteArray(Detector.java:67)
        at me.cortex.jarscanner.Detector.lambda$scan$1(Detector.java:28)
        at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
        at java.base/java.util.zip.ZipFile$EntrySpliterator.tryAdvance(ZipFile.java:558)
        at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
        at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
        at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:632)
        at me.cortex.jarscanner.Detector.scan(Detector.java:26)
        at me.cortex.jarscanner.Main$1.lambda$visitFile$0(Main.java:77)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
Failed to scan: .\OreExcavation-1.11.166.jar