Exploit database

GH-9a017fa45abc7e1f8f6ba6e1285cae54

iplayforsg/cve-2023-51444

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-51444

1 source

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

Repository files10

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

community/taskmanager/core/src/main/java/org/geoserver/taskmanager/schedule/BatchContext.java

Java · 1,042 bytes
/* (c) 2017-2018 Open Source Geospatial Foundation - all rights reserved
 * This code is licensed under the GPL 2.0 license, available at the root
 * application directory.
 */
package org.geoserver.taskmanager.schedule;

import org.geoserver.taskmanager.data.BatchRun;

/**
 * During run, tasks create temporary objects that are committed to real objects during the commit
 * phase (such as a table name) This maps real objects to temporary objects during a single batch
 * run. Tasks should save and look up temporary objects so that tasks within a batch can work
 * together.
 *
 * @author Niels Charlier
 */
public interface BatchContext {

    public static interface Dependency {
        public void revert() throws TaskException;
    }

    Object get(Object original);

    Object get(Object original, Dependency dependency);

    /** Whatever is put here in the task, must be removed in the commit! */
    void put(Object original, Object temp);

    void delete(Object original) throws TaskException;

    BatchRun getBatchRun();
}