So. One of my housemates pranked me, and I decided to get my revenge. My revenge was 100% inspired by upside-down-ternet, and goes as follows:
- Linux box running the ruby script below, which acts as a transparent proxy
- iptables rules on the linux box route all port 80 requests through the proxy
- arp poisoning routes all of the victim's traffic through the linux box
- Proxy isn't actually transparent. It intercepts requests for images, and does some processing on them, blurring them and writing a rude word in the middle.