Monthly Archives: October 2008

10/25/2008

Spoofing a UDP packet in Python

The packets are constructed using the pyip module. The following code doesn’t calculate the UDP checksum, as the checksums that pyip generate don’t appear to be correct. Your system should take care of that. import udp import socket # build … Continue reading

10 Comments


10/20/2008

Future proofing strings in PHP

For many characters, UTF-8 encodes characters with multiple bytes because one single byte cannot represent thousands of characters. However, because PHP presently does not support Unicode, the language will consider each byte its own character. If you’ve ever worked with … Continue reading

Post a comment or response


10/01/2008

IntelligentCensor’s nomination

My IntelligentCensor library got nominated for an innovation award on PHPClasses.org. That’s my fourth nomination (out of seven submitted classes), although I still haven’t received first place (my submitted classes tend to not have a mainstream usage). What does it … Continue reading

Post a comment or response