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 : Test.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::Test; use vars '$VERSION'; $VERSION = '3.012'; use base 'Exporter'; use strict; use warnings; use File::Copy 'copy'; use List::Util 'first'; use IO::File; # to overrule open() use File::Spec; use Cwd qw(getcwd); use Sys::Hostname qw(hostname); use Test::More; our @EXPORT = qw/compare_message_prints reproducable_text $raw_html_data $crlf_platform /; our $crlf_platform = $^O =~ m/mswin32/i; # # Compare the text of two messages, rather strict. # On CRLF platforms, the Content-Length may be different. # sub compare_message_prints($$$) { my ($first, $second, $label) = @_; if($crlf_platform) { $first =~ s/Content-Length: (\d+)/Content-Length: <removed>/g; $second =~ s/Content-Length: (\d+)/Content-Length: <removed>/g; } is($first, $second, $label); } # # Strip message text down the things which are the same on all # platforms and all situations. # sub reproducable_text($) { my $text = shift; my @lines = split /^/m, $text; foreach (@lines) { s/((?:references|message-id|date|content-length)\: ).*/$1<removed>/i; s/boundary-\d+/boundary-<removed>/g; } join '', @lines; } # # A piece of HTML text which is used in some tests. # our $raw_html_data = <<'TEXT'; <HTML> <HEAD> <TITLE>My home page</TITLE> </HEAD> <BODY BGCOLOR=red> <H1>Life according to Brian</H1> This is normal text, but not in a paragraph.<P>New paragraph in a bad way. And this is just a continuation. When texts get long, they must be auto-wrapped; and even that is working already. <H3>Silly subsection at once</H3> <H1>and another chapter</H1> <H2>again a section</H2> <P>Normal paragraph, which contains an <IMG SRC=image.gif>, some <I>italics with linebreak </I> and <TT>code</TT> <PRE> And now for the preformatted stuff it should stay as it was even with strange blanks and indentations </PRE> And back to normal text... <UL> <LI>list item 1 <OL> <LI>list item 1.1 <LI>list item 1.2 </OL> <LI>list item 2 </UL> </BODY> </HTML> TEXT 1;
Close