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 /
bandwidth /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
1.14
KB
-rw-r--r--
acl_security.pl
399
B
-rwxr-xr-x
backup_config.pl
1.21
KB
-rwxr-xr-x
bandwidth-lib.pl
21.19
KB
-rwxr-xr-x
config
50
B
-rw-r--r--
config-mandrake-linux
30
B
-rw-r--r--
config.info
260
B
-rw-r--r--
config.info.ca
296
B
-rw-r--r--
config.info.de
285
B
-rw-r--r--
config.info.es
292
B
-rw-r--r--
config.info.fr
267
B
-rw-r--r--
config.info.hr
0
B
-rw-r--r--
config.info.hu
279
B
-rw-r--r--
config.info.ms
259
B
-rw-r--r--
config.info.nl
270
B
-rw-r--r--
config.info.no
266
B
-rw-r--r--
config.info.pl
272
B
-rw-r--r--
config.info.sv
0
B
-rw-r--r--
defaultacl
8
B
-rw-r--r--
index.cgi
11.93
KB
-rwxr-xr-x
log_parser.pl
372
B
-rwxr-xr-x
module.info
189
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
143
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
230
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
265
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
247
B
-rw-r--r--
module.info.ca
161
B
-rw-r--r--
module.info.cs
29
B
-rw-r--r--
module.info.cs.auto
115
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
136
B
-rw-r--r--
module.info.de
140
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
294
B
-rw-r--r--
module.info.es
42
B
-rw-r--r--
module.info.es.auto
114
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
192
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
244
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
174
B
-rw-r--r--
module.info.fr
39
B
-rw-r--r--
module.info.fr.auto
132
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
181
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
158
B
-rw-r--r--
module.info.hu
29
B
-rw-r--r--
module.info.hu.auto
149
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
172
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
189
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
165
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
168
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
167
B
-rw-r--r--
module.info.ms
143
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
149
B
-rw-r--r--
module.info.nl
28
B
-rw-r--r--
module.info.nl.auto
109
B
-rw-r--r--
module.info.no
35
B
-rw-r--r--
module.info.no.auto
100
B
-rw-r--r--
module.info.pl
132
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
164
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
170
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
176
B
-rw-r--r--
module.info.ru
61
B
-rw-r--r--
module.info.ru.auto
216
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
152
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
138
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
262
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
197
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
273
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
231
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
174
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
126
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
132
B
-rw-r--r--
rotate.cgi
391
B
-rwxr-xr-x
rotate.pl
1.3
KB
-rwxr-xr-x
setup.cgi
3.18
KB
-rwxr-xr-x
turnoff.cgi
1.22
KB
-rwxr-xr-x
uninstall.pl
264
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : setup.cgi
#!/usr/bin/perl # Add needed firewall rules and syslog entry, and apply configurations require './bandwidth-lib.pl'; &ReadParse(); $access{'setup'} || &error($text{'setup_ecannot'}); # Work out interface $iface = $in{'iface'} || $in{'other'}; $iface =~ /^\S+$/ || &error($text{'setup_eiface'}); # Add missing firewall rules $err = &setup_rules($iface); &error($err) if ($err); if ($syslog_module eq "syslog") { # Add syslog entry $conf = &syslog::get_config(); $sysconf = &find_sysconf($conf); if (!$sysconf) { &lock_file($syslog::config{'syslog_conf'}); if ($syslog::config{'tags'}) { local $conf = &syslog::get_config(); ($tag) = grep { $_->{'tag'} eq '*' } @$conf; } &syslog::create_log({ 'file' => $bandwidth_log, 'active' => 1, 'section' => $tag, 'sel' => [ &get_loglevel() ] }); &unlock_file($syslog::config{'syslog_conf'}); $err = &syslog::restart_syslog(); &error($err) if ($err); } } else { # Add syslog-ng entry $conf = &syslog_ng::get_config(); ($dest, $filter, $log) = &find_sysconf_ng($conf); &lock_file($syslog_ng::config{'syslogng_conf'}); if (!$dest) { # Create destination file entry $dest = { 'name' => 'destination', 'type' => 1, 'values' => [ 'd_bandwidth' ], 'members' => [ { 'name' => 'file', 'values' => [ $bandwidth_log ] } ] }; &syslog_ng::save_directive($conf, undef, undef, $dest, 0); } if (!$filter) { # Create filter for facility and level local @ll = &get_loglevel(); ($fac, $lvl) = split(/\./, $ll[0]); $lvl =~ s/^=//; $filter = { 'name' => 'filter', 'type' => 1, 'values' => [ 'f_bandwidth' ], 'members' => [ ] }; if ($fac ne "*") { push(@{$filter->{'members'}}, { 'name' => 'facility', 'values' => [ $fac ] }); } if ($fac ne "*" && $lvl ne "*") { push(@{$filter->{'members'}}, "and"); } if ($lvl ne "*") { push(@{$filter->{'members'}}, { 'name' => 'priority', 'values' => [ $lvl ] }); } &syslog_ng::save_directive($conf, undef, undef, $filter, 0); } if (!$log) { # Create log for the default source, destination and filter @sources = &syslog_ng::find("source", $conf); $log = { 'name' => 'log', 'type' => 1, 'values' => [ ], 'members' => [ { 'name' => 'source', 'values' => [ $sources[0]->{'value'} ], }, { 'name' => 'filter', 'values' => [ "f_bandwidth" ], }, { 'name' => 'destination', 'values' => [ "d_bandwidth" ], }, ] }; &syslog_ng::save_directive($conf, undef, undef, $log, 0); } &unlock_file($syslog_ng::config{'syslogng_conf'}); } # Save the interface &lock_file($module_config_file); $config{'iface'} = $iface; &save_module_config(); &unlock_file($module_config_file); # Setup the rotation cron job $job = &find_cron_job(); if (!$job) { &cron::create_wrapper($cron_cmd, $module_name, "rotate.pl"); $job = { 'user' => 'root', 'active' => 1, 'command' => $cron_cmd, 'mins' => '0', 'hours' => '*', 'days' => '*', 'months' => '*', 'weekdays' => '*', }; &lock_file(&cron::cron_file($job)); &cron::create_cron_job($job); &unlock_file(&cron::cron_file($job)); } &webmin_log("setup", undef, $iface); &redirect("");
Close