PHPGGC is a library of PHP unserialize() payloads along with a tool to generate them, from command line or programmatically.
3.23k
stars
497
forks
source link
PHPWord: Added FD/1, which targets PHPWord versions <= 1.1.0 #153
Closed
therealcoiffeur closed 1 year ago
I would like to add my PHPWord gadget chain to PHPGGC.
Why?
Below is the responsible code.
File: src/PhpWord/Shared/XMLWriter.php
Version: Commit <= 77438025265482ddcf050bce520d3c2b51645108
File: src/PhpWord/Shared/XMLWriter.php
Version: Commit <= f359825cb7abdd0e92fa333237cb37d160504448
File: src/PhpWord/Shared/XMLWriter.php
Version: Commit <= 07be5eaea326a43fe0c68b6231c4a74e9639dd99
How?
Proof Of Concept
Then we create the file test.php as follows.
File: test.php