PHP2Shell Deep Dive

(djad04.github.io)

20 points | by moebrowne 2 days ago

1 comments

  • djad04 8 hours ago
    I'm the one who wrote this.I originally tried submitting it here myself but without much luck so glad to see someone else shared it! Thanks for bringing it here.

    also if anyone has another working PoC for that specific build I'd really appreciate if they could share it because looking at how the exploit works it does something that is not done on any other solution that i found for other builds, none of them hold the spot with a resize (key “1050” is sent twice) than make an intermediate buffer from the next field("1999") fall there.it’s the only approach I’ve seen that uses a repeated key like that.

    I wonder whether there's a more direct way to achieve that as in the solutions for other builds. If there is, I think it would be interesting to compare the reliability of the different approaches based on the memory manipulation itself rather than how they reach the target

    • mhitza 55 minutes ago
      I'm not sure you're going to see different outcomes with discussion this time around.

      It's way too much text, branching out to explain too many things, has LLM-ism flavours to many sentences, and the AI generated images are not additive to your content.

      For me to read it, it would need to be very much trimmed down in size (at most to 25% of current size) and punctual on what you've done instead of all the things that sidetrack the article.

      • jtreminio 2 minutes ago
        I agree with the cutesy images, but for the rest ... it's called a deep dive, and it delivers. 25% of it might still have enough context about the bug and exploit, but would lose on the journey the OP went through to get to that point.