Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Abnormal file name finder script - help finding/doing one

Discussion in 'General Discussion' started by jeroman8, Jul 5, 2005.

  1. jeroman8

    jeroman8 Well-Known Member

    Mar 14, 2003
    Likes Received:
    Trophy Points:
    Anyone know of a script or how to make one that can find "abnormal file names" and properties.

    I'd like it to search for stuff in /tmp, /dev/shm and some other directories.

    It should search for:

    .* (dot*) file names and catalogs and some of the most common
    names of "hack" scripts eventually ending up in tmp like "bot.txt" and others.
    It shoudl also search for files that has execute 755 or 777 properties in these catalogs.

    Doing this manually is not so hard but I ahve no idea on how to make a script or bash file doing this instead.

    Making it e-mail the results would be nice

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice