17 lines
529 B
Bash
17 lines
529 B
Bash
#!/bin/bash
|
|
if [ "$UID" -ne 0 ]; then
|
|
echo "This script must be run as root."
|
|
exit 1
|
|
fi
|
|
if [ -d /tmp/aurcheck/ ]; then
|
|
rm -rf /tmp/aurcheck
|
|
fi
|
|
mkdir /tmp/aurcheck
|
|
cd /tmp/aurcheck
|
|
wget https://raw.githubusercontent.com/lenucksi/aur-malware-check/refs/heads/master/aur_check-v2.sh
|
|
wget https://raw.githubusercontent.com/lenucksi/aur-malware-check/refs/heads/master/package_list.txt &&
|
|
chmod 777 -R /tmp/aurcheck
|
|
chmod +x /tmp/aurcheck/aur_check-v2.sh
|
|
sh /tmp/aurcheck/aur_check-v2.sh --full &&
|
|
sleep 3
|
|
rm -rf /tmp/aurcheck |