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

Update gadgets chain class name to RCE20 in order to avoid conflict #174

Closed therealcoiffeur closed 10 months ago

therealcoiffeur commented 10 months ago

Update class name to RCE20 to avoid this type of conflict:

$ ./phpggc Laravel/RCE20 phpinfo 1
PHP Fatal error:  Cannot declare class GadgetChain\Laravel\RCE19, because the name is already in use in phpggc/gadgetchains/Laravel/RCE/19/chain.php on line 5

Fatal error: Cannot declare class GadgetChain\Laravel\RCE19, because the name is already in use in phpggc/gadgetchains/Laravel/RCE/19/chain.php on line 5
cfreal commented 10 months ago

Woops. Thanks!