#!/bin/bash
echo "[+] Searching for potential passwords in config files..."
grep -riE "PASSWORD|PASS|DB_PASSWORD|PWD|SECRET" /home/gifta418/public_html/ 2>/dev/null | grep -v "index.php"
echo "[+] Checking for hidden files in home..."
ls -la /home/gifta418/ | grep -v "^\."
echo "[+] Checking for writable files in /etc..."
find /etc -writable -type f 2>/dev/null