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.186
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 /
webmin /
webmin /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
subdir
[ DIR ]
drwxr-xr-x
CHANGELOG
12.02
KB
-rw-r--r--
acme_tiny.py
11.24
KB
-rwxr-xr-x
adminupgrade
299
B
-rw-r--r--
backup_config.pl
1.97
KB
-rwxr-xr-x
bootup.cgi
1.04
KB
-rwxr-xr-x
cache.cgi
1.47
KB
-rwxr-xr-x
cgi_args.pl
159
B
-rwxr-xr-x
change_access.cgi
1.34
KB
-rwxr-xr-x
change_advanced.cgi
3
KB
-rwxr-xr-x
change_anon.cgi
712
B
-rwxr-xr-x
change_bind.cgi
4.8
KB
-rwxr-xr-x
change_ca.cgi
674
B
-rwxr-xr-x
change_debug.cgi
1.38
KB
-rwxr-xr-x
change_lang.cgi
478
B
-rwxr-xr-x
change_lock.cgi
554
B
-rwxr-xr-x
change_log.cgi
2.38
KB
-rwxr-xr-x
change_mobile.cgi
940
B
-rwxr-xr-x
change_os.cgi
1.85
KB
-rwxr-xr-x
change_osdn.cgi
1.54
KB
-rwxr-xr-x
change_overlay.cgi
1.16
KB
-rwxr-xr-x
change_proxy.cgi
1.09
KB
-rwxr-xr-x
change_referers.cgi
633
B
-rwxr-xr-x
change_session.cgi
4.77
KB
-rwxr-xr-x
change_ssl.cgi
3.03
KB
-rwxr-xr-x
change_startpage.cgi
773
B
-rwxr-xr-x
change_status.cgi
1.02
KB
-rwxr-xr-x
change_theme.cgi
1.16
KB
-rwxr-xr-x
change_twofactor.cgi
1.43
KB
-rwxr-xr-x
change_ui.cgi
1.65
KB
-rwxr-xr-x
change_web.cgi
2.47
KB
-rwxr-xr-x
clear_blocked.cgi
154
B
-rwxr-xr-x
clear_cache.cgi
205
B
-rwxr-xr-x
clone_mod.cgi
2.06
KB
-rwxr-xr-x
config
94
B
-rw-r--r--
config.info
609
B
-rw-r--r--
config.info.ar
414
B
-rw-r--r--
config.info.ca
408
B
-rw-r--r--
config.info.cs
233
B
-rw-r--r--
config.info.de
368
B
-rw-r--r--
config.info.es
229
B
-rw-r--r--
config.info.fa
301
B
-rw-r--r--
config.info.fr
577
B
-rw-r--r--
config.info.hr
0
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.it
245
B
-rw-r--r--
config.info.ja
531
B
-rw-r--r--
config.info.ko
206
B
-rw-r--r--
config.info.ms
286
B
-rw-r--r--
config.info.nl
299
B
-rw-r--r--
config.info.no
283
B
-rw-r--r--
config.info.pl
284
B
-rw-r--r--
config.info.pt_BR
299
B
-rw-r--r--
config.info.ru
491
B
-rw-r--r--
config.info.sk
132
B
-rw-r--r--
config.info.sv
202
B
-rw-r--r--
config.info.tr
155
B
-rw-r--r--
cpan_modules.pl
229
B
-rwxr-xr-x
defaultacl
17
B
-rw-r--r--
delete_cache.cgi
471
B
-rwxr-xr-x
delete_mod.cgi
2.24
KB
-rwxr-xr-x
delete_webmincron.cgi
1.51
KB
-rwxr-xr-x
download_cert.cgi
532
B
-rwxr-xr-x
edit_access.cgi
1.38
KB
-rwxr-xr-x
edit_advanced.cgi
3.87
KB
-rwxr-xr-x
edit_anon.cgi
812
B
-rwxr-xr-x
edit_assignment.cgi
1.12
KB
-rwxr-xr-x
edit_bind.cgi
2.95
KB
-rwxr-xr-x
edit_blocked.cgi
944
B
-rwxr-xr-x
edit_ca.cgi
2.82
KB
-rwxr-xr-x
edit_categories.cgi
1.69
KB
-rwxr-xr-x
edit_debug.cgi
2.04
KB
-rwxr-xr-x
edit_descs.cgi
1.49
KB
-rwxr-xr-x
edit_ipkey.cgi
1.7
KB
-rwxr-xr-x
edit_lang.cgi
1004
B
-rwxr-xr-x
edit_lock.cgi
763
B
-rwxr-xr-x
edit_log.cgi
3.04
KB
-rwxr-xr-x
edit_mobile.cgi
1.26
KB
-rwxr-xr-x
edit_mods.cgi
4.67
KB
-rwxr-xr-x
edit_os.cgi
2.72
KB
-rwxr-xr-x
edit_proxy.cgi
3.7
KB
-rwxr-xr-x
edit_referers.cgi
899
B
-rwxr-xr-x
edit_sendmail.cgi
3.48
KB
-rwxr-xr-x
edit_session.cgi
5.18
KB
-rwxr-xr-x
edit_ssl.cgi
10.55
KB
-rwxr-xr-x
edit_startpage.cgi
1.68
KB
-rwxr-xr-x
edit_status.cgi
1.13
KB
-rwxr-xr-x
edit_themes.cgi
3.72
KB
-rwxr-xr-x
edit_twofactor.cgi
1.5
KB
-rwxr-xr-x
edit_ui.cgi
2.74
KB
-rwxr-xr-x
edit_upgrade.cgi
4.26
KB
-rwxr-xr-x
edit_web.cgi
2.88
KB
-rwxr-xr-x
edit_webmincron.cgi
1.35
KB
-rwxr-xr-x
export_mod.cgi
1.23
KB
-rwxr-xr-x
feedback_files.pl
126
B
-rwxr-xr-x
fix_os.cgi
228
B
-rwxr-xr-x
gnupg-lib.pl
13.38
KB
-rwxr-xr-x
hide.cgi
326
B
-rwxr-xr-x
index.cgi
4.16
KB
-rwxr-xr-x
install_mod.cgi
4.2
KB
-rwxr-xr-x
install_theme.cgi
2.29
KB
-rwxr-xr-x
jcameron-key.asc
1.29
KB
-rw-r--r--
letsencrypt-cleanup.pl
2
KB
-rwxr-xr-x
letsencrypt-dns.pl
2.46
KB
-rwxr-xr-x
letsencrypt-lib.pl
13.75
KB
-rwxr-xr-x
letsencrypt.cgi
4.64
KB
-rwxr-xr-x
log_parser.pl
1.23
KB
-rwxr-xr-x
module.info
195
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
142
B
-rw-r--r--
module.info.ar
185
B
-rw-r--r--
module.info.ar.auto
22
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
208
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
218
B
-rw-r--r--
module.info.ca
134
B
-rw-r--r--
module.info.ca.auto
15
B
-rw-r--r--
module.info.cs
28
B
-rw-r--r--
module.info.cs.auto
128
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
142
B
-rw-r--r--
module.info.de
126
B
-rw-r--r--
module.info.de.auto
15
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
262
B
-rw-r--r--
module.info.es
33
B
-rw-r--r--
module.info.es.auto
109
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
158
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
202
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
141
B
-rw-r--r--
module.info.fr
32
B
-rw-r--r--
module.info.fr.auto
129
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
195
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
149
B
-rw-r--r--
module.info.hu
30
B
-rw-r--r--
module.info.hu.auto
148
B
-rw-r--r--
module.info.it
33
B
-rw-r--r--
module.info.it.auto
107
B
-rw-r--r--
module.info.ja
180
B
-rw-r--r--
module.info.ko
22
B
-rw-r--r--
module.info.ko.auto
129
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
157
B
-rw-r--r--
module.info.ms
119
B
-rw-r--r--
module.info.ms.auto
15
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
144
B
-rw-r--r--
module.info.nl
28
B
-rw-r--r--
module.info.nl.auto
117
B
-rw-r--r--
module.info.no
29
B
-rw-r--r--
module.info.no.auto
117
B
-rw-r--r--
module.info.pl
155
B
-rw-r--r--
module.info.pl.auto
15
B
-rw-r--r--
module.info.pt
33
B
-rw-r--r--
module.info.pt.auto
113
B
-rw-r--r--
module.info.pt_BR
36
B
-rw-r--r--
module.info.pt_BR.auto
119
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
147
B
-rw-r--r--
module.info.ru
34
B
-rw-r--r--
module.info.ru.auto
172
B
-rw-r--r--
module.info.sk
30
B
-rw-r--r--
module.info.sk.auto
132
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
147
B
-rw-r--r--
module.info.sv
30
B
-rw-r--r--
module.info.sv.auto
114
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
258
B
-rw-r--r--
module.info.tr
33
B
-rw-r--r--
module.info.tr.auto
128
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
215
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
209
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
177
B
-rw-r--r--
module.info.zh
22
B
-rw-r--r--
module.info.zh_TW
25
B
-rw-r--r--
module.info.zh_TW.auto
115
B
-rw-r--r--
newcsr.cgi
800
B
-rwxr-xr-x
newkey.cgi
879
B
-rwxr-xr-x
postinstall.pl
2.01
KB
-rwxr-xr-x
refresh_modules.cgi
664
B
-rwxr-xr-x
restart.cgi
87
B
-rwxr-xr-x
save_assignment.cgi
485
B
-rwxr-xr-x
save_categories.cgi
946
B
-rwxr-xr-x
save_descs.cgi
1006
B
-rwxr-xr-x
save_ipkey.cgi
1.31
KB
-rwxr-xr-x
save_newmod.cgi
278
B
-rwxr-xr-x
save_sendmail.cgi
2.08
KB
-rwxr-xr-x
save_webmincron.cgi
1016
B
-rwxr-xr-x
savekey.cgi
2.8
KB
-rwxr-xr-x
setup_ca.cgi
1.52
KB
-rwxr-xr-x
standard_chooser.cgi
1.68
KB
-rwxr-xr-x
stop_ca.cgi
1.03
KB
-rwxr-xr-x
syslog_logs.pl
633
B
-rwxr-xr-x
system_info.pl
5.02
KB
-rw-r--r--
test_sendmail.cgi
784
B
-rwxr-xr-x
third_chooser.cgi
1.55
KB
-rwxr-xr-x
twofactor-funcs-lib.pl
8.81
KB
-rw-r--r--
uninstall.pl
236
B
-rwxr-xr-x
update.cgi
2.86
KB
-rwxr-xr-x
upgrade.cgi
16.08
KB
-rwxr-xr-x
view_webmincron.cgi
1.66
KB
-rwxr-xr-x
webmin-lib.pl
68.83
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : change_bind.cgi
#!/usr/bin/perl # change_bind.cgi # Update the binding IP address and port for miniserv require './webmin-lib.pl'; &ReadParse(); &get_miniserv_config(\%miniserv); %oldminiserv = %miniserv; &error_setup($text{'bind_err'}); # Validate inputs for($i=0; defined($in{"ip_def_$i"}); $i++) { next if (!$in{"ip_def_$i"}); if ($in{"ip_def_$i"} == 1) { $ip = "*"; } else { $ip = $in{"ip_$i"}; &check_ipaddress($ip) || $in{'ipv6'} && &check_ip6address($ip) || &error(&text('bind_eip2', $ip)); } if ($in{"port_def_$i"} == 1) { $port = $in{"port_$i"}; $port =~ /^\d+$/ && $port < 65536 || &error(&text('bind_eport2', $port)); } else { $port = "*"; } push(@sockets, [ $ip, $port ]); push(@ports, $port) if ($port && $port ne "*"); } @sockets || &error($text{'bind_enone'}); $in{'listen_def'} || $in{'listen'} =~ /^\d+$/ || &error($text{'bind_elisten'}); $in{'hostname_def'} || $in{'hostname'} =~ /^[a-z0-9\.\-]+$/i || &error($text{'bind_ehostname'}); if ($in{'ipv6'}) { eval "use Socket6"; $@ && &error(&text('bind_eipv6', "<tt>Socket6</tt>")); } # For any new ports, check if they are already in use @oldports = split(/\s+/, $in{'oldports'}); @newports = &unique(grep { &indexof($_, @oldports) < 0 } @ports); if (&has_command("lsof")) { foreach my $p (@newports) { $out = &backquote_command("lsof -t -i tcp:$p 2>/dev/null"); if ($out =~ /\d+/) { &error(&text('bind_elsof', $p)); } } } # Make sure each IP is actually active on the system @ips = grep { $_ ne "*" } map { $_->[0] } @sockets; if (@ips && &foreign_installed("net")) { %onsystem = ( ); &foreign_require("net"); if (defined(&net::active_interfaces)) { foreach $a (&net::active_interfaces()) { $onsystem{$a->{'address'}} = $a; foreach $ip6 (@{$a->{'address6'}}) { $onsystem{&canonicalize_ip6($ip6)} = $a; } } } if (%onsystem) { foreach $ip (@ips) { $onsystem{&canonicalize_ip6($ip)} || &error(&text('bind_eonsystem', $ip)); } } } # Update config file &lock_file($ENV{'MINISERV_CONFIG'}); $first = shift(@sockets); $miniserv{'port'} = $first->[1]; if ($first->[0] eq "*") { delete($miniserv{'bind'}); } else { $miniserv{'bind'} = $first->[0]; } $miniserv{'sockets'} = join(" ", map { "$_->[0]:$_->[1]" } @sockets); $miniserv{'ipv6'} = $in{'ipv6'}; if ($in{'listen_def'}) { delete($miniserv{'listen'}); } else { $miniserv{'listen'} = $in{'listen'}; } if ($in{'hostname_def'}) { delete($miniserv{'host'}); } else { $miniserv{'host'} = $in{'hostname'}; } $miniserv{'no_resolv_myname'} = $in{'no_resolv_myname'}; if ($in{'maxconns_def'}) { delete($miniserv{'maxconns'}); } else { $in{'maxconns'} =~ /^\d+$/ && $in{'maxconns'} > 1 || &error($text{'bind_emaxconns'}); $miniserv{'maxconns'} = $in{'maxconns'}; } if ($in{'maxconns_per_ip_def'}) { delete($miniserv{'maxconns_per_ip'}); } else { $in{'maxconns_per_ip'} =~ /^\d+$/ && $in{'maxconns_per_ip'} > 1 || &error($text{'bind_emaxconns_per_ip'}); $miniserv{'maxconns_per_ip'} = $in{'maxconns_per_ip'}; } if ($in{'maxconns_per_net_def'}) { delete($miniserv{'maxconns_per_net'}); } else { $in{'maxconns_per_net'} =~ /^\d+$/ && $in{'maxconns_per_net'} > 1 || &error($text{'bind_emaxconns_per_net'}); $miniserv{'maxconns_per_net'} = $in{'maxconns_per_net'}; } if ($in{'maxlifetime_def'}) { delete($miniserv{'maxlifetime'}); } else { $in{'maxlifetime'} =~ /^\d+$/ && $in{'maxlifetime'} > 60 || &error($text{'bind_emaxlifetime'}); $miniserv{'maxlifetime'} = $in{'maxlifetime'}; } &put_miniserv_config(\%miniserv); &unlock_file($ENV{'MINISERV_CONFIG'}); # Re-start miniserv &restart_miniserv(1); # If possible, open the new ports foreach my $mod ("firewall", "firewalld") { if (&foreign_check($mod) && $in{'firewall'}) { if (@newports) { &clean_environment(); $ENV{'WEBMIN_CONFIG'} = $config_directory; &system_logged( &module_root_directory($mod)."/open-ports.pl ". join(" ", map { $_.":".($_+10) } @newports). " >/dev/null 2>&1"); &reset_environment(); } } } &webmin_log("bind", undef, undef, \%in); # Work out redirect URL if ($miniserv{'musthost'}) { $miniserv{'musthost'}; } elsif ($miniserv{'bind'}) { $url = $miniserv{'bind'}; } else { $url = $ENV{'SERVER_NAME'}; } if ($ENV{'HTTPS'} eq "ON") { $url = "https://$url"; } else { $url = "http://$url"; } # Theme redirect if port changed if ($miniserv{'port'} != $oldminiserv{'port'}) { $url .= ":$miniserv{'port'}"; my %tinfo = &get_theme_info($current_theme); if ($tinfo{'spa'} && $tinfo{'nomodcall'}) { $url .= "@{[&get_webprefix()]}/webmin/?$tinfo{'nomodcall'}"; } &ui_print_header(undef, $text{'bind_title'}, "", undef, undef, 1); print $text{'bind_redirecting'},"<br>\n"; print "<script>\n"; print "top.location = '$url';\n"; print "</script>\n"; &ui_print_footer(); } else { $url .= ":$miniserv{'port'}@{[&get_webprefix()]}/webmin/"; &redirect($url); }
Close