Archive for April, 2008

Preventing XSS in Perl

Wednesday, April 30th, 2008

Last time we covered XSS in php. What about perl? It turns out there's an even more in house solution to XSS in perl, because it has been used so long for cgi. We'll use the same basic example. [sourcecode language='html'] alert('XSS!'); [/sourcecode] This is the XSS attack. [sourcecode language='html'] This script is vulnerable to ...

Prevent XSS in Php with the Owasp Sanitize Library

Wednesday, April 30th, 2008

If you're at all knew to web development, it's possible that you haven't heard of XSS. Maybe you have heard of it, but you don't know the technical details? This article will shed some light on the basics of coding against XSS in php, with vulnerable and patched code examples, ...

Dictionary Compression with a Client and Server

Saturday, April 26th, 2008

Dictionary compression is a method of compression that finds repetitive sets of characters in the plaintext, and replaces them with a shorter identifier, which is defined as being equal to that set. If a set of characters occurs more than once, a multiplier can be added so that only one ...