Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
166 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files31
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
- ↑..Parent directory
- ArchiveUtils.java
- BitInputStream.java
- BoundedArchiveInputStream.java
- BoundedInputStream.java
- BoundedSeekableByteChannelInputStream.java
- ByteUtils.java
- CRC32VerifyingInputStream.java
- CharsetNames.java
- Charsets.java
- ChecksumCalculatingInputStream.java
- ChecksumVerifyingInputStream.java
- CloseShieldFilterInputStream.java
- CountingInputStream.java
- CountingOutputStream.java
- ExactMath.java
- FileNameUtils.java
- FixedLengthBlockOutputStream.java
- FlushShieldFilterOutputStream.java
- IOUtils.java
- InputStreamStatistics.java
- Iterators.java
- Lists.java
- MultiReadOnlySeekableByteChannel.java
- OsgiUtils.java
- ParsingUtils.java
- SeekableInMemoryByteChannel.java
- ServiceLoaderIterator.java
- Sets.java
- SkipShieldingInputStream.java
- TimeUtils.java
- package-info.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
workspace/decomp/HeyRomUpdate/sources/org/apache/commons/compress/utils/ChecksumVerifyingInputStream.java
Java · 1,602 bytespackage org.apache.commons.compress.utils;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.CheckedInputStream;
import java.util.zip.Checksum;
/* loaded from: classes.dex */
public class ChecksumVerifyingInputStream extends CheckedInputStream {
private final long expected;
private long remaining;
public ChecksumVerifyingInputStream(Checksum checksum, InputStream in, long size, long expectedChecksum) {
super(in, checksum);
this.expected = expectedChecksum;
this.remaining = size;
}
public long getBytesRemaining() {
return this.remaining;
}
@Override // java.util.zip.CheckedInputStream, java.io.FilterInputStream, java.io.InputStream
public int read() throws IOException {
if (this.remaining <= 0) {
return -1;
}
int data = super.read();
if (data >= 0) {
this.remaining--;
}
verify();
return data;
}
@Override // java.util.zip.CheckedInputStream, java.io.FilterInputStream, java.io.InputStream
public int read(byte[] b, int off, int len) throws IOException {
if (len == 0) {
return 0;
}
int readCount = super.read(b, off, len);
if (readCount >= 0) {
this.remaining -= readCount;
}
verify();
return readCount;
}
private void verify() throws IOException {
if (this.remaining <= 0 && this.expected != getChecksum().getValue()) {
throw new IOException("Checksum verification failed");
}
}
}