Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Auto detect File Name?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Auto detect File Name?

BuyAdsBuyAds Member

Hello everyone.

It is possible to autodetect a file when uploaded and to alert me per email?

I got infected by cryptoPHP with the social.png file.

I have root access to WHM so is there a option for it?

Thank you everyone!

Comments

  • what you are asking for isn't a proper solution, its temporary shit. what if social.png will be named differently the next day? it wont get detected and it continues to harm you.

    you definitly have to improve your overall security defense.

    Thanked by 2BuyAds ricardo
  • yeah you are right so any solution?

  • NomadNomad Member

    Disable php execution on uploads folder?

  • @BuyAds said:
    yeah you are right so any solution?

    I'm not familiar with WHM, try Nomad's suggestion.

    Thanked by 1BuyAds
  • @Nomad said:
    Disable php execution on uploads folder?

    Hello Sir, how to do it?

  • NomadNomad Member

    Err, dunno.
    If it's apache create a .htaccess file in that directory and put this in?

    <FilesMatch "\.(php|php\.)$"> Order Allow,Deny Deny from all </FilesMatch>

    Or better, google it for more solid info along with knowledge? (:

    Thanked by 1BuyAds
  • And this will not allow me to upload .php files?

  • NomadNomad Member

    No, it will.
    It will just prevent php from being run.

    Thanked by 1BuyAds
  • Ow ok. Thank you! What about cron.php files? They cant be run also right?

  • SadySady Member

    There was a python script to find CryptoPHP, you can simply modify it to mail you if there is some detection of malware. Then simply use that modified script in Cron. If you want to get that accomplished & doesn't know how to do that then simply leave a message for me :)

    Thanked by 1BuyAds
  • @Sady said:
    There was a python script to find CryptoPHP, you can simply modify it to mail you if there is some detection of malware. Then simply use that modified script in Cron. If you want to get that accomplished & doesn't know how to do that then simply leave a message for me :)

    Thank you for the comment.
    Yes i was running it but it stops after 1h. Only the domain check it works. If you can help with the cron ill be very thankful!

  • FalzoFalzo Member

    maybe have a look at maldet

    Thanked by 1BuyAds
Sign In or Register to comment.