!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

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


Viewing file:     highlight_pipe.py (1.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
from subprocess import *

class HighlightPipe:
    """ This Python package serves as interface to the highlight utility.
    Input and output streams are handled with pipes.
    Command line parameter length is validated before use."""

    def __init__(self):
        self.cmd = 'highlight'
        self.src=''
        self.options=dict()
        self.success=False

    def getResult(self):
        cmd = self.cmd
        for k, v in self.options.iteritems():
            option=" --%s" % k
            if ( v != '1'): option += "=%s" % v
            if (len(option)<50): cmd += option
        p = Popen(cmd, shell=True, bufsize=512, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=True)
        (child_stdin, child_stdout, child_stderr) = (p.stdin, p.stdout, p.stderr)

        child_stdin.write(self.src)
        child_stdin.close()
        err_msg = child_stderr.readlines()
        if (len(err_msg)>0): return err_msg
        self.success=True
        return child_stdout.readlines()


###############################################################################

def main():
    gen = HighlightPipe();
    gen.options['syntax'] = 'c'
    gen.options['style'] = 'edit-vim'
    gen.options['enclose-pre'] = '1'
    gen.options['fragment'] = '1'
    gen.options['inline-css'] = '1'
    gen.src = 'int main ()\n{ return 0; }'

    print gen.getResult()
    if not gen.success: print "Execution failed."

if __name__=="__main__":
    main()

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5424 ]--