Use more meaningful name for artifacts
This commit is contained in:
parent
3064dc3a27
commit
53a80743ba
4
debug.go
4
debug.go
@ -142,9 +142,9 @@ func debugHandler(kcfg config.KernelConfig, workPath, kernRegex, gdb string,
|
||||
return
|
||||
}
|
||||
|
||||
remoteFile := "/tmp/artifact"
|
||||
remoteFile := "/tmp/exploit"
|
||||
if ka.Type == config.KernelModule {
|
||||
remoteFile += ".ko"
|
||||
remoteFile = "/tmp/module.ko"
|
||||
}
|
||||
|
||||
err = q.CopyFile("user", outFile, remoteFile)
|
||||
|
Loading…
Reference in New Issue
Block a user