ambionics / phpggc

PHPGGC is a library of PHP unserialize() payloads along with a tool to generate them, from command line or programmatically.
https://ambionics.io/blog
Apache License 2.0
3.2k stars 492 forks source link

PHP@8.2 deprecate functions. #150

Closed joshuavanderpoll closed 1 year ago

joshuavanderpoll commented 1 year ago

Hello, PHPGGC drops some deprecation warnings at the latest PHP@8.2 version as can be seen PHP 8.2: Deprecated Features - Manual .

PHPGGC Log:


Deprecated: Creation of dynamic property PHPGGC::$parameters is deprecated in /home/user/phpggc-master/lib/PHPGGC.php on line 831
Deprecated: Creation of dynamic property PHPGGC\Enhancement\Enhancements::$enhancements is deprecated in /home/user/phpggc-master/lib/PHPGGC/Enhancement/Enhancements.php on line 9
Deprecated: Creation of dynamic property PHPGGC::$enhancements is deprecated in /home/user/phpggc-master/lib/PHPGGC.php on line 183
Deprecated: Creation of dynamic property PHPGGC\Phar\Phar::$metadata is deprecated in /home/user/phpggc-master/lib/PHPGGC/Phar/Format.php on line 27
Deprecated: Creation of dynamic property PHPGGC\Phar\Phar::$dummy_metadata is deprecated in /home/user/phpggc-master/lib/PHPGGC/Phar/Format.php on line 77```
cfreal commented 1 year ago

Hello Joshua,

Patched ! Thanks !

Charles