Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8175199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:41:39+00:00 2026-06-06T22:41:39+00:00

I have recently had a linux server compromised from bots uploading .php scripts and

  • 0

I have recently had a linux server compromised from bots uploading .php scripts and posing as images. I’m currently in the process of fixing this.

Because my server has a lot of websites I’m looking for a linux command to scan through all the 777 directories on the server and show ones with .php files inside them.

You can use the following command to return all 777 directories but this is not

find httpdocs/ -type d -perm 777

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:41:42+00:00Added an answer on June 6, 2026 at 10:41 pm

    Try something like this:

    find httpdocs/ -type d -perm 777 -exec find {} -name "*.php" \; 
    

    This will show you all .php files in directories with 777 permissions. May not be ideal, but will get you started.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently upgraded from websphere 5.1.2 to websphere 6.1 server. I had some
Using PHP / MySQL all encoded up as UTF, we have recently had to
I have recently had to move my project from using the CPython 2.6 interpreter
I have recently had some input from a colleague regarding committing in a stored
I usually use Netbeans for PHP development, but have recently had to move to
I have recently had several situations where I need different data from the same
I have a project hosted with git. I just recently had to reinstall ubuntu,
So far I have been creating Web Portal but recently I had a request
i am novice to the Linux shell and had to recently start using it
I recently downloaded linux source from http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.34.1.tar.bz2 . I came across the below paragraph

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.