<?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>Breaking Systems for Fun and Profit &#187; random</title>
	<atom:link href="http://breakingsystemsforfunandprofit.com/archives/tag/random/feed" rel="self" type="application/rss+xml" />
	<link>http://breakingsystemsforfunandprofit.com</link>
	<description>You _can_ stop the signal.</description>
	<lastBuildDate>Mon, 17 May 2010 09:58:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>N[eo]tworking&#8230;</title>
		<link>http://breakingsystemsforfunandprofit.com/archives/184</link>
		<comments>http://breakingsystemsforfunandprofit.com/archives/184#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:11:36 +0000</pubDate>
		<dc:creator>Mule</dc:creator>
				<category><![CDATA[Network Nuisances]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://breakingsystemsforfunandprofit.com/?p=184</guid>
		<description><![CDATA[iptables -I INPUT 1 -m statistic --mode random --probability 0.25 -j DROP]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">iptables <span style="color: #660033;">-I</span> INPUT <span style="color: #000000;">1</span> <span style="color: #660033;">-m</span> statistic <span style="color: #660033;">--mode</span> random <span style="color: #660033;">--probability</span> <span style="color: #000000;">0.25</span> <span style="color: #660033;">-j</span> DROP</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://breakingsystemsforfunandprofit.com/archives/184/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>We don&#8217;t play favourites.</title>
		<link>http://breakingsystemsforfunandprofit.com/archives/176</link>
		<comments>http://breakingsystemsforfunandprofit.com/archives/176#comments</comments>
		<pubDate>Tue, 12 Jan 2010 19:28:09 +0000</pubDate>
		<dc:creator>Mule</dc:creator>
				<category><![CDATA[Bash Bonanza]]></category>
		<category><![CDATA[chsh]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://breakingsystemsforfunandprofit.com/?p=176</guid>
		<description><![CDATA[Include this somewhere in cron, or just run it yourself from time to time to give your users the diversity they so rightly deserve: for I in $&#40;getent passwd &#124; cut -d: -f1 &#41; do chsh -s $&#40;sort -R /etc/shells &#124; head -n1&#41; ${I} done]]></description>
			<content:encoded><![CDATA[<p>Include this somewhere in cron, or just run it yourself from time to time to give your users the diversity they so rightly deserve:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> I <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">getent</span> <span style="color: #c20cb9; font-weight: bold;">passwd</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> -d: <span style="color: #660033;">-f1</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">do</span>
    <span style="color: #c20cb9; font-weight: bold;">chsh</span> <span style="color: #660033;">-s</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-R</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>shells <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">head</span> -n1<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #800000;">${I}</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://breakingsystemsforfunandprofit.com/archives/176/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add some spice to your life</title>
		<link>http://breakingsystemsforfunandprofit.com/archives/170</link>
		<comments>http://breakingsystemsforfunandprofit.com/archives/170#comments</comments>
		<pubDate>Wed, 16 Dec 2009 10:47:57 +0000</pubDate>
		<dc:creator>Mule</dc:creator>
				<category><![CDATA[Cron Crapola]]></category>
		<category><![CDATA[Kernel Capers]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[sysrq]]></category>

		<guid isPermaLink="false">http://breakingsystemsforfunandprofit.com/?p=170</guid>
		<description><![CDATA[Spice up your life a bit with the following command: echo 'SYSRQLETTERS=&#34;bcdefghijklmnopqrstuvwx&#34;; echo ${SYSRQLETTERS} &#124; cut -c $[$RANDOM % ${#SYSRQLETTERS} + 1] &#62; /proc/sysrq-trigger' &#62; /etc/cron.hourly/happyfuntime; chmod +x /etc/cron.hourly/happyfuntime]]></description>
			<content:encoded><![CDATA[<p>Spice up your life a bit with the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'SYSRQLETTERS=&quot;bcdefghijklmnopqrstuvwx&quot;; echo ${SYSRQLETTERS} | cut -c $[$RANDOM % ${#SYSRQLETTERS} + 1] &gt; /proc/sysrq-trigger'</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>cron.hourly<span style="color: #000000; font-weight: bold;">/</span>happyfuntime; <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>cron.hourly<span style="color: #000000; font-weight: bold;">/</span>happyfuntime</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://breakingsystemsforfunandprofit.com/archives/170/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
