Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danreb/e8b0f8c7cd1d05c04a52e50ce0bc2cd2 to your computer and use it in GitHub Desktop.
Save danreb/e8b0f8c7cd1d05c04a52e50ce0bc2cd2 to your computer and use it in GitHub Desktop.
cPanel - Find Malicious Mail Script
grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F"cwd=" '{print $2}' | awk '{print $1}' | sort | uniq -c | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment