Skip to content

Instantly share code, notes, and snippets.

@tribulant
Created June 27, 2015 20:27
Show Gist options
  • Save tribulant/bf53eaebe29028d902b1 to your computer and use it in GitHub Desktop.
Save tribulant/bf53eaebe29028d902b1 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