Reader challenge

For this section, review the information from the chapter and try and expand on the topics. This will allow you to increase your knowledge on the different topics.

To stimulate your thinking, try some of the following topics:

  1. OWASP ZAP is another web application testing tool that is free and worth experimenting with. Taking the concepts here from the book, explore the tool, and try and use it to follow the process we covered within this chapter. An example of the OWASP ZAP tool is shown in the following image:
    Reader challenge
  2. The next challenge is to attempt and flex your skills and practice them to perform all of the SQL injection manually without any tools! This is not as hard as you might think, and it is something that will provide you with a plethora of practice; moreover, it will increase your skill set tremendously. When you learn how to do something manually, then the tool is just to assist. Remember, it is all about the process. Once you understand it, then you continue to expand on it, and the experience will come in time. To get you started, the process is the same as we did earlier. Here is an example of the query to extract information from the database. Enter the following query:
    www.site.com/products.php?prodID=25+union+select+1,2,3,4,5

Remember to replace the site with the site that you are working with. You conducted these queries against the Kioptrix site, so if you want another challenge, then navigate to the following URL:

http://testphp.vulnweb.com/

An example of this website is shown in the following image:

Reader challenge

As the image indicates, this site is a test site for Acunetix, which is a commercial web application scanning tool. There are a number of these types of sites that are available for us to practice our testing.

For this challenge, now that you have looked at a number of methods, explore the sqlmap tool. This is a powerful tool that will perform many of the queries that we want to do against a database target. The tool is written entirely in Python, and another one that it is beneficial to hone your skills with. An example of a very basic query is shown in the following image:

Reader challenge

These challenges will assist you in gaining more experience and honing your skills. We know virtually every potential client will have some form of a website and, more importantly, web applications. The more you know about the testing, the more of an advanced penetration tester you will become. Enjoy!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset