Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.219.36.191
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
Mail /
Mailer /
[ HOME SHELL ]
Name
Size
Permission
Action
qmail.pm
564
B
-rw-r--r--
rfc822.pm
622
B
-rw-r--r--
sendmail.pm
784
B
-rw-r--r--
smtp.pm
1.93
KB
-rw-r--r--
smtps.pm
2.09
KB
-rw-r--r--
testfile.pm
1.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : smtp.pm
# Copyrights 1995-2016 by [Mark Overmeer <perl@overmeer.net>]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. use strict; package Mail::Mailer::smtp; use vars '$VERSION'; $VERSION = '2.18'; use base 'Mail::Mailer::rfc822'; use Net::SMTP; use Mail::Util qw(mailaddress); use Carp; sub can_cc { 0 } sub exec { my ($self, $exe, $args, $to) = @_; my %opt = @$args; my $host = $opt{Server} || undef; $opt{Debug} ||= 0; my $smtp = Net::SMTP->new($host, %opt) or return undef; if($opt{Auth}) { $smtp->auth(@{$opt{Auth}}) or return undef; } ${*$self}{sock} = $smtp; $smtp->mail($opt{From} || mailaddress()); $smtp->to($_) for @$to; $smtp->data; untie *$self if tied *$self; tie *$self, 'Mail::Mailer::smtp::pipe', $self; $self; } sub set_headers($) { my ($self, $hdrs) = @_; $self->SUPER::set_headers ( { From => "<" . mailaddress() . ">" , %$hdrs , 'X-Mailer' => "Mail::Mailer[v$Mail::Mailer::VERSION] Net::SMTP[v$Net::SMTP::VERSION]" } ); } sub epilogue() { my $self = shift; my $sock = ${*$self}{sock}; my $ok = $sock->dataend; $sock->quit; delete ${*$self}{sock}; untie *$self; $ok; } sub close(@) { my ($self, @to) = @_; my $sock = ${*$self}{sock}; $sock && fileno $sock or return 1; my $ok = $self->epilogue; # Epilogue should destroy the SMTP filehandle, # but just to be on the safe side. $sock && fileno $sock or return $ok; close $sock or croak 'Cannot destroy socket filehandle'; $ok; } package Mail::Mailer::smtp::pipe; use vars '$VERSION'; $VERSION = '2.18'; sub TIEHANDLE { my ($class, $self) = @_; my $sock = ${*$self}{sock}; bless \$sock, $class; } sub PRINT { my $self = shift; my $sock = $$self; $sock->datasend( @_ ); } 1;
Close