wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

SQL Injection practice on DVWA

profile
Taha Chatriwala
Nov 04, 2017
0 Likes
0 Discussions
2014 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

The Everyday Parenting Dilemma: Safety Vs Independence

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

A buffer overflow

Blog banner

38_Exploring The Honeynet Project

Blog banner

Mendeley (management software)

Blog banner

IoT Architecture Based Security

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

Scheduling

Blog banner

E-Governance

Blog banner

Finding Meaning, and Identity : Understanding Existential Concerns and Mental Well-being

Blog banner

Excel records

Blog banner

PHISHING

Blog banner

File Sharing

Blog banner

Music is life

Blog banner

american greatines

Blog banner

Advantage of freedom

Blog banner

Zero-Day Attack

Blog banner

Technical SEO : Total Guide

Blog banner

10 Reasons to date your best friend

Blog banner

Koinex is shutting down and here is how you can withdraw...

Blog banner

Modern Operating System

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

Tableau

Blog banner

Decoding Confusion Matrix

Blog banner

RACI model in IT services

Blog banner

Caching windows

Blog banner

File management

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

GEOLOGY AND GEO-TECTONIC FRAME WORK OF WESTERN BASTAR CRATON

Blog banner

OS assignment 3

Blog banner

Booting Process In Operating System

Blog banner

OS Assignment-3

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

Data Mining

Blog banner

Regression Analysis

Blog banner

Python as a tool for Data science task & project

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Memory Management

Blog banner

Deadlock

Blog banner

The Evolution of the Microprocessor ~ Aditya Pai

Blog banner

The Lunchbox That Came Back Untouched — How to Handle a Fussy Eater at Preschool Age

Blog banner