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.25k stars 502 forks source link

Updating previous gadget to be smaller #167

Closed nightfury99 closed 1 year ago

nightfury99 commented 1 year ago

Hi, previously Firebasky uploaded gadget for Codeigniter4 https://github.com/ambionics/phpggc/blob/master/gadgetchains/CodeIgniter4/RCE/3/gadgets.php. Based on Firebasky gadget, I made it much smaller gadget. So do we need to update the previous or create new one? And also I updated for laravel gadget.

cfreal commented 1 year ago

Hello @nightfury99,

Thanks for your contribution. I'm not sure this requires another GC. Can you please merge the two and list both of you as the authors ?

Best regards, Charles

nightfury99 commented 1 year ago

Hi, I already updated the PR. Is it in the right format?

cfreal commented 1 year ago

Hello,

This is perfect, thank you. Did you remove the Laravel/RCE17 GC on purpose ?

Charles

nightfury99 commented 1 year ago

Hello Charles,

I removed the Laravel on purpose because it should be new gadget chain and only Codeignter4 will be updated to smaller version. Sorry on my side. I'll make new PR for laravel GC later. Thanks for the merge.

Regards, Shauqi