Sunday, August 30, 2020

Learning Web Pentesting With DVWA Part 1: Installation



In this tutorial series I'm going to walk you through the damn vulnerable web application (DVWA) which is damn vulnerable. Its main goal according to the creators is "to aid security professionals to test thier skills and tools in a legal environment, help web developers better understand the process of securing web applications and to aid both students & teachers to learn about web application security in a controlled class room environment."

I am going to install DVWA in docker so the prerequisite for this tutorial will be an installation of docker (Docker is not the only way to install DVWA but if you have docker already installed then it may be the easiest way to install DVWA).

To install DVWA in docker run your docker deamon if it's not running already and open a terminal or powershell and type:

docker rum --rm -it -p 8080:80 vulnerables/web-dvwa




It will take some time to pull the image from docker hub depending on your internet speed and after it is complete it will start the dvwa application. In the command we have mapped the image instance's port 80 to our hosts port 8080 so we should be able to access the web application from our host at http://localhost:8080

Now open your favorite web browser and go to http://localhost:8080
You should be prompted with a login screen like this:



login with these creds:
username: admin
password: password

After login you'll see a database setup page since this is our first run. Click on Create / Reset Database button at the bottom. It will setup database and redirect you to login page. Now login again and you'll see a welcome page.



Now click on DVWA Security link at the bottom of the page navigation and make sure the security level is set to Low. If it is not click on the dropdown, select Low and then click submit.




Now our setup is complete, so lets try a simple SQL attack to get a taste of whats about to come.

Click on SQL Injection in navigation menu.
You'll be presented with a small form which accepts User ID.
Enter a single quote (') in the User ID input field and click Submit.
You'll see an SQL error like this:



From the error message we can determine that the server has a MariaDB database and we can see the point of injection.
Since there are many quotes we are not able to determine the exact location of our injection. Lets add some text after our single quote to see exactly where our injection point is.
Now I am going to enter 'khan in the User ID field and click Submit.



Now we can see exactly where the point of injection is. Determining the point of injection is very important for a successful SQL injection and is sometimes very hard too, though it might not be that much useful here in this exercise.

Now lets try the very basic SQL Injection attack.
In the User ID field enter ' or 1=1-- - and click Submit.



We will explain what is going on here in the next article.


References:-
1. DVWA Official Website: http://www.dvwa.co.uk/

More information


  1. Pentest Tools Website Vulnerability
  2. Hacker Tools Free Download
  3. Pentest Tools Subdomain
  4. Pentest Tools Free
  5. Hacking Tools 2020
  6. Pentest Tools Port Scanner
  7. Hacker Search Tools
  8. How To Install Pentest Tools In Ubuntu
  9. Hack Tools Download
  10. Underground Hacker Sites
  11. Hacking Tools Online
  12. Pentest Tools Apk
  13. Best Pentesting Tools 2018
  14. Hacker Tools 2020
  15. Pentest Tools Android
  16. Github Hacking Tools
  17. Hacker Tools Online
  18. New Hack Tools
  19. Hacker Tools Free Download
  20. New Hack Tools
  21. Hacking Tools Hardware
  22. Pentest Tools Download
  23. Pentest Tools For Windows
  24. Hack Tool Apk
  25. Hacking Tools For Pc
  26. Hacking Tools For Windows
  27. Hack App
  28. Hacking Tools Windows
  29. Termux Hacking Tools 2019
  30. Pentest Tools Online
  31. Hack Tools For Ubuntu
  32. Pentest Tools For Ubuntu
  33. Hack Tool Apk No Root
  34. Hack Tools
  35. Hack Tools For Pc
  36. Hacking Tools Download
  37. Pentest Tools Linux
  38. Tools For Hacker
  39. Beginner Hacker Tools
  40. New Hacker Tools
  41. Growth Hacker Tools
  42. Blackhat Hacker Tools
  43. Blackhat Hacker Tools
  44. Pentest Tools Website Vulnerability
  45. Pentest Tools Nmap
  46. Pentest Reporting Tools
  47. Hacker Techniques Tools And Incident Handling
  48. Bluetooth Hacking Tools Kali
  49. Hacking Tools Free Download
  50. Beginner Hacker Tools
  51. Hack Tools Download
  52. Physical Pentest Tools
  53. Growth Hacker Tools
  54. Growth Hacker Tools
  55. Hacking Tools
  56. Hack Tool Apk
  57. Hacker Tools Free Download
  58. Hacker Tools Linux
  59. Hacking Tools For Mac
  60. Hacker Tool Kit
  61. Hacker Tools Free
  62. Hacking Tools For Pc
  63. Hacker Tools Linux
  64. Nsa Hack Tools Download
  65. World No 1 Hacker Software
  66. Hacker Tools Apk Download
  67. What Are Hacking Tools
  68. Best Hacking Tools 2019
  69. Android Hack Tools Github
  70. Hack Tools 2019
  71. Hacking Tools For Windows 7
  72. Hacking Tools Free Download
  73. Pentest Reporting Tools
  74. Usb Pentest Tools
  75. Hackrf Tools
  76. Hacking Tools Github
  77. Hacking Tools For Windows 7
  78. Hacking Apps
  79. Pentest Tools For Windows
  80. Hacking Tools For Windows
  81. Nsa Hack Tools
  82. Hack Tools
  83. Hacking Tools For Mac
  84. Hack Apps
  85. Hacker Tools List
  86. Hacking Tools 2019
  87. Hacker Tools Software
  88. Hak5 Tools
  89. Hacking Tools
  90. How To Install Pentest Tools In Ubuntu
  91. How To Install Pentest Tools In Ubuntu
  92. Best Hacking Tools 2019
  93. Pentest Tools Url Fuzzer
  94. Pentest Reporting Tools
  95. Hacker Tools
  96. Hacking Tools And Software
  97. Easy Hack Tools
  98. Pentest Tools Open Source
  99. Pentest Tools Tcp Port Scanner
  100. Hack Website Online Tool
  101. How To Make Hacking Tools
  102. Kik Hack Tools
  103. Pentest Tools Open Source
  104. Hack Tools Pc
  105. Hacking Apps
  106. Hacker Tools Free Download
  107. Hacking Tools Kit
  108. What Are Hacking Tools
  109. Pentest Tools Review
  110. Github Hacking Tools
  111. Hacking Tools Pc
  112. Pentest Tools Kali Linux
  113. Hack Tools For Mac
  114. Pentest Tools Windows
  115. Hacker Tools Mac
  116. Pentest Tools Bluekeep
  117. Hacker Tools Mac
  118. Hacking Apps
  119. Hacker Tools Apk Download
  120. Hack Tools For Pc
  121. Hackrf Tools
  122. Hacking Tools Free Download
  123. Pentest Tools Find Subdomains
  124. Hacker Techniques Tools And Incident Handling
  125. Hack Tools Github
  126. Hack Website Online Tool
  127. Hak5 Tools
  128. Hacker Tools For Windows
  129. Hacker
  130. Hackrf Tools
  131. Hacking App
  132. Best Hacking Tools 2020
  133. Pentest Tools Download
  134. Pentest Tools Bluekeep
  135. Hacking Tools For Games
  136. Hacking Tools For Games
  137. Hacking Tools
  138. How To Install Pentest Tools In Ubuntu
  139. Pentest Tools Review
  140. Pentest Tools Url Fuzzer
  141. Hack Tools For Games
  142. Pentest Tools Review
  143. Hacking Tools Name
  144. Pentest Tools Website Vulnerability
  145. Best Pentesting Tools 2018
  146. Hack Tools
  147. Pentest Box Tools Download
  148. Pentest Automation Tools
  149. Hacking Tools Pc
  150. Hacker Tools Free
  151. Pentest Tools Apk
  152. Pentest Tools For Windows
  153. Bluetooth Hacking Tools Kali
  154. Pentest Tools For Android
  155. Beginner Hacker Tools
  156. Pentest Tools Linux
  157. Hacking Tools Software
  158. Pentest Tools Android
  159. Hacker Security Tools
  160. Hack Tools For Mac
  161. Hack Tools Download
  162. Hacking Tools
  163. Pentest Tools Bluekeep
  164. Hacking Tools For Beginners
  165. Top Pentest Tools
  166. Hack Tools Pc
  167. Pentest Tools Online
  168. Hacker Hardware Tools
  169. How To Make Hacking Tools
  170. Nsa Hack Tools
  171. Hak5 Tools
  172. Hackrf Tools
  173. Hacking Tools For Windows Free Download
  174. Pentest Tools Port Scanner
  175. Pentest Tools For Android
  176. Hack Tools For Ubuntu

No comments:

Post a Comment