mirror of
https://github.com/yunginnanet/HellPot
synced 2024-06-20 21:08:03 +00:00
Fix: nosec false positive
This commit is contained in:
parent
f0a2692c73
commit
ad1115b87d
@ -73,7 +73,7 @@ func gen(memfs afero.Fs) {
|
|||||||
println(err.Error())
|
println(err.Error())
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
nf, err := os.Create(target)
|
nf, err := os.Create(target) // #nosec G304
|
||||||
if err != nil {
|
if err != nil {
|
||||||
println(err.Error())
|
println(err.Error())
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user