FlashPaper
FlashPaper copied to clipboard
Get URL without HTML
Hello! Is there any way to get a secret from a POST request without the entire HTML page? I just want to be able to make a request and get the URL to send somewhere else.
I'm using the request curl -s -X POST -d "secret=<secret>&submit=" https://<flashpaper>/ and it returns the full view_code.php webpage.
I'm pretty sure this is where it is requested: https://github.com/AndrewPaglusch/FlashPaper/blob/master/index.php#L19-L23
Am I missing something? Or should I just fork and add the ability to add a parameter like json?
https://github.com/DarkKronicle/FlashPaper Here's a simple implementation that I'm pretty sure works