Exploit database

GH-14fb583d3d1bd2da10251bb1a37b93d6

gitchw/ghostlock-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

165 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files8

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

workspace/decomp/HeyRomUpdate/sources/org/apache/commons/compress/compressors/pack200/TempFileCachingStreamBridge.java

Java · 1,874 bytes
package org.apache.commons.compress.compressors.pack200;

import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.OpenOption;
import java.nio.file.Path;
import java.nio.file.attribute.FileAttribute;

/* loaded from: classes.dex */
final class TempFileCachingStreamBridge extends AbstractStreamBridge {
    private final Path path;

    /* JADX INFO: Access modifiers changed from: package-private */
    public TempFileCachingStreamBridge() throws IOException {
        Path createTempFile = Files.createTempFile("commons-compress", "packtemp", new FileAttribute[0]);
        this.path = createTempFile;
        createTempFile.toFile().deleteOnExit();
        this.out = Files.newOutputStream(this.path, new OpenOption[0]);
    }

    @Override // org.apache.commons.compress.compressors.pack200.AbstractStreamBridge
    InputStream createInputStream() throws IOException {
        this.out.close();
        return new FilterInputStream(Files.newInputStream(this.path, new OpenOption[0])) { // from class: org.apache.commons.compress.compressors.pack200.TempFileCachingStreamBridge.1
            @Override // java.io.FilterInputStream, java.io.InputStream, java.io.Closeable, java.lang.AutoCloseable
            public void close() throws IOException {
                try {
                    super.close();
                    try {
                        Files.deleteIfExists(TempFileCachingStreamBridge.this.path);
                    } catch (IOException e) {
                    }
                } catch (Throwable th) {
                    try {
                        Files.deleteIfExists(TempFileCachingStreamBridge.this.path);
                    } catch (IOException e2) {
                    }
                    throw th;
                }
            }
        };
    }
}