The comment in the first link about Yahoo embedding a giant b64-encoded JSON object in the URL reminds me of something horrible I did in a previous job.
To get around paying our website vendor (think locked-down hosted CMS) for an overpriced event calendar module, I coded a public page that would build a calendar using a base64-encoded basic JSON "events" schema embedded in a "data-events" attribute. Staff would use a non-public page that would pull the existing events data from the public page to prepopulate the calendar builder, which they could then use to edit the calendar and spit out a new code snippet to put on the public page. And so on. It basically worked! But I think they eventually did just fork over the money for the calendar add-on.
Mostly just the DIV with a giant string of base64-encoded JSON in a data attribute that looked pretty ugly. Website visitors were of course basically none the wiser if it all worked.
I immediately thought this is a great way to ship malicious payloads to an unexpected party. A good WAF would block it as sus, but a few tricks could probably get around that as well
Comments (181) 65 threads
Earlier commentshttps://news.ycombinator.com/item?id=34312546
https://news.ycombinator.com/item?id=2464213
To get around paying our website vendor (think locked-down hosted CMS) for an overpriced event calendar module, I coded a public page that would build a calendar using a base64-encoded basic JSON "events" schema embedded in a "data-events" attribute. Staff would use a non-public page that would pull the existing events data from the public page to prepopulate the calendar builder, which they could then use to edit the calendar and spit out a new code snippet to put on the public page. And so on.
It basically worked! But I think they eventually did just fork over the money for the calendar add-on.
Continue this thread — 1 reply
https://sonnet.io/projects#:~:text=Laconic!%20(a%20Twitter%2...
Continue this thread — 14 replies
https://github.com/topaz/paste
I remember seeing this for the first time on HN with urlpages, inspired me to build my own version of these
https://js-labs.js.org/
All comments shown.
Couldn't load more comments. Check your connection and try again.