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

Binary Search Tree (BST) in Data Structure

Blog banner

A BLOG ON MYSQL

Blog banner

Penetration Testing

Blog banner

Deadlocks in Operating Systems

Blog banner

Memory Partitioning

Blog banner

OS PROCESS DESCRIPTION AND CONTROL-SARVAGYA JALAN

Blog banner

Apache Kafka

Blog banner

Cryptanalysis tool

Blog banner

virtual machine

Blog banner

FREE VERSION OF G-MAIL

Blog banner

UniProcessor Scheduling

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Privacy LAWs in IT

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

EdTech (Education Technology)

Blog banner

Worms, viruses and Bots

Blog banner

Booting Process In Operating System

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Modern OS

Blog banner

IP Address

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Data Mining

Blog banner

Article on Zoho Corporation

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Virtual machine

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

RAID

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Different types of scam Fraud

Blog banner

What is Internet

Blog banner

What if COVID does not exist!

Blog banner

Characteristics of Etherum

Blog banner

Gis in agriculture and farming

Blog banner

Caching windows

Blog banner

Goa Trip With Friends

Blog banner

HACKING MOBILE PLATFORM

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

10 Types of Friends in every friend group

Blog banner

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

Challenges and risks in service operations

Blog banner

Service Catalogue Management

Blog banner