wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

SQL Injection practice on DVWA

profile
Taha Chatriwala
Nov 04, 2017
0 Likes
0 Discussions
1990 Reads

Please read this article first : How to setup DVWA using XAMPP on a windows 

 
Once you are done with the setup, follow the below steps to try SQL Injection on your DVWA !!! DVWA ( damn vulnerable web application) is one the readymade web application environment used for testing several attacks. It is purely used for educational purposes. We will be showing here how we can perform SQL injection using dvwa.
SQL injection is one of the very old method of system penetrations. It means firing an SQL query in the database and making a database burp out information you desire. Structured query language being well structured has its own flaws which can be exploited. Using certain keywords as mentioned below breaks the query into a set of instructions which can even bypass the password fields. For an instance writing 1'=1-- in the username field after typing username will bypass the password. This means whether password matches or not still give an access. These flaws are obviously no more there as with increasing security there are patches inbuilt in programming now. Still as a developer you can keep in mind while creating date input fields that your need to mention enough conditional checks so that before data is sent over the server it has already been filtered. Go ahead and enjoy the stunts. Not to forget that these are only for educational purpose. Do not ever try it on actual server with any bad intention. As it might lead you behind the bars. Happy learning..!!  

Step 1: Visit the DVWA login page

URL :- " localhost/dvwa/login.php "and login using the username : "admin" and password : "password"   How To Setup DVWA Using XAMPP on Windows  

Step 2 : You will get to this Homepage

  Blind Sql Injection Using DVWA  

Step 3 : Go to security setting option in left and set security level low.

  Blind Sql Injection Using DVWA  

Step 4 : Click on SQL injection option in left.

  Blind Sql Injection Using DVWA  

Step 5 : Write "1" in text box and click on submit.

  Blind Sql Injection Using DVWA  

Step 6 : Write "a' or ''='" in text box and click on submit.

  Blind Sql Injection Using DVWA  

Step 7 : Write "1=1" in text box and click on submit.

  Blind Sql Injection Using DVWA  

Step 8 : Write "1*" in text box and click on submit.

  Blind Sql Injection Using DVWA  

Comments ()


Sign in

Read Next

Building a Better You: Fitness Tips and Inspiration.

Blog banner

Risk mitigation and management

Blog banner

Functions of Operating System

Blog banner

What is Minting & Mining

Blog banner

Modern Operating system

Blog banner

PPT methodology

Blog banner

How covid-19 impacted Social media ad spend forecast globally

Blog banner

Theads

Blog banner

Windows Operating System

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

A buffer overflow

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

File Management

Blog banner

Modern operating system

Blog banner

Heart Fulness Meditation

Blog banner

Excel records

Blog banner

Virtual Machine

Blog banner

Blog on Smartsheet.

Blog banner

Measuring IT Risk

Blog banner

Developments in Modern Operating Systems

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

Beauty of indian railway

Blog banner

Threat management

Blog banner

Google classroom

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

Crypto tax evasion

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

12 Principles of Animation

Blog banner

THE ACTORS LIFE

Blog banner

Latest Email Marketing Techniques

Blog banner

Software Piracy & Online Data Protection in Digital World

Blog banner

Smartsheet

Blog banner

Deming’s Process

Blog banner

A small world of Sockets

Blog banner

Session Hijacking

Blog banner

Understanding Business Layer in Data Science

Blog banner

AOL Mail

Blog banner

Proton mail

Blog banner

Animal’s have my heart

Blog banner

Senseless Teeths

Blog banner