Skip to content

Instantly share code, notes, and snippets.

Last active Jun 29, 2021
What would you like to do?
Command yang sering gw pake sehari hari
find -type f -name "*.php" -not -path "*/vendor/*" -exec grep "exec(" {} \;
find -name "*.php" \( -path wp-admin -o -path wp-includes -o -name vendor \) -prune -exec grep -i --color=always 'eval(' {} \; -print
find -type f -perm 777
find -type f -executable
find -type d -name "*wp-file-manager*" | xargs rm -r
wget -e robots=off --user-agent=Mozilla/5.0 -r https://
sed -i 's|# END WordPress|# END WordPress\nRewriteCond %{HTTPS} !on\nRewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]|' .htaccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment