Exploit database

GH-3c959ef633c7b96e7b077f536ef39d00

0x7fancy/0x7fancy.github.io

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2024-3094

52 sources

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

Repository files3

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

papers/Golang-GC机制引起的内存占用/memorycheck.go

Go · 520 bytes
package main

import (
    "fmt"
    "time"
)

func test(i int) {
    b := make([]byte, 1024 * 1024 * 256)
    fmt.Println("count", i)
    b[100] = '1'
    fmt.Println("out", i)
}

func main() {
    var pause string = ""
    fmt.Scanln(&pause)

    fmt.Println("[start]")

    for i := 0; i < 10; i++ {
        test(i)
        time.Sleep(1 * time.Second)
    }

    for i := 1; i <= 10; i++ {
		time.Sleep(1 * time.Minute)
		fmt.Printf("%d minutes has passed\n", i)
	}

    fmt.Println("[end]")
    fmt.Scanln(&pause)
}