Exploit databaseDownload repository ZIP
GH-dc3f5439d63cea4a464bf4dfaefefa43
disnaming/cve-2022-34169
Sources for CVE-2022-34169
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files3
disnaming/cve-2022-34169Revision 475e24f05d43
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
exploit/xalancve/src/main/java/proto/xalancve/Main.java
Java · 606 bytespackage proto.xalancve;
import org.apache.xalan.xslt.Process;
public class Main {
public static void main(String[] args) {
try {
if (args.length != 2) {
System.out.println("Usage: java -jar xalancve.jar <source> <xslt>");
System.exit(1);
}
String source = args[0];
String xsltFile = args[1];
Process.main(new String[] { "-XSLTC", "-IN", source, "-XSL", xsltFile, "-SECURE", "-XX", "-XT" });
} catch (Exception e) {
System.out.println("Error: " + e.getMessage());
}
}
}