Author:Xylitol
Translator:Riusksk (Quan Ge:Http://riusksk.blogbus.com)
Abstract:
1.What is cross-site (XSS)?
2.Cross-site code
3. CookieHijacking
4. XSSDefense
- Destruction mode
- Bypass character filtering
- FlashAttack
- Upload filesXSS
- Cross-Site phishing
- What is cross-site (XSS)?
XSSAlso calledCSS (Cross Site Script)Cross-site scripting attacksCross Site ScriptIsCSS,CSSIn the field of web design, style sheets have been widely stacked.CrossChanged to the same pronunciation.XBut earlier files still useCSSTo indicate cross-site scripting ). It refers to malicious attackersWebMalicious insertion in the pageHtmlCode, which is embedded when the user browses this pageWebInsideHtmlThe code is executed to achieve the Special Purpose of malicious users. Attackers can exploit this vulnerability to gain higher permissions.ActiveXControl,Cheat victims to browse malicious sites to install malicious software on their computers (Such as spyware, remote control software, worms, etc.), can also steal confidential web content, sessionCookieAnd many other information.
- ExistXSSCode
Open notepad, copy and paste the following script code:
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = iso-8859-1"/>
<Style type = "text/css">
<! --
Body, td, th {
Color: # FFFFFF;
}
Body {
Background-color: #000000;
}
-->
</Style> <title> Simple XSS vulnerability by Xylitol </title>
<Body>
<Form action = "XSS. php" method = "post">
<P align = "center"> <strong> Simple XSS vulnerability by Xylitol </strong> </p>
<Div align = "center">
<Table width = "270" border = "0">
<Tr>
<Td width = "106"> <strong> Search: </strong> </td>
<Td width = "154"> <input name = "Vulnerability" type = "text" id = "Vulnerability"/> </td>
</Tr>
</Table>
<Table width = "268" border = "0">
<Tr>
& Lt; td width = "262" & gt; <div align = "center" & gt;
<Input name = "submit" type = "submit" value = "Search it! "/>
</Div> </td>
</Tr>
</Table>
</Div>
</Form>
</Body>
</Html>
SaveIndex.html,1No image in the original article ):
& Nb