Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Drac0nids/SeeyonExploit
/ GenerateTestFile
Function
GenerateTestFile
utils/GenerateTestFile.go:8–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
)
7
8
func
GenerateTestFile() string {
9
timeUnixNano := time.Now().String()
10
md5str := GetMd5(string(timeUnixNano))
11
err := ioutil.WriteFile(md5str+
".txt.txt"
, []byte(md5str), 0644)
12
PanicErr(err)
13
return
md5str
14
}
Callers
1
VulScan
Function · 0.92
Calls
2
GetMd5
Function · 0.85
PanicErr
Function · 0.85
Tested by
no test coverage detected