Tour title brush station 7, DVWA XSS reflect (low, medium, high)

First, what is XSS reflect

Reflective XSS attacks, malicious code is not stored in the target site by tricking the user clicks on a link to a malicious Web site link to the target of attack.

Two, DVWA combat

1, low difficulty

Without any filter, then write directly js code

<script>alert('hack')</script>

Here Insert Picture Description

2, medium difficulty

Direct input is filtered out.
Here Insert Picture Description

Use case can be bypassed,

<sCript>alert('hack')</Script>

Here Insert Picture Description

3, high difficulty

script tag was filtered. Use the img tag, can be bypassed.

<img src=1 onerror=alert('hack')>

Here Insert Picture Description

Published 50 original articles · won praise 12 · views 1908

Guess you like

Origin blog.csdn.net/weixin_45940434/article/details/104061493