Book Image

KALI LINUX NETWORK SCANNING COOKBOOK

Book Image

KALI LINUX NETWORK SCANNING COOKBOOK

Overview of this book

Table of Contents (16 chapters)
Kali Linux Network Scanning Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Disclaimer
Preface
Index

GET method SQL injection with sqlmap


Web applications frequently accept arguments within a supplied URL. These parameters are generally transmitted back to the web server in the HTTP GET method requests. If any of these parameter values are then included in a query statement to a backend database, an SQL injection vulnerability could potentially exist. In this recipe, we will discuss how to use sqlmap to automate the testing of HTTP GET method request parameters.

Getting ready

To use sqlmap to perform SQL injection against a target, you will need to have a remote system that is running one or more web applications that are vulnerable to SQL injection. In the examples provided, an instance of Metasploitable2 is used to perform this task. Metasploitable2 has several preinstalled vulnerable web applications running on TCP port 80. For more information on setting up Metasploitable2, refer to the Installing Metasploitable2 recipe in Chapter 1, Getting Started, of this book.

How to do it…

To use sqlmap...