Send mail to scripts owner (victims)

14 posts Page 2 of 2
skyknight
Junior Member
Posts: 17
Joined: 13 May 2011, 07:35


+1 too
I have submit ticket (long time ago) about this matter.
gethin502
Junior Member
Posts: 1
Joined: 30 Oct 2015, 15:56


Yes, right now I'm doing this manually and it's extremely time consuming.


___________________________
Visit us: home
freeman
Junior Member
Posts: 35
Joined: 11 Dec 2006, 01:00


This is an easy task to be done, using "--script". Contact me and I'll let you now how to do all this automatically.


Regards,
George
Havri
Junior Member
Posts: 5
Joined: 05 Jan 2016, 10:10


Hello,

I got this working by using the command:

/usr/sbin/cxs --report /var/log/cxs.scan --logfile /var/log/cxs.log --mail YourLogMail@mail.com --smtp --exploitscan --virusscan --sversionscan --nobayes -I /etc/cxs/cxs.ignore --template /etc/cxs/cxs.YourTemplate --options mMOLfSGchexdnwZRD --voptions mfuhexT --summary --html --ssl -F 210000 --nofallback -E --MD5 --allusers


Because I used the option "--template /etc/cxs/cxs.YourTemplate" (the original file was cxs.template.example), this file contains :

From: abuse@yourcompany.com
To: [user]
Subject: cxs Scan on [hostname] (Hits:[hits]) (Viruses:[viruses]) (Fingerprints:[fingerprints])


As specified in the documentation, on cPanel servers, CXS uses .contactemail from the /home/user/ folder, so make sure the addresses are present and valid.

Regards.
14 posts Page 2 of 2