Six Basic Vulnerabilities to Avoid and How to Improve Your Code