The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    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
     
Loading...

Share This Page