HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux bareserver 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 7.2.24-0ubuntu0.18.04.17
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/html/site/newsite_contaminado/wp-content/plugins/zetension/zetension.php
<?php
/**
 * @link              www.kofimokome.stream
 * @since             1.0.0
 * @package           kmcf7_sms_extension
 *
 * @wordpress-plugin
 * Plugin Name: SMS Extension for Contact Form 7
 * Plugin URI: https://github.com/kofimokome/cf7-sms-extension
 * Description: Receive text message notifications when a form is submitted.
 * Version: 1.2.1
 * Author: Kofi Mokome
 * Author URI: www.kofimokome.stream
 * License: GPL-2.0+
 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
 * Text Domain: cf7-sms-extension
 * Domain Path: /languages
 */

namespace kmcf7_sms_extension;

defined('ABSPATH') or die('Giving To Cesar What Belongs To Caesar');

$error = false;

function kmcf7se_error_notice($message = '')
{
    if (trim($message) != ''):
        ?>
        <div class="error notice is-dismissible">
            <p><b>CF7 SMS Extension: </b><?php echo $message ?></p>
        </div>
    <?php
    endif;
}

add_action('admin_notices', 'kmcf7_sms_extension\\kmcf7se_error_notice', 10, 1);

// loads classes / files
function kmcf7se_loader()
{
    global $error;
    $classes = array(
        'CF7SmsExtension.php', //
        'MenuPage.php', //
        'SubMenuPage.php', //
        'Setting.php', //
        // 'admin_menu.php', //

    );

    foreach ($classes as $file) {
        if (!$filepath = file_exists(plugin_dir_path(__FILE__) . "includes/" . $file)) {
            kmcf7se_error_notice(sprintf(__('Error locating <b>%s</b> for inclusion', 'kmcf7se'), $file));
            $error = true;
        } else {
            include_once plugin_dir_path(__FILE__) . "includes/" . $file;
        }
    }
}

function kmcf7se_start()
{
    $message_extension = new CF7SmsExtension();
    $message_extension->run();
}


kmcf7se_loader();
if (!$error) {
    kmcf7se_start();
}


// remove options upon deactivation

register_deactivation_hook(__FILE__, 'kmcf7_sms_extension\\kmcf7se_deactivation');

function kmcf7se_deactivation()
{
    // set options to remove here
}

// todo: for future use
load_plugin_textdomain('cf7-sms-extension', false, basename(dirname(__FILE__)) . '/languages');