!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/home/scripts/pba/phc-read-only/src/process_ir/   drwxrwxr-x
Free 83.21 GB of 96.73 GB (86.02%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     stats.cpp (1.8 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * phc -- the open source PHP compiler
 * See doc/license/README.license for licensing information
 *
 * Convenience statistics functions.
 */

#include <iostream>
#include <sstream>

#include "stats.h"

using namespace std;
using namespace boost;

void reset_stats ()
{
    stats.clear ();
}

void reset_stringset_stats ()
{
    stringset_stats.clear ();
}

void add_to_stringset_stat (string name, string s)
{
    if (!stringset_stats[name])
    {
        stringset_stats[name] = new Stringset_stats;
    }
    stringset_stats[name]->insert (s);

}

Stringset_stats* get_stringset_stat (string name)
{
    if (stringset_stats[name])
        return stringset_stats[name];

    return new Stringset_stats;
}

int stringset_stats_size()
{
    return stringset_stats.size ();
}

void inc_stat (string name)
{
    stats[name]++;
}

void inc_stat (string name, string filename, int line_number)
{
    stringstream ss;
    ss << name << " (" << filename << ":" << line_number << ")";

    inc_stat (ss.str ());
}


int get_stat (string name) 
{
    return stats[name];
}

void set_stat (string name, int num)
{
    stats[name]=num;
}

void dump_stats ()
{
    string name;
    int count;
    foreach (tie (name, count), stats)
    {
        cout << name << '|' << count << "| " << endl;
    }
}

void dump_types_per_var_name () 
{
    string s;
    int n;
    foreach (tie (s, n), stats)
    {
        if ( (s.substr(0,28) == "Number of types assigned to "))
        {
            cout << "\'" << s.substr(28) << "\'" << ',' << n << endl;
        }
    }    
}

void dump_stringset_stats ()
{
    string s;
    Stringset_stats * sss;
    
    foreach (tie (s,sss), stringset_stats)
    {
        stringstream elements;
        int count=0;
        bool first=true;

        cout << s << "|";    //name
        foreach (string str, *sss)        //elements
        {    
            if (!first)
            {
                elements << ",";
            }
            first=false;        
            elements << str ;
            count++;
        }
        cout << count << '|' << elements.str () << endl;
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0043 ]--