Jump to content

Recommended Posts

Posted

Last night I ftp'd into my site and noticed a bunch of core dumps there. As always I deleted them and scanned for more.

Just thought I would bring this to the admins attention.

I can't seem to find any more dumps but after 12 hours cPanel still reports very high disk space usage.

 

Thanks

Posted
Thanks byron...Ill give this a try, I have an antivirus scanner written in php that I use. I modified it to also look for core files.

If anybody is interested, Ill zip it up for ya...

 

Sure, I'm interested, btw, this should be a way to test it.

 

http://www.eicar.org/anti_virus_test_file.htm

 

I tried his test on an old host I was on a few years ago that had a virus scan as a cpanel option and it worked then.

 

 

Posted
Thanks byron...Ill give this a try, I have an antivirus scanner written in php that I use. I modified it to also look for core files.

If anybody is interested, Ill zip it up for ya...

 

Sure, I'm interested, btw, this should be a way to test it.

 

http://www.eicar.org/anti_virus_test_file.htm

 

I tried his test on an old host I was on a few years ago that had a virus scan as a cpanel option and it worked then.

 

Sorry I took so long, I've been busy as always. Here is the php antivirus zipped up (link fixed 8/14/2009)

I got the original from http://www.phpantivirus.com/

 

I'm going to upload the test file from eicar.org and give it a try and see what happens...I'll let ya know...

 

I gave it a try. I renamed the file to .php and scanned and it didn't find it.

Posted

After many attempts at trying the av scan I finally gave up and ended up using myftpidx, a simple command line utility that scans your entire site and saves the list in a text or html file. I then searched the text file for core files. It worked great.

This was really useful as my site tree is many layers deep.

 

His site Luigi Auriemma, http://aluigi.org/mytoolz.htm

 

the file is myftpidx 0.1.3

 

Maybe a weekly scan will help keep things in order...

btw...were we down this morning? sat...

Posted
I then searched the text file for core files. It worked great.

 

Here's a script that will search and destroy (unlink) any files you search for. I use it now to look for core files and delete them really quickly. What I do is enter core in the File: form and click Submit and see what comes up. If I'm happy with deleting those files I then hit my back button and check the check box and click Submit again and they're gone. :)

 

http://byrondallas.heliohost.org/temp/serch-n-destroy.txt

 

Oh and yea we were down this morning and afternoon.

 

 

 

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...