shell bypass 403

GrazzMean Shell

Uname: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Software: Apache
PHP version: 5.6.40 [ PHP INFO ] PHP os: Linux
Server Ip: 217.160.0.194
Your Ip: 216.73.216.158
User: u72294154 (9179942) | Group: ftpusers (600)
Safe Mode: OFF
Disable Function:
NONE

name : Slider.php
<?

class Slider extends AppModel {

    public $archivos = array('imagen');
    public $belongsTo = array(
        'Inmueble' => array(
            'className' => 'Inmueble',
            'foreignKey' => 'inmueble_id'
        )
    );
    public $validate = array(
        'imagen' => array(
            'required' => array(
                'rule' => 'notEmptyFile',
                'message' => 'Imagen requerida',
            ),
            'ext' => array(
                'allowEmpty' => true,
                'rule' => array('checkExtension', array('jpg', 'jpeg', 'gif', 'png')),
                'message' => 'La imagen introducida no es correcta (jpg, jpeg, gif, png)',
            ),
        ),
    );

    public function afterSave($created, $options = array()) {
        parent::afterSave($created, $options);
        
        //Orden
        if ($created) {
            $ultima = $this->find('first', array('order' => array($this->name . '.orden' => 'DESC')));
            if (!empty($ultima)) {
                $orden = (int) $ultima[$this->name]['orden'] + 1;
            } else {
                $orden = 1;
            }

            $this->updateAll(array('orden' => $orden), array($this->name . '.id' => $this->id));
        }
    }

    public function afterDelete() {
        parent::afterDelete();
        
        $this->reordenarEntidades();
    }

}
© 2026 GrazzMean