Learn Penetration Testing with Vulnerable Sites and Applications
Use the links from the great site Darknet.org to learn how to pentest, attack vulnerable websites, and basic offensive security techniques.
http://www.darknet.org.uk/tag/vulnerable-web-application/