ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
src
/
AppBundle
/
DataFixtures
/
Viewing: CabFixtures.php
<?php namespace AppBundle\DataFixtures; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Common\Persistence\ObjectManager; use AppBundle\Entity\Company; use AppBundle\Entity\Address; use AppBundle\Entity\Cab; class CabFixtures extends Fixture { public function load(ObjectManager $manager) { // create 3 cab companies! Bam! $modelNames = array('mazda' , 'toyota', 'nissan', 'renault','bmw' ,' mercedes' ); $registratiPrefix = 'CE '; $registrationStart = 400; $costsPerHour = array( 5000, 3000, 2500, 4000, 3500, 6000); for ($i = 6; $i <= 8; $i++) { $company= new Company(); $company->setName("company ".$i); $company->setDescription("Company having only cabs"); $company->setEmail("company".$i."@email.com"); $address = new Address(); $address->setTown("town of company".$i); $address->setArea("area of company". $i); $company->setHeadOfficeAddress( $address); $modelName = $modelNames[ random_int(0, count($modelNames)-1)]; $registration = $registratiPrefix. $registrationStart++; $costPerHour = $costsPerHour[random_int(0, count($costsPerHour)-1)]; $cab = new Cab($company, $modelName,$registration,null,true, $costPerHour); $manager->persist($company); $manager->persist($cab); } $manager->flush(); } }
Coded With 💗 by
0x6ick