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.47
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 /
Mail /
Message /
[ HOME SHELL ]
Name
Size
Permission
Action
Body
[ DIR ]
drwxr-xr-x
Construct
[ DIR ]
drwxr-xr-x
Convert
[ DIR ]
drwxr-xr-x
Field
[ DIR ]
drwxr-xr-x
Head
[ DIR ]
drwxr-xr-x
Replace
[ DIR ]
drwxr-xr-x
TransferEnc
[ DIR ]
drwxr-xr-x
Wrapper
[ DIR ]
drwxr-xr-x
Body.pm
11.04
KB
-rw-r--r--
Body.pod
30.47
KB
-rw-r--r--
Construct.pm
1.53
KB
-rw-r--r--
Construct.pod
1.43
KB
-rw-r--r--
Convert.pm
931
B
-rw-r--r--
Convert.pod
5.77
KB
-rw-r--r--
Dummy.pm
1
KB
-rw-r--r--
Dummy.pod
14.77
KB
-rw-r--r--
Field.pm
11.8
KB
-rw-r--r--
Field.pod
30.11
KB
-rw-r--r--
Head.pm
4.72
KB
-rw-r--r--
Head.pod
14.7
KB
-rw-r--r--
Part.pm
3.09
KB
-rw-r--r--
Part.pod
15.85
KB
-rw-r--r--
Test.pm
2.43
KB
-rw-r--r--
TransferEnc.pm
1.59
KB
-rw-r--r--
TransferEnc.pod
6.08
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Part.pm
# Copyrights 2001-2022 by [Mark Overmeer <markov@cpan.org>]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.03. # This code is part of distribution Mail-Message. Meta-POD processed with # OODoc into POD and HTML manual-pages. See README.md # Copyright Mark Overmeer. Licensed under the same terms as Perl itself. package Mail::Message::Part; use vars '$VERSION'; $VERSION = '3.012'; use base 'Mail::Message'; use strict; use warnings; use Scalar::Util 'weaken'; use Carp; sub init($) { my ($self, $args) = @_; $args->{head} ||= Mail::Message::Head::Complete->new; $self->SUPER::init($args); confess "No container specified for part.\n" unless exists $args->{container}; weaken($self->{MMP_container}) if $self->{MMP_container} = $args->{container}; $self; } sub coerce($@) { my ($class, $thing, $container) = (shift, shift, shift); if($thing->isa($class)) { $thing->container($container); return $thing; } return $class->buildFromBody($thing, $container, @_) if $thing->isa('Mail::Message::Body'); # Although cloning is a Bad Thing(tm), we must avoid modifying # header fields of messages which reside in a folder. my $message = $thing->isa('Mail::Box::Message') ? $thing->clone : $thing; my $part = $class->SUPER::coerce($message); $part->container($container); $part; } sub buildFromBody($$;@) { my ($class, $body, $container) = (shift, shift, shift); my @log = $body->logSettings; my $head = Mail::Message::Head::Complete->new(@log); while(@_) { if(ref $_[0]) {$head->add(shift)} else {$head->add(shift, shift)} } my $part = $class->new ( head => $head , container => $container , @log ); $part->body($body); $part; } sub container(;$) { my $self = shift; return $self->{MMP_container} unless @_; $self->{MMP_container} = shift; weaken($self->{MMP_container}); } sub toplevel() { my $body = shift->container or return; my $msg = $body->message or return; $msg->toplevel; } sub isPart() { 1 } sub partNumber() { my $self = shift; my $body = $self->container or confess 'no container'; $body->partNumberOf($self); } sub readFromParser($;$) { my ($self, $parser, $bodytype) = @_; my $head = $self->readHead($parser) || Mail::Message::Head::Complete->new ( message => $self , field_type => $self->{MM_field_type} , $self->logSettings ); my $body = $self->readBody($parser, $head, $bodytype) || Mail::Message::Body::Lines->new(data => []); $self->head($head); $self->storeBody($body->contentInfoFrom($head)); $self; } #----------------- sub printEscapedFrom($) { my ($self, $out) = @_; $self->head->print($out); $self->body->printEscapedFrom($out); } sub destruct() { my $self = shift; $self->log(ERROR =>'You cannot destruct message parts, only whole messages'); undef; } 1;
Close