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.23k stars 497 forks source link

Regarding the phar.readonly issue #161

Closed CaledoniaProject closed 1 year ago

CaledoniaProject commented 1 year 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 1 year ago

Hello CaledoniaProject,

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

Want to PR it ?

Charles

CaledoniaProject commented 1 year ago

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