Daily Archives: 8 April, 2007

Python Classes: Old-style vs New-style

I ran into a bit of a problem, trying to use the new-style class syntax while calling a class that apparently only supports the old-class style syntax (thanks due to Brend on #python at irc.freenode.net for pointing that out). Look closely at the call to super() in the following code:
#!/usr/bin/python
# -*- set tabstop=4 -*-
import [...]

Backdoor PHP Shells and a small script to upload files.

Backdoor PHP shells are receiving a lot of attention from script kiddies. Unless you know what PHP backdoor shells do, they provide a web-based interface to execute shell commands on systems on which they have been maliciously setup.
A friend once asked me to write him a script to upload files from a server [...]