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

Regarding the phar.readonly issue #161

Closed CaledoniaProject closed 11 months ago

CaledoniaProject commented 12 months ago

I think the shebang in phpggc script should be changed to #!/usr/bin/env php -d phar.readonly=0, what do you think?

cfreal commented 12 months ago

Hello CaledoniaProject,

That's an excellent idea, I didn't even think about it!

Want to PR it ?

Charles

CaledoniaProject commented 12 months ago

Sure, just created the PR https://github.com/ambionics/phpggc/pull/162