Nguyễn Pháp
New member
How do you escape chroot?
Answer
Perform chdir(“..”) calls many times to move the current working directory into the real root directory. Change the root directory of the process to the current working directory, the real root directory, using chroot(“.”)
…
Answer
Perform chdir(“..”) calls many times to move the current working directory into the real root directory. Change the root directory of the process to the current working directory, the real root directory, using chroot(“.”)
…
Breaking chroot() | |
|---|---|
022 | |
023 | /* Break out of a chroot() environment in C */ |
024 | |
025 | int main() { |