shell bypass 403

UnknownSec Shell

: /home3/espa7358/www/_app/Helpers/ [ drwxr-xr-x ]
Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.48.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep 16 12:22:07 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.5.151
Your Ip: 216.73.216.19
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : Googl.class.php
<?php

class Googl {

    private $ApiUrl;
    private $ApiKey;
    private $LongUrl;
    private $DataUrl;

    /**
     * Método construtor 
     * 
     * Verifica se existem as funções curl_init() e json_decode() 
     *  utilizadas pela classe 
     */
    public function __construct($GoogleApiKey) {
        $this->ApiKey = $GoogleApiKey;
        $this->ApiUrl = 'https://www.googleapis.com/urlshortener/v1/url?fields=id%2ClongUrl&key=' . $this->ApiKey;
    }

    public function Short($Link) {
        $this->LongUrl = $Link;
        $this->DataUrl = array();
        $this->DataUrl['longUrl'] = $this->LongUrl;
        $this->DataUrl['key'] = $this->ApiKey;
        $this->DataUrl = json_encode($this->DataUrl);

        $Ch = curl_init();
        curl_setopt($Ch, CURLOPT_URL, $this->ApiUrl);
        curl_setopt($Ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($Ch, CURLOPT_SSL_VERIFYPEER, 0);
        curl_setopt($Ch, CURLOPT_HEADER, 0);
        curl_setopt($Ch, CURLOPT_HTTPHEADER, array('Content-type:application/json'));
        curl_setopt($Ch, CURLOPT_POST, 1);
        curl_setopt($Ch, CURLOPT_POSTFIELDS, $this->DataUrl);
        $this->DataUrl = json_decode(curl_exec($Ch));
        curl_close($Ch);

        return $this->DataUrl->id;
    }

}
© 2026 UnknownSec