I came across this in the uploads. Missed it for a long time. Should I start posting some other web shells I’ve collected?
I was thinking about how facebook updates parse out the url, then construct a nice looking preview. I think what it takes is scanning the textarea for a url, and then using ajax to tell the server to fetch a summary of the page at the url. get the data back, and insert it into a template, and reveal it.
This is a republication of a post from January 2012. I would not write it this way today.
This is a note I wrote to myself about how to add Django REST Framework to an existing project. It’s in PDF format, for reading. I didn’t have the time to create a real tutorial that builds up the API, or produce a really useful API. The intention is just to outline what parts get defined and how they work together.
The best tool for replacing strings is Perl. It can even do it for multiple files. You don’t need to know much Perl to use the “Perl PIE” technique, that turns a potentially long script into a one-liner. I used it to start an SEO task on this site.
The Nautilus Trash feature stopped working, so I could only delete a file completely, rather than move it to the trash. Here’s what’s happening, and how to restore it.