• Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register

myVesta

hosting panel

  • Board index Knowledge base Web PHP
  • Search

How to see PHP files that are recently uploaded/modified on some domain

Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
User avatar
isscbta
Posts: 68
Joined: Mon Jul 19, 2021 1:41 am
  • Quote

Tue Aug 23, 2022 1:37 pm

This could be pretty useful when some site got infected, so by running this command, you can find all PHP files which are recently uploaded or modified and based on that see which one could be potentially infected

Code: Select all

cd /home/someuser/web/domain.com/public_html/
find -name "*.php" -type f -printf '%T+\t%s\t%u\t\t%p\n' | sort -n

Tags:
howto
php
security
Top
Post Reply
  • Print view
1 post • Page 1 of 1

Return to “PHP”

Jump to
  • myVesta
  • ↳   General discussion
  • Knowledge base
  • ↳   myVesta
  • ↳   Installation
  • ↳   Update
  • ↳   Web
  • ↳   Web templates
  • ↳   Apache templates
  • ↳   nginx templates
  • ↳   Webmail
  • ↳   phpMyAdmin
  • ↳   PHP
  • ↳   SSL
  • ↳   Mail
  • ↳   Anti-spam
  • ↳   DB
  • ↳   DNS
  • ↳   FTP
  • ↳   Backup
  • ↳   Softaculous
  • ↳   ClamAV
  • ↳   Firewall
  • ↳   Bash
  • ↳   API
  • ↳   Optimizations
  • ↳   Migrations
  • ↳   Other
  • ↳   Third-party software
  • ↳   WordPress
  • ↳   Linux tutorials
  • ↳   Security
  • ↳   Linux services
Advanced search

Login  •  Register



  • Useful Links
    • myVesta Official Website
    • myVesta Wiki
    • GitHub
  • Tags
  • Tag cloud

    Displaying the top 20 tags.

    • howto (28)
    • nginx-template (8)
    • issue (7)
    • wordpress (6)
    • myvesta (6)
    • exim (5)
    • install (5)
    • ssl (5)
    • php (4)
    • email (4)
    • apache (4)
    • dns (4)
    • migrate (3)
    • bash (3)
    • mariadb (3)
    • api (3)
    • error (3)
    • phpmyadmin (3)
    • webmail (2)
    • ram (2)

  • Board index
  • All times are UTC+01:00
  • Delete cookies
  • Privacy
  • Terms
 

 

Powered by phpBB™ • Design by PlanetStyles