Closed RenaKunisaki closed 7 years ago
Fixed in https://github.com/hyln9/VIKIROOT/commit/27cf5b6d90ec51f6ae32db200a3d3ec0790659ca.
Actually I forget to deal with this problem. Now we can build VIKIROOT with bionic.
Thanks for your effort! I've added you to the credits part.
As described in the Bugs section here, some versions of libc have a bug where
getpid()
in aclone()
d thread will return the parent PID rather than the child. (That page saysCLONE_VM
prevents it, but guess what, it happened anyway!)Really lazy fix is:
After that, the reverse shell works.