!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/apex_tdfonline/php/3ros/simplesamlphp/modules/core/docs/   drwxr-xr-x
Free 11.88 GB of 61.93 GB (19.19%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     authproc_attributealter.txt (2.44 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
`core:AttributeAlter`
==========

This filter can be used to substitute and replace different parts of the attribute value based on regular expressions.

Parameters
----------

`class`
:   This is the name of the filter.
    It must be `'core:AttributeAlter'`.

`subject`
:   The attribute in which the search is preformed.
    This parameter is REQUIRED and the filter will throw an exception if this parameter is not set.
    
`pattern`
:   The regular expression used.
    This parameter is REQUIRED and the filter will throw an exception if this parameter is not set.
    It is not possible to use backreference.
    
`replacement`
:   The value used to replace the searched value.
    This parameter is REQUIRED if `%replace` is not used.
    If `%replace` is used and `replacement` is not set, then the matched text is used instead.
    
`target`
:   The target attribute where the replaced attribute value is put.
    This parameter is OPTIONAL.
    If this parameter is not set `subject` is used as `target`.

`%replace`
:   Indicate whether the searched part should be replaced or the whole value.
    this parameter is OPTIONAL.
    
Examples
--------

Change the domain on the `mail` attribute (when both the new and old domain is known):

    10 => array(
        'class' => 'core:AttributeAlter',
        'subject' => 'mail',
        'pattern' => '/olddomain.com/',
        'replacement' => 'newdomain.com',
    ),

Change the domain on the `mail` attribute (when new domain is known):

	10 => array(
		'class' => 'core:AttributeAlter',
		'subject' => 'mail',
		'pattern' => '/(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,6}$/',
		'replacement' => 'newdomain.com',
	),
    
Set the eduPersonPrimaryAffiliation based on users distinguishedName:

    10 => array(
        'class' => 'core:AttributeAlter',
        'subject' => 'dn',
        'pattern' => '/OU=Staff/',
        'replacement' => 'staff',
        'target' => 'eduPersonPrimaryAffiliation',
    ),
    
Change the eduPersonPrimaryAffiliation:

    10 => array(
        'class' => 'core:AttributeAlter',
        'subject' => 'eduPersonPrimaryAffiliation',
        'pattern' => '/Student in school/',
        'replacement' => 'student',
        '%replace',
    ),
    
Get the domain of the email and put it in a seperat attribute:

    10 => array(
        'class' => 'core:AttributeAlter',
        'subject' => 'mail',
        'pattern' => '/(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,6}$/',
        'target' => 'domain',
        '%replace',
    ),

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