Wordpress: Difference between revisions

From Server STB
Jump to navigation Jump to search
No edit summary
Line 36: Line 36:


find -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort -r
find -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort -r
== Docker ==


docker-compose up -d
docker-compose up -d


docker-compose down
docker-compose down

Revision as of 00:33, 25 September 2023

Baerbagai macam konfigurasi wordpress

  • Unutuk mematikan tambah tema dan plugin di wordpress tambahakan script ini define('DISALLOW_FILE_MODS',true); di wp-config.conf
  • htaccess


<Directory /var/www/html/wp-content/uploads/>

    php_admin_value engine Off

</Directory>


Scan

grep -r "File Manager"

grep -r "adminer"

grep -r "c3RyX3JvdDEz"

grep -r "Z3ppbmZsYXRl"

grep -r "YmFzZTY0X2RlY29kZQ"

grep -r "c3RyX3JvdDEz"

grep -r "uname"

grep -r "str_rot13"

find -type f -name '*.php'

find -name "*.php" -mtime 7

find . -type d -name 'backdoor' -exec rm -r {} +

find -type f -name '*.htaccess' -delete

find -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort -r

Docker

docker-compose up -d

docker-compose down