SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > jetpack > 3rd-party


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/jetpack/3rd-party

NameTypeSizeLast ModifiedActions
debug-bar Directory - -
3rd-party.php File 2921 bytes November 25 2024 21:49:02.
amp.php File 745 bytes April 26 2023 01:22:16.
atomic.php File 1023 bytes September 28 2023 23:20:16.
bbpress.php File 2083 bytes May 15 2023 20:47:16.
beaverbuilder.php File 477 bytes September 30 2024 21:15:14.
bitly.php File 982 bytes May 08 2023 20:57:46.
buddypress.php File 503 bytes February 23 2021 21:08:42.
class-domain-mapping.php File 4220 bytes April 29 2024 23:12:20.
class-jetpack-bbpress-rest-api.php File 4496 bytes May 06 2024 23:42:24.
class.jetpack-amp-support.php File 16354 bytes February 04 2025 00:54:10.
creative-mail.php File 3341 bytes June 10 2025 00:40:16.
debug-bar.php File 733 bytes February 23 2021 21:08:42.
jetpack-backup.php File 2818 bytes January 20 2025 22:16:12.
jetpack-boost.php File 2869 bytes January 20 2025 22:16:12.
qtranslate-x.php File 634 bytes November 25 2023 02:41:46.
vaultpress.php File 2166 bytes April 29 2024 23:12:20.
web-stories.php File 979 bytes January 20 2025 22:16:12.
woocommerce-services.php File 3533 bytes January 20 2025 22:16:12.
woocommerce.php File 3865 bytes February 04 2025 00:54:10.
wpcom-reader.php File 1785 bytes March 25 2024 22:39:50.
wpml.php File 1633 bytes February 23 2021 21:08:42.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/jetpack/3rd-party/creative-mail.php

<?php
/**
 * Compatibility functions for the Creative Mail plugin.
 * https://wordpress.org/plugins/creative-mail-by-constant-contact/
 *
 * @since 8.9.0
 *
 * @package automattic/jetpack
 */

namespace Automattic\Jetpack\Creative_Mail;

use Automattic\Jetpack\Plugins_Installer;

if ( ! defined( 'ABSPATH' ) ) {
	exit( 0 );
}

const PLUGIN_SLUG = 'creative-mail-by-constant-contact';
const PLUGIN_FILE = 'creative-mail-by-constant-contact/creative-mail-plugin.php';

add_action( 'jetpack_activated_plugin', __NAMESPACE__ . '\configure_plugin', 10, 2 );

// Check for the JITM action.
if ( isset( $_GET['creative-mail-action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
	add_action( 'admin_init', __NAMESPACE__ . '\try_install' );
}

if ( ! empty( $_GET['creative-mail-install-error'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
	add_action( 'admin_notices', __NAMESPACE__ . '\error_notice' );
}

/**
 * Verify the intent to install Creative Mail, and kick off installation.
 *
 * This works in tandem with a JITM set up in the JITM package.
 *
 * @return never
 */
function try_install() {
	check_admin_referer( 'creative-mail-install' );

	$result   = false;
	$redirect = admin_url( 'admin.php?page=jetpack-forms-admin' );

	// Attempt to install and activate the plugin.
	if ( current_user_can( 'activate_plugins' ) ) {
		switch ( $_GET['creative-mail-action'] ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated -- Function only hooked if set.
			case 'install':
				$result = install_and_activate();
				break;
			case 'activate':
				$result = activate();
				break;
		}
	}

	if ( $result ) {
		/** This action is already documented in _inc/lib/class.core-rest-api-endpoints.php */
		do_action( 'jetpack_activated_plugin', PLUGIN_FILE, 'jitm' );
		$redirect = admin_url( 'admin.php?page=creativemail' );
	} else {
		$redirect = add_query_arg( 'creative-mail-install-error', true, $redirect );
	}

	wp_safe_redirect( $redirect );

	exit( 0 );
}

/**
 * Install and activate the Creative Mail plugin.
 *
 * @return bool result of installation
 */
function install_and_activate() {
	$result = Plugins_Installer::install_and_activate_plugin( PLUGIN_SLUG );

	if ( is_wp_error( $result ) ) {
		return false;
	} else {
		return true;
	}
}

/**
 * Activate the Creative Mail plugin.
 *
 * @return bool result of activation
 */
function activate() {
	$result = activate_plugin( PLUGIN_FILE );

	// Activate_plugin() returns null on success.
	return $result === null;
}

/**
 * Notify the user that the installation of Creative Mail failed.
 */
function error_notice() {
	wp_admin_notice(
		esc_html__( 'There was an error installing Creative Mail.', 'jetpack' ),
		array(
			'type'        => 'error',
			'dismissible' => true,
		)
	);
}

/**
 * Set some options when first activating the plugin via Jetpack.
 *
 * @since 8.9.0
 *
 * @param string $plugin_file Plugin file.
 * @param string $source      Where did the plugin installation originate.
 */
function configure_plugin( $plugin_file, $source ) {
	if ( PLUGIN_FILE !== $plugin_file ) {
		return;
	}

	$plugin_info = array(
		'plugin'  => 'jetpack',
		'version' => JETPACK__VERSION,
		'time'    => time(),
		'source'  => esc_attr( $source ),
	);

	update_option( 'ce4wp_referred_by', $plugin_info );
}

SILENT KILLER Tool