Send mail to scripts owner (victims)

skyknight
Junior Member
Posts: 18
Joined: 13 May 2011, 07:35

Re: Send mail to scripts owner (victims)

Post by skyknight »

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

Re: Send mail to scripts owner (victims)

Post by gethin502 »

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

Re: Send mail to scripts owner (victims)

Post by freeman »

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

Re: Send mail to scripts owner (victims)

Post by Havri »

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.
Post Reply