Squirre17 / Autokd

automate kernel exploit environment deploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't identify unexpanded Path

Squirre17 opened this issue · comments

commented
    "ctf" : {
        "enable-ctf-mode" : true,
        "bzimage-path" : "~/src-code-reading/linux-5.19/arch/x86_64/boot/bzImage",
        "use-custom-qemu-script" : false
    },
$ ./akd run
[+] run the kernel build procedure
[*] NOTE  : use ctf provided bzimage
[14] > /home/squ/proj/akd-prac-use/autokd/config.py(49)__init__()
-> path_must_exist(self.bzimage_path)
(Pdb++) p self.bzimage_path
PosixPath('~/src-code-reading/linux-5.19/arch/x86_64/boot/bzImage')
(Pdb++) n
[!] FATAL : /home/squ/proj/akd-prac-use/~/src-code-reading/linux-5.19/arch/x86_64/boot/bzImage not found, abort