Exploit databaseDownload repository ZIP
GH-7afd66ed71abc69149a8c2875ad6b590
bmth666/geoserver-tools-cve-2024-36401
Sources for CVE-2024-36401
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
bmth666/geoserver-tools-cve-2024-36401Revision aca38fd4f69a
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
GeoServer-Tools/src/main/java/com/bmth/Main.java
Java · 970 bytespackage com.bmth;
import com.formdev.flatlaf.FlatLightLaf;
import javax.swing.*;
import java.awt.*;
public class Main {
public static void main(String[] args) {
FlatLightLaf.install();
// 创建窗口
JFrame frame = new JFrame("SwingMain");
// 获取屏幕尺寸
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
int screenWidth = screenSize.width;
int screenHeight = screenSize.height;
// 设置窗口大小为屏幕的 60%
int windowWidth = (int) (screenWidth * 0.6);
int windowHeight = (int) (screenHeight * 0.6);
frame.setSize(windowWidth, windowHeight);
// 设置窗口居中
frame.setLocationRelativeTo(null);
frame.setTitle("CVE-2024-36401 GeoServer利用工具v1.0");
frame.setContentPane(new SwingMain().gogo);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
}