WP file in the ROOT directory
-
Hi,
Today I have found file on my WordPress root directory – the file name is “WP” (without no extension), here is code of this file:
#!/bin/bash if [ -x /usr/bin/wget ]; then if [ -d /opt ]; then wget -O /opt/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar chmod +x /opt/wp echo 'use this for path'; echo 'export PATH=/opt/cpanel/ea-php71/root/usr/bin:$PATH' echo echo '/opt/wp core verify-checksums' echo echo 'export PATH=/opt/cpanel/ea-php71/root/usr/bin:$PATH; /opt/wp core verify-checksums; /opt/wp core update; /opt/wp plugin update --all; /opt/wp theme update --all; /opt/wp plugin verify-checksums --all'; else echo '/opt does not exist'; fi else echo '/usr/bin/wget does not exist'; fi
Does anyone know what is this file for? and how it was created automatically today?
Thanks ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP file in the ROOT directory’ is closed to new replies.