!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/vendor/biscolab/laravel-recaptcha/src/   drwxr-xr-x
Free 28.33 GB of 117.98 GB (24.01%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ReCaptchaBuilderInvisible.php (3.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Copyright (c) 2017 - present
 * LaravelGoogleRecaptcha - ReCaptchaBuilderInvisible.php
 * author: Roberto Belotti - roby.belotti@gmail.com
 * web : robertobelotti.com, github.com/biscolab
 * Initial version created on: 12/9/2018
 * MIT license: https://github.com/biscolab/laravel-recaptcha/blob/master/LICENSE
 */

namespace Biscolab\ReCaptcha;

use 
Biscolab\ReCaptcha\Exceptions\InvalidConfigurationException;
use 
Illuminate\Support\Arr;

/**
 * Class ReCaptchaBuilderInvisible
 * @package Biscolab\ReCaptcha
 */
class ReCaptchaBuilderInvisible extends ReCaptchaBuilder
{

    
/**
     * @var null|string
     */
    
protected $form_id null;

    
/**
     * ReCaptchaBuilderInvisible constructor.
     *
     * @param string $api_site_key
     * @param string $api_secret_key
     */
    
public function __construct(string $api_site_keystring $api_secret_key)
    {

        
parent::__construct($api_site_key$api_secret_key'invisible');
    }

    
/**
     * Write HTML <button> tag in your HTML code
     * Insert before </form> tag
     *
     * @param string     $button_label
     * @param array|null $properties
     *
     * @return string
     */
    
public function htmlFormButton($button_label 'Submit', ?array $properties = []): string
    
{

        
$tag_properties '';

        
$properties array_merge([
            
'data-callback' => 'biscolabLaravelReCaptcha',
        ], 
$properties
        [
            
'data-sitekey'  => $this->api_site_key
        
]);

        if (empty(
$properties['class'])) {
            
$properties['class'] = 'g-recaptcha';
        } else {
            
$properties['class'] .= ' g-recaptcha';
        }

        
ksort($properties);

        if (
$properties) {
//            $tag_properties = str_replace("=", '="',
//                    http_build_query($properties, null, '" ', PHP_QUERY_RFC3986)) . '"';
            
$temp_properties = [];
            foreach (
$properties as $k => $v) {
                
$temp_properties[] = $k '="' $v '"';
            }

            
$tag_properties implode(" "$temp_properties);
        }

        return (
$this->version == 'invisible') ? '<button ' $tag_properties '>' $button_label '</button>' '';
    }

    
/**
     * Write script HTML tag in you HTML code
     * Insert before </head> tag
     *
     * @param array|null $configuration
     *
     * @return string
     * @throws \Exception
     */
    
public function htmlScriptTagJsApi(?array $configuration = []): string
    
{

        
$html parent::htmlScriptTagJsApi();

        
$form_id Arr::get($configuration'form_id');
        if (!
$form_id) {
            
$form_id $this->getFormId();
        } else {
            
$this->form_id $form_id;
        }
        
$html .= '<script>
               function biscolabLaravelReCaptcha(token) {
                 document.getElementById("' 
$form_id '").submit();
               }
             </script>'
;

        return 
$html;
    }

    
/**
     * @return string
     * @throws \Exception
     */
    
public function getFormId(): string
    
{

        if (!
$this->form_id) {
            
$form_id config('recaptcha.default_form_id');
        } else {
            
$form_id $this->form_id;
        }
        if (!
$form_id) {
            throw new 
InvalidConfigurationException("formId required");
        }

        return 
$form_id;
    }
}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0033 ]--