1
0

Use more meaningful name for artifacts

This commit is contained in:
dump_stack() 2019-08-16 05:38:25 +00:00
parent 3064dc3a27
commit 53a80743ba

View File

@ -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)