This project includes a library for
launching padding oracle attacks, as
well as a client for attacking
ciphertexts that are GET parameters
of a web app.

This should provide an example of
how to build an appropriate attack
tool.