| Server IP : 172.67.181.122 / Your IP : 216.73.216.191 Web Server : Apache System : Linux vps115579.inmotionhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : jordansonic ( 1005) PHP Version : 8.3.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/ |
Upload File : |
#!/bin/bash
# List of home directories to scan
for userdir in /home/*; do
# Check if it's a directory and contains a WordPress installation
if [ -d "$userdir" ]; then
# Search common WordPress locations
for wpcontent in $(find $userdir -type d -path "*/wp-content" 2>/dev/null); do
echo ""
echo "Detailed Inode usage: $wpcontent"
# List common subdirectories
for subdir in cache plugins uploads; do
if [ -d "$wpcontent/$subdir" ]; then
count=$(find "$wpcontent/$subdir" -type f 2>/dev/null | wc -l)
echo "$count - $subdir"
fi
done
done
fi
done