Search
The Way of the Software Engineer

Archive for March, 2011

Screen

Posted by admin on March 22nd, 2011

If you’re not aware, screen is a fantastic way to extend the usefulness of your terminal windows. I run a screen session on my laptop and one on every machine I SSH in to frequently. I just scp this file to any host I’m going to be working with for an extended time. “How to [...]

Static Sites with Dynamic Content

Posted by admin on March 15th, 2011

In my last post, I was showing how a proxy can be used to circumvent XSS rules and said there are some interesting applications. Well, it’s time I posted one. Take a look at this very simple site (Please ignore the messy CSS, this is just a prototype) : Twitter Search This is being served [...]

Nginx Bypassing Single-Origin Policy

Posted by admin on March 11th, 2011

Anyone building a web application knows that XmlHttpRequest can only be made to the same domain and port that the page was loaded from. This is known as the ‘single origin’ policy for web browsers. Bypassing this restriction is known as Cross-Site Scripting or XSS. While there are some very real security reasons for only [...]