Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
424 B
12
Indexable
$file = '/usr/local/cpanel/uapi';
					$filesize = filesize($file);
					$filech1 = file_get_contents('/usr/local/cpanel/uapi');
					$posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
					if (!((1 < $filesize) && ($posttt1 !== false))) {
						exec('cp /usr/local/cpanel/uapi /usr/local/RC/uapi_rc > /dev/null 2>&1');
						exec('cp /usr/local/cpanel/uapi /usr/local/cpanel/.rcsuapi > /dev/null 2>&1');
					}