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.158
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 /
init /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
1.8
KB
-rw-r--r--
acl_security.pl
869
B
-rwxr-xr-x
atboot.pl
5.66
KB
-rwxr-xr-x
backup_config.pl
975
B
-rwxr-xr-x
cgi_args.pl
668
B
-rwxr-xr-x
change_rl.cgi
486
B
-rwxr-xr-x
config-aix
204
B
-rw-r--r--
config-cobalt-linux-2.2-4.0
242
B
-rw-r--r--
config-cobalt-linux-5.0-ALL
257
B
-rw-r--r--
config-coherent-linux
277
B
-rw-r--r--
config-corel-linux
179
B
-rw-r--r--
config-debian-linux
195
B
-rw-r--r--
config-freebsd
154
B
-rw-r--r--
config-freebsd-5.0-ALL
251
B
-rw-r--r--
config-generic-linux
238
B
-rw-r--r--
config-gentoo-linux
166
B
-rw-r--r--
config-hpux
233
B
-rw-r--r--
config-irix
186
B
-rw-r--r--
config-macos
267
B
-rw-r--r--
config-mandrake-linux
277
B
-rw-r--r--
config-msc-linux
272
B
-rw-r--r--
config-netbsd
106
B
-rw-r--r--
config-open-linux
208
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
236
B
-rw-r--r--
config-openbsd
106
B
-rw-r--r--
config-openmamba-linux
277
B
-rw-r--r--
config-openserver
208
B
-rw-r--r--
config-osf1
214
B
-rw-r--r--
config-pardus-linux
238
B
-rw-r--r--
config-redhat-linux
277
B
-rw-r--r--
config-slackware-linux
129
B
-rw-r--r--
config-solaris
195
B
-rw-r--r--
config-solaris-10-ALL
225
B
-rw-r--r--
config-suse-linux
187
B
-rw-r--r--
config-suse-linux-7.1-ALL
236
B
-rw-r--r--
config-syno-linux
247
B
-rw-r--r--
config-trustix-linux
262
B
-rw-r--r--
config-turbo-linux
257
B
-rw-r--r--
config-united-linux
197
B
-rw-r--r--
config-unixware
178
B
-rw-r--r--
config-windows
115
B
-rw-r--r--
config.info
1.31
KB
-rw-r--r--
config.info.ca
1.54
KB
-rw-r--r--
config.info.cs
1.27
KB
-rw-r--r--
config.info.de
1.46
KB
-rw-r--r--
config.info.es
1.31
KB
-rw-r--r--
config.info.eu
1.35
KB
-rw-r--r--
config.info.fa
1.78
KB
-rw-r--r--
config.info.fr
1.18
KB
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.ja
1.57
KB
-rw-r--r--
config.info.ko
1.19
KB
-rw-r--r--
config.info.nl
1.25
KB
-rw-r--r--
config.info.no
1.41
KB
-rw-r--r--
config.info.pl
1.22
KB
-rw-r--r--
config.info.ru
2.05
KB
-rw-r--r--
config.info.sk
0
B
-rw-r--r--
config.info.sv
549
B
-rw-r--r--
config.info.tr
515
B
-rw-r--r--
config.info.uk
1.45
KB
-rw-r--r--
config.info.zh
388
B
-rw-r--r--
config.info.zh_TW
727
B
-rw-r--r--
create-boot.pl
424
B
-rwxr-xr-x
defaultacl
40
B
-rw-r--r--
delboot.pl
688
B
-rwxr-xr-x
delete-boot.pl
379
B
-rwxr-xr-x
delete_action.cgi
907
B
-rwxr-xr-x
edit_action.cgi
5.12
KB
-rwxr-xr-x
edit_hostconfig.cgi
6.2
KB
-rwxr-xr-x
edit_launchd.cgi
2.05
KB
-rwxr-xr-x
edit_rc.cgi
1.84
KB
-rwxr-xr-x
edit_systemd.cgi
2.4
KB
-rwxr-xr-x
edit_upstart.cgi
2.3
KB
-rwxr-xr-x
fix_action.cgi
600
B
-rwxr-xr-x
hostconfig-lib.pl
8.53
KB
-rwxr-xr-x
index.cgi
13.7
KB
-rwxr-xr-x
init-lib.pl
67.42
KB
-rw-r--r--
log_parser.pl
1.37
KB
-rwxr-xr-x
mass_launchd.cgi
1.94
KB
-rwxr-xr-x
mass_rcs.cgi
1.54
KB
-rwxr-xr-x
mass_start_stop.cgi
2.81
KB
-rwxr-xr-x
mass_systemd.cgi
2.68
KB
-rwxr-xr-x
mass_upstarts.cgi
1.94
KB
-rwxr-xr-x
modifyhostconfig.cgi
1.07
KB
-rwxr-xr-x
module.info
305
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
156
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
207
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
246
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
253
B
-rw-r--r--
module.info.ca
0
B
-rw-r--r--
module.info.ca.auto
174
B
-rw-r--r--
module.info.cs
0
B
-rw-r--r--
module.info.cs.auto
168
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
150
B
-rw-r--r--
module.info.de
0
B
-rw-r--r--
module.info.de.auto
148
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
277
B
-rw-r--r--
module.info.es
0
B
-rw-r--r--
module.info.es.auto
173
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
142
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
201
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
177
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
169
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
171
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
158
B
-rw-r--r--
module.info.hu
0
B
-rw-r--r--
module.info.hu.auto
184
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
139
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
202
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
156
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
172
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
177
B
-rw-r--r--
module.info.ms
0
B
-rw-r--r--
module.info.ms.auto
142
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
141
B
-rw-r--r--
module.info.nl
0
B
-rw-r--r--
module.info.nl.auto
160
B
-rw-r--r--
module.info.no
0
B
-rw-r--r--
module.info.no.auto
148
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
163
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
199
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
208
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
176
B
-rw-r--r--
module.info.ru
0
B
-rw-r--r--
module.info.ru.auto
249
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
172
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
158
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
154
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
270
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
218
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
283
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
200
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
195
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
140
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
149
B
-rw-r--r--
prefs.info
55
B
-rw-r--r--
rbac-mapping
80
B
-rw-r--r--
reboot.cgi
725
B
-rwxr-xr-x
save_action.cgi
6.37
KB
-rwxr-xr-x
save_hostconfig_action.cgi
4.63
KB
-rwxr-xr-x
save_launchd.cgi
1.72
KB
-rwxr-xr-x
save_local.cgi
706
B
-rwxr-xr-x
save_rc.cgi
2.48
KB
-rwxr-xr-x
save_services.cgi
1.44
KB
-rwxr-xr-x
save_startscript.cgi
1.9
KB
-rwxr-xr-x
save_systemd.cgi
2.03
KB
-rwxr-xr-x
save_upstart.cgi
2.15
KB
-rwxr-xr-x
shutdown.cgi
591
B
-rwxr-xr-x
start_stop.cgi
890
B
-rwxr-xr-x
syslog_logs.pl
350
B
-rwxr-xr-x
uninstall.pl
1.91
KB
-rwxr-xr-x
updateboot.pl
936
B
-rwxr-xr-x
win32.pl
1.93
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_hostconfig_action.cgi
#!/usr/bin/perl # save_hostconfig_action.cgi # # Creates a new StartupItems directory containing a script and # plist, and adds the appropriate entry into the hostconfig file. # # Written by Michael A. Peters <mpeters@mac.com> for the webmin init # module for Darwin and OS X. require './init-lib.pl'; $access{'bootup'} == 1 || &error("You are not allowed to edit the bootup script"); &ReadParse(); #make sure required fields have been filled out if ( $in{'action_name'} eq "" ) { &error("The $text{'edit_hostconfig_actionname'} field may not be left blank"); } elsif ( $in{'script_name'} eq "" ) { &error("The $text{'edit_hostconfig_scriptname'} field may not be left blank"); } elsif ( $in{'execute'} eq "" ) { &error("The $text{'edit_start'} field may not be left blank"); } #check for legality of action name and script name if (not $in{'action_name'}=~ /^[A-Z][A-Z0-9_]*$/ ) { &error("The $text{'edit_hostconfig_actionname'} should contain only upper case letters, numbers, and _ and should start with an upper case letter"); } else { #make sure action name is not in use open(LOCAL, "<$config{'hostconfig'}"); @temp = <LOCAL>; close(LOCAL); foreach $element (@temp) { if ($element =~ /^$in{'action_name'}=(.*)$/ ) { &error("$in{'action_name'} is already in use. Please choose another value for $text{'edit_hostconfig_actionname'}"); } } } if (not $in{'script_name'}=~ /^[A-Za-z0-9_-]*$/ ) { &error("The $text{'edit_hostconfig_scriptname'} should contain only letters, numbers, _, and -"); } else { if ( -d "$config{'darwin_setup'}/$in{'script_name'}" ) { # Perl does know about hfs+ preservation but not sensitivity- # I checked :) &error("$in{'script_name'} is already in use for another action. Please choose another value for $text{'edit_hostconfig_scriptname'}"); } } #assign values $in{'execute'} =~ s/\r//g; if ( $in{'start'} eq "" ) { $in{'start'} = "Starting $in{'script_name'}"; } if ( $in{'stop'} eq "" ) { $in{'stop'} = "Stopping $in{'script_name'}"; } if ( $in{'description'} eq "" ) { $in{'description'} = "No description available"; } #assign array values if ( $in{'provides'} ne "" ) { @provides_array = split (/:/, $in{'provides'}); $provides = "\"$provides_array[0]\""; if ( $provides_array[1] ne "" ) { shift @provides_array; foreach $element (@provides_array) { $provides = "$provides, \"$element\"" } } } if ( $in{'requires'} ne "" ) { @requires_array = split (/:/, $in{'requires'}); $requires = "\"$requires_array[0]\""; if ( $requires_array[1] ne "" ) { shift @requires_array; foreach $element (@requires_array) { $requires = "$requires, \"$element\"" } } } if ( $in{'uses'} ne "" ) { @uses_array = split (/:/, $in{'uses'}); $uses = "\"$uses_array[0]\""; if ( $uses_array[1] ne "" ) { shift @uses_array; foreach $element (@uses_array) { $uses = "$uses, \"$element\"" } } } # make array string $array=""; if ( $provides ne "" ) { $array = "\tProvides\t= \($provides\);\n"; } if ( $requires ne "" ) { $array = "$array\tRequires\t= \($requires\);\n"; } if ( $uses ne "" ) { $array = "$array\tUses\t= \($uses\);\n"; } # make plist $plist = "\{\n\tDescription\t= \"$in{'description'}\";\n$array\tOrderPreference\t= \"$in{'order'}\";\n\tMessages =\n\t\{\n\t\tstart\t= \"$in{'start'}\";\n\t\tstop\t=\"$in{'stop'}\";\n\t\};\n\}\n"; # make startscript $startscript = "#!/bin/sh\n\n. /etc/rc.common\n\nif \[ \"\$\{$in{'action_name'}:=-NO-\}\" = \"-YES-\" \]; then\n\tConsoleMessage \"$in{'start'}\"\n$in{'execute'}\nfi\n"; # So write the files already! if (not -d "$config{'darwin_setup'}") { mkdir ("$config{'darwin_setup'}", 0755); } # startup dir for this action should not yet exist mkdir ("$config{'darwin_setup'}/$in{'script_name'}", 0755) || &error("Could not create $config{'darwin_setup'}/$in{'script_name'}"); &open_tempfile(LOCAL, ">$config{'darwin_setup'}/$in{'script_name'}/$config{'plist'}"); &print_tempfile(LOCAL, $plist); &close_tempfile(LOCAL); chmod(0644, "$config{'darwin_setup'}/$in{'script_name'}/$config{'plist'}"); &open_tempfile(LOCAL, ">$config{'darwin_setup'}/$in{'script_name'}/$in{'script_name'}"); &print_tempfile(LOCAL, $startscript); &close_tempfile(LOCAL); chmod(0750, "$config{'darwin_setup'}/$in{'script_name'}/$in{'script_name'}"); &lock_file($config{'hostconfig'}); &open_tempfile(LOCAL, ">>$config{'hostconfig'}"); &print_tempfile(LOCAL, "$in{'action_name'}=$in{'boot'}\n"); &close_tempfile(LOCAL); &unlock_file($config{'hostconfig'}); &webmin_log("new_action", undef, undef, \%in); &redirect("edit_hostconfig.cgi?0+$in{'action_name'}"); #print "Content-type: text/plain", "\n\n"; #print "Debug\n\n"; #print "$plist"; #print "\n\n"; #print "$startscript"; #print "\n";
Close