Exploit database

GH-363954f7470c0baf277ea90d3a71b9fe

scabench/jsonorg-fn1

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-45688

2 sources

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

Repository files22
scabench/jsonorg-fn1Revision 8f8d6314c2ab

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

src/main/java/shaded/org/json/JSONException.java

Java · 1,191 bytes
package shaded.org.json;

/*
Public Domain.
 */

/**
 * The JSONException is thrown by the JSON.org classes when things are amiss.
 *
 * @author JSON.org
 * @version 2015-12-09
 */
public class JSONException extends RuntimeException {
    /** Serialization ID */
    private static final long serialVersionUID = 0;

    /**
     * Constructs a JSONException with an explanatory message.
     *
     * @param message
     *            Detail about the reason for the exception.
     */
    public JSONException(final String message) {
        super(message);
    }

    /**
     * Constructs a JSONException with an explanatory message and cause.
     * 
     * @param message
     *            Detail about the reason for the exception.
     * @param cause
     *            The cause.
     */
    public JSONException(final String message, final Throwable cause) {
        super(message, cause);
    }

    /**
     * Constructs a new JSONException with the specified cause.
     * 
     * @param cause
     *            The cause.
     */
    public JSONException(final Throwable cause) {
        super(cause.getMessage(), cause);
    }

}