Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.28
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
libexec /
usermin /
mailbox /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
ulang
[ DIR ]
drwxr-xr-x
xinha
[ DIR ]
drwxr-xr-x
CHANGELOG
15.09
KB
-rw-r--r--
add_address.cgi
558
B
-rwxr-xr-x
address_chooser.cgi
5.04
KB
-rwxr-xr-x
auto.pl
1.89
KB
-rwxr-xr-x
boxes-lib.pl
80.03
KB
-rwxr-xr-x
classlinks.sh
160
B
-rwxr-xr-x
config-ALL-linux
481
B
-rw-r--r--
config-aix
482
B
-rw-r--r--
config-freebsd
478
B
-rw-r--r--
config-hpux
478
B
-rw-r--r--
config-irix
477
B
-rw-r--r--
config-macos
478
B
-rw-r--r--
config-msc-linux
495
B
-rw-r--r--
config-netbsd
478
B
-rw-r--r--
config-openbsd
478
B
-rw-r--r--
config-openserver
483
B
-rw-r--r--
config-osf1
484
B
-rw-r--r--
config-qnx
478
B
-rw-r--r--
config-solaris
477
B
-rw-r--r--
config-unixware
477
B
-rw-r--r--
config.info
3.15
KB
-rw-r--r--
config.info.ca
3.54
KB
-rwxr-xr-x
config.info.de
1.59
KB
-rw-r--r--
config.info.el
4.76
KB
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.nl
2.9
KB
-rwxr-xr-x
config.info.no
3.09
KB
-rw-r--r--
copy.cgi
795
B
-rwxr-xr-x
copy_form.cgi
1.08
KB
-rwxr-xr-x
defaultuconfig
732
B
-rw-r--r--
delete_folders.cgi
1.27
KB
-rwxr-xr-x
delete_mail.cgi
6.67
KB
-rwxr-xr-x
detach.cgi
3
KB
-rwxr-xr-x
detachall.cgi
1.83
KB
-rwxr-xr-x
edit_auto.cgi
1.76
KB
-rwxr-xr-x
edit_comp.cgi
1.53
KB
-rwxr-xr-x
edit_folder.cgi
2.62
KB
-rwxr-xr-x
edit_ifolder.cgi
1
KB
-rwxr-xr-x
edit_imap.cgi
1.8
KB
-rwxr-xr-x
edit_pop3.cgi
1.64
KB
-rwxr-xr-x
edit_sig.cgi
499
B
-rwxr-xr-x
edit_virt.cgi
1.19
KB
-rwxr-xr-x
export.cgi
1.27
KB
-rwxr-xr-x
folders-lib.pl
102.93
KB
-rwxr-xr-x
import.cgi
2.97
KB
-rwxr-xr-x
inbox_login.cgi
1.36
KB
-rwxr-xr-x
inbox_login_error.cgi
1.12
KB
-rwxr-xr-x
inbox_logout.cgi
450
B
-rwxr-xr-x
index.cgi
12.21
KB
-rwxr-xr-x
list_addresses.cgi
8.47
KB
-rwxr-xr-x
list_folders.cgi
4.89
KB
-rwxr-xr-x
list_ifolders.cgi
2.77
KB
-rwxr-xr-x
mail_search.cgi
7.43
KB
-rwxr-xr-x
mailbox-lib.pl
65.52
KB
-rwxr-xr-x
module.info
296
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
152
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
256
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
300
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
305
B
-rw-r--r--
module.info.ca
26
B
-rw-r--r--
module.info.ca.auto
168
B
-rw-r--r--
module.info.cs
25
B
-rw-r--r--
module.info.cs.auto
142
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
159
B
-rw-r--r--
module.info.de
119
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
357
B
-rw-r--r--
module.info.es
26
B
-rw-r--r--
module.info.es.auto
163
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
166
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
242
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
149
B
-rw-r--r--
module.info.fr
26
B
-rw-r--r--
module.info.fr.auto
167
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
208
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
167
B
-rw-r--r--
module.info.hu
38
B
-rw-r--r--
module.info.hu.auto
173
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
151
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
213
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
177
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
180
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
168
B
-rw-r--r--
module.info.ms
0
B
-rw-r--r--
module.info.ms.auto
137
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
146
B
-rw-r--r--
module.info.nl
29
B
-rw-r--r--
module.info.nl.auto
137
B
-rw-r--r--
module.info.no
19
B
-rw-r--r--
module.info.no.auto
122
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
170
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
159
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
165
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
173
B
-rw-r--r--
module.info.ru
55
B
-rw-r--r--
module.info.ru.auto
264
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
162
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
155
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
150
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
306
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
172
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
298
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
282
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
175
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
141
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
147
B
-rw-r--r--
newfolder.cgi
170
B
-rwxr-xr-x
print_mail.cgi
1.21
KB
-rwxr-xr-x
quotacheck.pl
3.13
KB
-rwxr-xr-x
reply_mail.cgi
26.55
KB
-rwxr-xr-x
save_address.cgi
981
B
-rwxr-xr-x
save_allow.cgi
708
B
-rwxr-xr-x
save_auto.cgi
1.07
KB
-rwxr-xr-x
save_comp.cgi
1.18
KB
-rwxr-xr-x
save_folder.cgi
3.85
KB
-rwxr-xr-x
save_group.cgi
744
B
-rwxr-xr-x
save_ifolder.cgi
1.73
KB
-rwxr-xr-x
save_imap.cgi
1.8
KB
-rwxr-xr-x
save_pop3.cgi
1.58
KB
-rwxr-xr-x
save_sig.cgi
595
B
-rwxr-xr-x
save_virt.cgi
983
B
-rwxr-xr-x
search_form.cgi
2.49
KB
-rwxr-xr-x
send_mail.cgi
18.73
KB
-rwxr-xr-x
slideshow.cgi
1.65
KB
-rwxr-xr-x
sort.cgi
1.03
KB
-rwxr-xr-x
specialsync.cgi
1.15
KB
-rwxr-xr-x
system_info.pl
978
B
-rw-r--r--
uconfig.info
5.01
KB
-rw-r--r--
uconfig.info.ca
5.66
KB
-rwxr-xr-x
uconfig.info.cs
5.03
KB
-rw-r--r--
uconfig.info.da
0
B
-rw-r--r--
uconfig.info.de
5.92
KB
-rw-r--r--
uconfig.info.el
7.4
KB
-rw-r--r--
uconfig.info.es
0
B
-rw-r--r--
uconfig.info.fr
145
B
-rw-r--r--
uconfig.info.hu
0
B
-rw-r--r--
uconfig.info.it
3.27
KB
-rw-r--r--
uconfig.info.nl
5.26
KB
-rw-r--r--
uconfig.info.no
5.02
KB
-rw-r--r--
uconfig.info.pl
0
B
-rwxr-xr-x
uconfig.info.pt_BR
5.01
KB
-rw-r--r--
uconfig_info.pl
264
B
-rwxr-xr-x
view_mail.cgi
17.62
KB
-rwxr-xr-x
virtualize.cgi
605
B
-rwxr-xr-x
webmin_menu.pl
4.5
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mail_search.cgi
#!/usr/bin/perl # mail_search.cgi # Find mail messages matching some pattern use strict; use warnings; our (%text, %in, %userconfig); our $search_folder_id; require './mailbox-lib.pl'; &ReadParse(); my $limit = { }; my $statusmsg; my @fields; if (!$in{'status_def'} && defined($in{'status'})) { $statusmsg = &text('search_withstatus', $text{'view_mark'.$in{'status'}}); } if ($in{'simple'}) { # Make sure a search was entered $in{'search'} || &error($text{'search_ematch'}); if ($userconfig{'search_latest'}) { $limit->{'latest'} = $userconfig{'search_latest'}; } } elsif ($in{'spam'}) { # Make sure a spam score was entered $in{'score'} =~ /^\d+$/ || &error($text{'search_escore'}); } else { # Validate search fields for(my $i=0; defined($in{"field_$i"}); $i++) { if ($in{"field_$i"}) { $in{"what_$i"} || &error(&text('search_ewhat', $i+1)); my $neg = $in{"neg_$i"} ? "!" : ""; push(@fields, [ $neg.$in{"field_$i"}, $in{"what_$i"}, $in{"re_$i"} ]); } } @fields || $statusmsg || &error($text{'search_enone'}); if (!defined($in{'limit'})) { if ($userconfig{'search_latest'}) { $limit = { 'latest' => $userconfig{'search_latest'} }; } } elsif (!$in{'limit_def'}) { $in{'limit'} =~ /^\d+$/ || &error($text{'search_elatest'}); $limit->{'latest'} = $in{'limit'}; } } my $limitmsg; my $folder; if ($limit && $limit->{'latest'}) { $limitmsg = &text('search_limit', $limit->{'latest'}); } my @folders = &list_folders(); if ($in{'lastfolder'}) { my $fid = &get_last_folder_id(); if ($fid) { $folder = &find_named_folder($fid, \@folders); if ($folder) { $in{'folder'} = $folder->{'index'}; } } } if ($in{'id'}) { $folder = &find_named_folder($in{'id'}, \@folders); $folder || &error("Failed to find folder $in{'id'}"); $in{'folder'} = $folder->{'index'}; } elsif ($in{'folder'} >= 0) { $folder = $folders[$in{'folder'}]; } if ($folder && $folder->{'id'} eq $search_folder_id) { # Cannot search searchs! &error($text{'search_eself'}); } # Create a virtual folder for the search results my $virt; my $virt_exists = 0; if ($in{'dest_def'} || !defined($in{'dest'})) { # Use the default search results folder ($virt) = grep { $_->{'type'} == 6 && $_->{'id'} == 1 } @folders; if ($virt) { $virt_exists = 1; } else { $virt = { 'id' => $search_folder_id, 'type' => 6, }; } $virt->{'name'} = $text{'search_title'}; } else { # Create a new virtual folder $in{'dest'} || &error($text{'search_edest'}); $virt = { 'type' => 6, 'name' => $in{'dest'} }; } # Lock the output folder if ($virt_exists) { my %act; $act{'search'} = $in{'search'} if ($in{'simple'}); &lock_folder($virt, \%act); } # Show some progress if it's a big folder my $large_search = 0; if ($in{'returned_format'} ne "json" && (!$in{'simple'} || &folder_size($folder) > 100*1024*1024)) { $large_search = 1; &ui_print_unbuffered_header(undef, $text{'search_title'}, ""); if ($in{'simple'}) { print &text('search_doing', "<i>".$in{'search'}."</i>", $folder->{'name'}),"\n"; } else { print $text{'search_doing2'},"\n"; } print &text('search_results', "index.cgi?id=".&urlize($virt->{'id'})),"<p>\n"; } my @rv; my $msg; my @sfolders; my $multi_folder; if ($in{'simple'}) { # Just search by Subject and From (or To) in one folder my ($mode, $words) = &parse_boolean($in{'search'}); my $who = $folder->{'sent'} ? 'to' : 'from'; if ($mode == 0) { # Search was like 'foo' or 'foo bar' # Can just do a single 'or' search my @searchlist = map { ( [ 'subject', $_ ], [ $who, $_ ] ) } @$words; @rv = &mailbox_search_mail(\@searchlist, 0, $folder, $limit, 1); } elsif ($mode == 1) { # Search was like 'foo and bar' # Need to do two 'and' searches and combine my @searchlist1 = map { ( [ 'subject', $_ ] ) } @$words; my @rv1 = &mailbox_search_mail(\@searchlist1, 1, $folder, $limit, 1); my @searchlist2 = map { ( [ $who, $_ ] ) } @$words; my @rv2 = &mailbox_search_mail(\@searchlist2, 1, $folder, $limit, 1); @rv = @rv1; my %gotid = map { $_->{'id'}, 1 } @rv; foreach my $mail (@rv2) { push(@rv, $mail) if (!$gotid{$mail->{'id'}}); } } else { &error($text{'search_eboolean'}); } foreach my $mail (@rv) { $mail->{'folder'} = $folder; } if ($statusmsg) { @rv = &filter_by_status(\@rv, $in{'status'}); } $msg = &text('search_msg2', "<i>".&html_escape($in{'search'})."</i>"); } elsif ($in{'spam'}) { # Search by spam score, using X-Spam-Level header my $stars = "*" x $in{'score'}; @rv = &mailbox_search_mail([ [ "x-spam-level", $stars ] ], 0, $folder, $limit, 1); foreach my $mail (@rv) { $mail->{'folder'} = $folder; } $msg = &text('search_msg5', $in{'score'}); } else { # Complex search, perhaps over multiple folders! if ($in{'folder'} == -2) { # All local folders, except composite and virtual @sfolders = grep { !$_->{'remote'} && $_->{'type'} != 5 && $_->{'type'} != 6 } @folders; $multi_folder = 1; } elsif ($in{'folder'} == -1) { # All folders, except composite and virtual @sfolders = grep { $_->{'type'} != 5 && $_->{'type'} != 6 } @folders; $multi_folder = 1; } else { @sfolders = ( $folder ); } my @frv; foreach my $sf (@sfolders) { my @frv = &mailbox_search_mail(\@fields, $in{'and'}, $sf, $limit, 1); foreach my $mail (@frv) { $mail->{'folder'} = $sf; } if ($in{'attach'}) { # Limit to those with an attachment my @attach = &mail_has_attachments(\@frv, $sf); my @newfrv = ( ); for(my $i=0; $i<@frv; $i++) { push(@newfrv, $frv[$i]) if ($attach[$i]); } @frv = @newfrv; } push(@rv, @frv); } if ($statusmsg) { # Limit by status (read, unread, special) @rv = &filter_by_status(\@rv, $in{'status'}); } if (@fields == 1) { my $stext = $fields[0]->[1]; $stext =~ s/^(\.\*|\^)//; $stext =~ s/(\.\*|\$)$//; $msg = &text('search_msg6', "<i>".&html_escape($stext)."</i>", "<i>".&html_escape($fields[0]->[0])."</i>"); } else { $msg = $text{'search_msg4'}; } } $msg .= " $limitmsg" if ($limitmsg); $msg .= " $statusmsg" if ($statusmsg); # Populate folder for the search results $virt->{'delete'} = 1; $virt->{'members'} = [ map { [ $_->{'folder'}, $_->{'id'} ] } @rv ]; $virt->{'msg'} = $msg; if ($folder) { # Use same From/To display mode as original folder $virt->{'show_to'} = $folder->{'show_to'}; $virt->{'show_from'} = $folder->{'show_from'}; $virt->{'spam'} = $folder->{'spam'}; $virt->{'sent'} = $folder->{'sent'}; $virt->{'drafts'} = $folder->{'drafts'}; } else { # Use default From/To mode delete($virt->{'show_to'}); delete($virt->{'show_from'}); delete($virt->{'spam'}); delete($virt->{'sent'}); delete($virt->{'drafts'}); } &delete_new_sort_index($virt); &save_folder($virt, $virt); &unlock_folder($virt) if ($virt_exists); if ($in{'returned_format'} eq "json") { #Return in JSON format if needed my %search; $search{'folder'} = $virt->{'index'}; $search{'searched'} = $in{'search'}; $search{'searched_message'} = $msg; $search{'searched_folder_index'} = $in{'folder'}; $search{'searched_folder_name'} = $folder->{'name'}; $search{'searched_folder_id'} = $folder->{'id'}; $search{'searched_folder_file'} = $folder->{'file'}; print_json(\%search); } elsif ($large_search) { # JS redirect to search results folder print &js_redirect("index.cgi?id=$virt->{'id'}&refresh=2"); &ui_print_footer("index.cgi?folder=$in{'folder'}", $text{'mail_return'}); } else { # Redirect to it &redirect("index.cgi?id=$virt->{'id'}&refresh=2"); } &pop3_logout_all();
Close