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 /
lpadmin /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
1.16
KB
-rw-r--r--
acl_security.pl
4.4
KB
-rwxr-xr-x
aix-lib.pl
9.45
KB
-rwxr-xr-x
ascii.txt
4.19
KB
-rw-r--r--
base_coas_driver
560
B
-rwxr-xr-x
bw.fig
2.75
KB
-rw-r--r--
bw.ps
6.46
KB
-rw-r--r--
caldera-driver.pl
12.31
KB
-rwxr-xr-x
cancel_all.cgi
535
B
-rwxr-xr-x
catalog.devices
12.34
KB
-rw-r--r--
cgi_args.pl
284
B
-rwxr-xr-x
cluster.cgi
2.06
KB
-rwxr-xr-x
cluster_add.cgi
2.13
KB
-rwxr-xr-x
cluster_delete.cgi
529
B
-rwxr-xr-x
colour.fig
2.91
KB
-rw-r--r--
colour.ps
6.63
KB
-rw-r--r--
config-AlmaLinux-7.0-ALL
323
B
-rw-r--r--
config-Amazon-Linux-2-ALL
323
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
323
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
323
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
323
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
323
B
-rw-r--r--
config-Rocky-Linux-7.0-ALL
323
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
323
B
-rw-r--r--
config-aix
281
B
-rw-r--r--
config-coherent-linux
323
B
-rw-r--r--
config-corel-linux
228
B
-rw-r--r--
config-debian-linux
228
B
-rw-r--r--
config-debian-linux-3.1-3.9
327
B
-rw-r--r--
config-debian-linux-4.0-ALL
333
B
-rw-r--r--
config-freebsd
230
B
-rw-r--r--
config-generic-linux
228
B
-rw-r--r--
config-gentoo-linux
248
B
-rw-r--r--
config-hpux
323
B
-rw-r--r--
config-irix
213
B
-rw-r--r--
config-macos
230
B
-rw-r--r--
config-mandrake-linux
245
B
-rw-r--r--
config-mandrake-linux-8.0-ALL
276
B
-rw-r--r--
config-msc-linux
228
B
-rw-r--r--
config-netbsd
230
B
-rw-r--r--
config-open-linux
309
B
-rw-r--r--
config-open-linux-3.1e
239
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
318
B
-rw-r--r--
config-openbsd
230
B
-rw-r--r--
config-openmamba-linux
229
B
-rw-r--r--
config-pardus-linux
228
B
-rw-r--r--
config-redhat-linux
228
B
-rw-r--r--
config-redhat-linux-24.0-ALL
339
B
-rw-r--r--
config-redhat-linux-7.0
283
B
-rw-r--r--
config-redhat-linux-7.1
286
B
-rw-r--r--
config-redhat-linux-7.2-8.1
394
B
-rw-r--r--
config-redhat-linux-9.0-23.0
337
B
-rw-r--r--
config-slackware-linux
228
B
-rw-r--r--
config-slackware-linux-8.1-ALL
246
B
-rw-r--r--
config-solaris
304
B
-rw-r--r--
config-solaris-10-ALL
330
B
-rw-r--r--
config-solaris-9
296
B
-rw-r--r--
config-suse-linux
226
B
-rw-r--r--
config-suse-linux-8.2-ALL
322
B
-rw-r--r--
config-trustix-linux
313
B
-rw-r--r--
config-turbo-linux
228
B
-rw-r--r--
config-united-linux
322
B
-rw-r--r--
config-unixware
302
B
-rw-r--r--
config.info
1.31
KB
-rw-r--r--
config.info.ca
1.53
KB
-rw-r--r--
config.info.cs
1.25
KB
-rw-r--r--
config.info.de
1.43
KB
-rw-r--r--
config.info.es
1.17
KB
-rw-r--r--
config.info.fr
1.63
KB
-rw-r--r--
config.info.hu
707
B
-rw-r--r--
config.info.ja
823
B
-rw-r--r--
config.info.nl
1.41
KB
-rw-r--r--
config.info.no
1.37
KB
-rw-r--r--
config.info.pl
1.45
KB
-rw-r--r--
config.info.pt_BR
1.58
KB
-rw-r--r--
config.info.ru
1.74
KB
-rw-r--r--
config.info.sv
651
B
-rw-r--r--
config.info.tr
1.39
KB
-rw-r--r--
config.info.uk
1.81
KB
-rw-r--r--
config.info.zh
573
B
-rw-r--r--
config.info.zh_TW
539
B
-rw-r--r--
cups-driver.pl
6.37
KB
-rwxr-xr-x
cups-lib.pl
8.67
KB
-rwxr-xr-x
defaultacl
73
B
-rw-r--r--
delete_printer.cgi
690
B
-rwxr-xr-x
delete_printers.cgi
839
B
-rwxr-xr-x
drivers
18.34
KB
-rw-r--r--
edit_printer.cgi
10.08
KB
-rwxr-xr-x
freebsd-lib.pl
7.26
KB
-rwxr-xr-x
hpux-driver.pl
3.13
KB
-rwxr-xr-x
hpux-lib.pl
9.83
KB
-rwxr-xr-x
index.cgi
5.83
KB
-rwxr-xr-x
irix-driver.pl
3.13
KB
-rwxr-xr-x
irix-lib.pl
10.68
KB
-rwxr-xr-x
linux-lib.pl
8.97
KB
-rwxr-xr-x
list_jobs.cgi
2.25
KB
-rwxr-xr-x
log_parser.pl
1021
B
-rwxr-xr-x
lpadmin-lib.pl
19.89
KB
-rwxr-xr-x
lprng-lib.pl
10.26
KB
-rwxr-xr-x
module.info
494
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
159
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
223
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
290
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
306
B
-rw-r--r--
module.info.ca
167
B
-rw-r--r--
module.info.ca.auto
16
B
-rw-r--r--
module.info.cs
31
B
-rw-r--r--
module.info.cs.auto
155
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
168
B
-rw-r--r--
module.info.de
148
B
-rw-r--r--
module.info.de.auto
16
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
362
B
-rw-r--r--
module.info.es
38
B
-rw-r--r--
module.info.es.auto
157
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
217
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
246
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
168
B
-rw-r--r--
module.info.fr
39
B
-rw-r--r--
module.info.fr.auto
176
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
205
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
188
B
-rw-r--r--
module.info.hu
19
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
177
B
-rw-r--r--
module.info.ja
27
B
-rw-r--r--
module.info.ja.auto
213
B
-rw-r--r--
module.info.ko
25
B
-rw-r--r--
module.info.ko.auto
176
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
219
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
189
B
-rw-r--r--
module.info.ms
152
B
-rw-r--r--
module.info.ms.auto
16
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
196
B
-rw-r--r--
module.info.nl
33
B
-rw-r--r--
module.info.nl.auto
133
B
-rw-r--r--
module.info.no
31
B
-rw-r--r--
module.info.no.auto
137
B
-rw-r--r--
module.info.pl
160
B
-rw-r--r--
module.info.pl.auto
16
B
-rw-r--r--
module.info.pt
39
B
-rw-r--r--
module.info.pt.auto
149
B
-rw-r--r--
module.info.pt_BR
42
B
-rw-r--r--
module.info.pt_BR.auto
155
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
199
B
-rw-r--r--
module.info.ru
25
B
-rw-r--r--
module.info.ru.auto
245
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
184
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
192
B
-rw-r--r--
module.info.sv
30
B
-rw-r--r--
module.info.sv.auto
141
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
393
B
-rw-r--r--
module.info.tr
27
B
-rw-r--r--
module.info.tr.auto
166
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
281
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
304
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
189
B
-rw-r--r--
module.info.zh
24
B
-rw-r--r--
module.info.zh.auto
136
B
-rw-r--r--
module.info.zh_TW
30
B
-rw-r--r--
module.info.zh_TW.auto
142
B
-rw-r--r--
old-caldera-driver.pl
9.74
KB
-rwxr-xr-x
openbsd-lib.pl
7.26
KB
-rwxr-xr-x
prefs.info
40
B
-rw-r--r--
printconf-driver.pl
9.52
KB
-rwxr-xr-x
rbac-mapping
248
B
-rw-r--r--
redhat-driver.pl
12.42
KB
-rwxr-xr-x
restart.cgi
301
B
-rwxr-xr-x
save_printer.cgi
5.85
KB
-rwxr-xr-x
solaris-driver.pl
4.03
KB
-rwxr-xr-x
solaris-lib.pl
12.17
KB
-rwxr-xr-x
sortdrivers-by-drv.pl
222
B
-rwxr-xr-x
sortdrivers.pl
242
B
-rwxr-xr-x
start.cgi
377
B
-rwxr-xr-x
stop.cgi
374
B
-rwxr-xr-x
stp
2.45
KB
-rw-r--r--
suse-driver.pl
10.62
KB
-rwxr-xr-x
test_form.cgi
887
B
-rwxr-xr-x
test_print.cgi
1.19
KB
-rwxr-xr-x
unixware-lib.pl
7.81
KB
-rwxr-xr-x
view_job.cgi
909
B
-rwxr-xr-x
webmin-driver.pl
1.04
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_printer.cgi
#!/usr/bin/perl # save_printer.cgi # Create or modify a printer require './lpadmin-lib.pl'; &ReadParse(); &error_setup($text{'save_err'}); if ($in{'delete'}) { # Redirect to delete page &redirect("delete_printer.cgi?name=".&urlize($in{'name'})); return; } # Check ACL if ($in{'new'}) { $access{'add'} || &error($text{'save_eadd'}); } else { &can_edit_printer($in{'name'}) || &error($text{'save_eedit'}); } # validate and store printer details $in{'name'} =~ /^[A-z0-9\-\_\.]+$/ || &error(&text('save_ename', $in{'name'})); if ($in{'new'} && &get_printer($in{'name'})) { &error(&text('save_edup', $in{'name'})); } $prn{'name'} = $in{'name'}; $prn{'accepting'} = $in{'accepting'}; if (!$prn{'accepting'}) { $prn{'accepting_why'} = $in{'accepting_why'}; } $prn{'enabled'} = $in{'enabled'}; if (!$prn{'enabled'}) { $prn{'enabled_why'} = $in{'enabled_why'}; } $prn{'desc'} = $in{'desc'}; if (&printer_support('allow')) { @ul = split(/\s+/, $in{'users'}); if ($in{'access'} == 0) { $prn{'allow_all'}++; } elsif ($in{'access'} == 1) { $prn{'deny_all'}++; } else { $w = $in{'access'} == 2 ? "allow" : "deny"; if (!@ul) { &error($text{"save_e$w"}); } foreach $u (@ul) { if ($u !~ /^\S+\!\S+$/ && !(@dummy=getpwnam($u))) { &error(&text('save_euser', $u)); } } $prn{$w} = \@ul; } } if (&printer_support('banner')) { $prn{'banner'} = $in{'prbanner'}; } if (&printer_support('ctype')) { if ($in{'ctype_simple'}) { push(@ctype, "simple"); } if ($in{'ctype_postscript'}) { push(@ctype, "postscript"); } if ($in{'ctype_other'}) { push(@ctype, split(/\s+/, $in{'ctype_olist'})); } &error($text{'save_etype'}) if (!@ctype && $in{'dest'} != 2); $prn{'ctype'} = \@ctype; } $prn{'default'} = $in{'default'}; if (&printer_support('msize')) { if ($in{'msize_def'} == 2) { $prn{'msize'} = 0; } elsif ($in{'msize_def'} == 0) { $in{'msize'} =~ /^\d+$/ || &error($text{'save_emax'}); $prn{'msize'} = $in{'msize'}; } } if (&printer_support('alias')) { @alias = split(/\s+/, $in{'alias'}); $prn{'alias'} = \@alias; } if ($in{'new'} || &printer_support('editdest')) { if ($in{'webmin'}) { $drv = &parse_webmin_driver(); $dfunc = \&create_webmin_driver; } else { $drv = &parse_driver(); $dfunc = \&create_driver; } # validate and store destination section $SIG{'ALRM'} = \&connect_time_out; if ($in{'dest'} == 0) { # printing to some device $prn{'dev'} = $in{'dev'}; $prn{'iface'} = &$dfunc(\%prn, $drv); } elsif ($in{'dest'} == 1) { # printing to some file (-r $in{'file'}) || ($in{'file'} =~ /^\|(.*)/ && -r $1) || &error(&text('save_efile', $in{'file'})); $prn{'dev'} = $in{'file'}; $prn{'iface'} = &$dfunc(\%prn, $drv); } elsif ($in{'dest'} == 2) { # printing to a unix host local ($rhost, $rport); if ($in{'rhost'} =~ /^(\S+):(\d+)$/) { $rhost = $1; $rport = $2; } else { $rhost = $in{'rhost'}; $rport = 515; } &to_ipaddress($rhost) || &to_ip6address($rhost) || &error(&text('save_erhost', $rhost)); $rport =~ /^\d+$/ || &error(&text('save_erport', $rport)); $in{'rqueue'} =~ /^[A-z0-9\-\_\.\/]+$/ || (!$in{'rqueue'} && &printer_support('rnoqueue')) || &error(&text('save_erqueue', $in{'rqueue'})); $prn{'rhost'} = $in{'rhost'}; $prn{'rqueue'} = $in{'rqueue'}; $prn{'rtype'} = $in{'rtype'}; if ($drv->{'mode'} && !&printer_support('riface')) { &error($text{'save_eremote'}); } if ($in{'check'} && (!$in{'rtype'} || $in{'rtype'} eq 'bsd')) { # Try connecting to the LPR port alarm(10); &open_socket($rhost, 515, TEST); close(TEST); alarm(0); } $prn{'iface'} = &$dfunc(\%prn, $drv); } elsif ($in{'dest'} == 3) { # printing to windows $sdrv = { 'server' => $in{'server'}, 'share' => $in{'share'}, 'user' => $in{'suser'}, 'pass' => $in{'spass'}, 'workgroup' => $in{'wgroup'}, 'program' => &$dfunc(\%prn, $drv) }; $prn{'dev'} = "/dev/null"; $prn{'iface'} = $in{'webmin'} ? &create_webmin_windows_driver(\%prn, $sdrv) : &create_windows_driver(\%prn, $sdrv); if ($in{'check'}) { # Try connecting to the SMB port alarm(10); &open_socket($sdrv->{'server'}, 139, TEST); close(TEST); alarm(0); } } elsif ($in{'dest'} == 4) { # printing to hpnp server $hdrv = { 'server' => $in{'hpnp'}, 'port' => $in{'port'}, 'program' => &$dfunc(\%prn, $drv) }; $prn{'iface'} = &create_hpnp_driver(\%prn, $hdrv); $prn{'dev'} = "/dev/null"; } elsif ($in{'dest'} == 5) { # direct connection printing &to_ipaddress($in{'dhost'}) || &to_ip6address($in{'dhost'}) || &error(&text('save_edhost', $in{'dhost'})); $in{'dport'} =~ /^\d+$/ || &error($text{'save_edport'}); $prn{'dhost'} = $in{'dhost'}; $prn{'dport'} = $in{'dport'}; $prn{'iface'} = &$dfunc(\%prn, $drv); if ($in{'check'}) { # Try connecting to the port alarm(10); &open_socket($prn{'dhost'}, $prn{'dport'}, TEST); close(TEST); alarm(0); } } } # Call os-specific validation function if (defined(&validate_printer)) { $err = &validate_printer(\%prn); &error($err) if ($err); } # Create the printer if ($in{'new'}) { &create_printer(\%prn); &system_logged("$config{'apply_cmd'} >/dev/null 2>&1 </dev/null") if ($config{'apply_cmd'}); &webmin_log("create", "printer", $prn{'name'}, &log_info(\%prn)); } else { &modify_printer(\%prn); &system_logged("$config{'apply_cmd'} >/dev/null 2>&1 </dev/null") if ($config{'apply_cmd'}); &webmin_log("modify", "printer", $prn{'name'}, &log_info(\%prn)); } # Update ACL if ($in{'new'} && $access{'printers'} ne '*') { $access{'printers'} .= " ".$in{'name'}; &save_module_acl(\%access); } # Create on cluster @slaveerrs = &save_on_cluster($in{'new'}, \%prn, $drv, $sdrv || $hdrv, $in{'webmin'}, $in{'dest'}); if (@slaveerrs) { &error(&text('save_errslave', "<p>".join("<br>", map { "$_->[0]->{'host'} : $_->[1]" } @slaveerrs))); } &redirect(""); sub connect_time_out { $connect_timed_out++; }
Close