User:Doody/Sandbox

From Hobowars Wiki
< User:Doody
Revision as of 12:52, 2 December 2012 by Doody (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<% If (Len(Request.QueryString("name")) > 0) Then

    Response.Cookies("name") = Request.QueryString("name") 

End If

Response.Write("Welcome " & Response.Cookies("name") & "!") 'this script is vulnerable to XSS, the input has not been encoded (see below) %>