<?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>Tony Baltazar</title>
	<atom:link href="http://abaltazar.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://abaltazar.org</link>
	<description>Technology / Security / Free Software / Programming</description>
	<lastBuildDate>Tue, 27 Jul 2010 06:21:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Lawlessness in Mexico</title>
		<link>http://abaltazar.org/2010/07/26/lawlessness-in-mexico/</link>
		<comments>http://abaltazar.org/2010/07/26/lawlessness-in-mexico/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 05:56:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=303</guid>
		<description><![CDATA[On the same day where the leader of &#8220;La Linea&#8221;, organization responsible for the car bomb that killed two Federal Policemen and a paramedic. The Mexican government finds out that 17 killings committed in nothern Mexico last week, were perpetrated by hitman already in prisoned. Apparently the jailed hitman were allowed to leave their cells [...]]]></description>
			<content:encoded><![CDATA[<p>On the same day where the leader of &#8220;La Linea&#8221;, organization responsible for the car bomb that killed two Federal Policemen and a paramedic. The Mexican government finds out that 17 killings committed in nothern Mexico last week, were perpetrated by hitman already in prisoned. Apparently the jailed hitman were allowed to leave their cells with weapons borrowed from guards of the actual prison.<br />
<br/><br/><br />
References:<br />
<a href="http://www.informador.com.mx/mexico/2010/221004/6/el-20-operador-de-la-linea-tras-las-rejas.htm">http://www.informador.com.mx/mexico/2010/221004/6/el-20-operador-de-la-linea-tras-las-rejas.htm</a><br />
<a href="http://articles.latimes.com/2010/jul/25/world/la-fg-mexico-killings-20100726">http://articles.latimes.com/2010/jul/25/world/la-fg-mexico-killings-20100726</a></p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/07/26/lawlessness-in-mexico/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Charles Bowden interview</title>
		<link>http://abaltazar.org/2010/07/19/charles-bowden-interview/</link>
		<comments>http://abaltazar.org/2010/07/19/charles-bowden-interview/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 06:52:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=292</guid>
		<description><![CDATA[Charles Bowden is a very smart person, but comparing the Mexican Drug War to the Vietnam War is absolutely ridiculous. In Bowden eyes, &#8220;It&#8217;s turned into a War by the Mexican government against the Mexican people&#8221;. According to United Nations organized crime adviser Edgardo Buscaglia, Mexican cartels need to be stop being categorized as drug [...]]]></description>
			<content:encoded><![CDATA[<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/VKn8v7mhc_Y&amp;hl=en_US&amp;fs=1?rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VKn8v7mhc_Y&amp;hl=en_US&amp;fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br />
Charles Bowden is a very smart person, but comparing the Mexican Drug War to the Vietnam War is absolutely ridiculous. In Bowden eyes, &#8220;It&#8217;s turned into a War by the Mexican government against the Mexican people&#8221;.</p>
<p>According to United Nations organized crime adviser Edgardo Buscaglia, Mexican cartels need to be stop being categorized as drug organizations as the DEA wants them to be, for their very own self-interest as their simple existence to fight drugs. Throughout Mexico, these criminal organizations also commit 25 other types as crimes, such as kidnapping, extortion, etc&#8230;  In it&#8217;s true sense, the &#8220;War on Drugs&#8221; is a failed US policy thats been going on for over 40 years while the Mexico is dealt with its very own war against organized crime which morph from the failed US policy.</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/PdaffH0VlYs&amp;hl=en_US&amp;fs=1?rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PdaffH0VlYs&amp;hl=en_US&amp;fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/07/19/charles-bowden-interview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What’s in my bookshelf?</title>
		<link>http://abaltazar.org/2010/07/17/what%e2%80%99s-in-my-bookshelf/</link>
		<comments>http://abaltazar.org/2010/07/17/what%e2%80%99s-in-my-bookshelf/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 16:55:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=279</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://covers.oreilly.com/images/9780596520113/cat.gif"" /><br />
I finally finished reading my second book on Perl. Unlike Apress&#8217; Beginning Perl, Learning Perl 5th Edition by Randal Schwartz, Tom Phoenix, and brian d foy is not a book for someone new to programming.<br />
With a solid understanding of dynamic languages like PHP and Ruby, I found most of the material covered on this book very comprehensive, thus said, at times I found myself re-reading portions of the chapters just to understand concept the authors were trying to cover. </p>
<p>For the most part, I read this book jointly with Apress&#8217; Beginning Perl and I found this book to have more practical real word code examples (at least if you&#8217;re a sysadmin). The most notably difference on how this book was written for someone who is new to programming with Perl, but to not new to programming are the three chapters the authors dedicate to regular expressions. </p>
<p>Chapter 1: Introduction<br />
Chapter 2: Scalar Data<br />
Chapter 3: Lists and Arrays<br />
Chapter 4: Subroutines<br />
Chapter 5: Input and Output<br />
Chapter 6: Hashes<br />
Chapter 7: In the World of Regular Expressions<br />
Chapter 8: Matching with Regular Expressions<br />
Chapter 9: Processing Text with Regular Expressions<br />
Chapter 10: More Control Structures<br />
Chapter 11: Perl Modules<br />
Chapter 12: File Tests<br />
Chapter 13: Directory Operations<br />
Chapter 14: Strings and Sorting<br />
Chapter 15: Smart Matching and given-when<br />
Chapter 16: Process Management<br />
Chapter 17: Some Advanced Perl Techniques<br />
Chapter 14 Introduction to CGI<br />
Chapter 15: Perl and DBI</p>
<p>I would only suggest this book to someone with a solid knowledge of another scripting language.<br />
<a href="http://www.amazon.com/Learning-Perl-5th-Randal-Schwartz/dp/0596520107/ref=ntt_at_ep_dpi_1">Learning Perl, 5th Edition</a><br />
3/5</p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/07/17/what%e2%80%99s-in-my-bookshelf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Speed up shell scripting</title>
		<link>http://abaltazar.org/2010/07/08/speed-up-shell-scripting/</link>
		<comments>http://abaltazar.org/2010/07/08/speed-up-shell-scripting/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 04:28:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=267</guid>
		<description><![CDATA[Once again the book Practical Ruby for System Administration by Ben Hamou taught me some pretty clever Ruby sysadmin scripting tricks. One of the scripts that the author used was to automatically populate the path to the Ruby interpreter, update the permissions to 755, and open the script in vi, all during the same process. [...]]]></description>
			<content:encoded><![CDATA[<p>Once again the book Practical Ruby for System Administration by Ben Hamou taught me some pretty clever Ruby sysadmin scripting tricks.<br />
One of the scripts that the author used was to automatically populate the path to the Ruby interpreter, update the permissions to 755, and open the script in vi, all during the same process.</p>
<p>I took that same concept and enhanced the script to also auto populate the settings if the scripts is written in Bash, Perl, PHP, or Python.</p>
<p>Download <a href="http://www.abaltazar.org/scripts/rnew.rb">rnew.rb</a></p>
<p>-Copy rnew.rb to somewhere within your system PATH.<br />
cp rnew.rb /usr/local/bin</p>
<p>-This should give the ability to use rnew.rb from anywhere you&#8217;re working on.<br />
rnew.rb koolscript.php</p>
<p><br/><br />
-Happy Hacking <img src='http://abaltazar.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/07/08/speed-up-shell-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>watch command line utility for alternative for Mac OS X</title>
		<link>http://abaltazar.org/2010/07/04/watch-gnu-command-line-utility-for-mac-os-x/</link>
		<comments>http://abaltazar.org/2010/07/04/watch-gnu-command-line-utility-for-mac-os-x/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 16:34:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=259</guid>
		<description><![CDATA[I recently purchased the book Practical Ruby for System Administration by Ben Hamou and one of the cool Ruby one-liner command line expressions is one that mimics the watch command. ruby -e 'system "clear; df -h" while sleep 1' Just like the author, for quite a while I&#8217;ve been kind of annoyed by the fact [...]]]></description>
			<content:encoded><![CDATA[<p>I recently purchased the book Practical Ruby for System Administration by Ben Hamou and one of the cool Ruby one-liner command line expressions is one that mimics the watch command.<br />
<code>ruby -e 'system "clear; df -h" while sleep 1'</code></p>
<p>Just like the author, for quite a while I&#8217;ve been kind of annoyed by the fact that Apple doesn&#8217;t include this really useful command line utility. So inspired by the one-liner script, I hacked a small watch command line alternative for OS X.</p>
<p>Download <a href="http://www.abaltazar.org/scripts/watch.rb">watch.rb</a><br />
sudo cp watch.rb /usr/local/bin<br />
wacht.rb &#8216;<em>UNIX command</em>&#8216;</p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/07/04/watch-gnu-command-line-utility-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automating re-encoding for my iPhone</title>
		<link>http://abaltazar.org/2010/06/06/automating-re-encodeding-for-my-iphone/</link>
		<comments>http://abaltazar.org/2010/06/06/automating-re-encodeding-for-my-iphone/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 06:27:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=242</guid>
		<description><![CDATA[I wrote a short ruby script to fully automate video re-encoding for my iPhone. Given that my media collection is about 35 GBs and that HandBreak is multi-threaded, I&#8217;m looking forward on how long the entire process will be if I decided to re-encode all of it at once. The script should work on ruby [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a short ruby script to fully automate video re-encoding for my iPhone. Given that my media collection is about 35 GBs and that HandBreak is multi-threaded, I&#8217;m looking forward on how long the entire process will be if I decided to re-encode all of it at once. </p>
<p>The script should work on ruby 1.8.7 or above and it&#8217;s only been tested on Snow Leopard.</p>
<p><a href="http://www.abaltazar.org/scripts/iphone_encoding.rb" link="red">iphone_encoding.rb</a></p>
<p><a href="http://handbrake.fr/downloads2.php">HandBreak (Command Line Interface)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/06/06/automating-re-encodeding-for-my-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s in my bookshelf?</title>
		<link>http://abaltazar.org/2010/06/05/whats-in-my-bookshelf/</link>
		<comments>http://abaltazar.org/2010/06/05/whats-in-my-bookshelf/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 23:55:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=203</guid>
		<description><![CDATA[It only took me exactly two years to read the Apress book Beginning Perl by James Lee, and I would have to admit this is the best programming book that I&#8217;ve read so far. I would need to give this book high praise as it was easy and fun to read ( pretty much taught [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/Beginning-Perl-Second-James-Lee/dp/159059391X/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1275782560&amp;sr=8-1"><img src="http://abaltazar.org/wordpress/wp-content/uploads/2010/06/beg-perl.gif" alt="" title="beginning_perl" width="125" height="164" class="alignleft size-full wp-image-204" /></a><br />
It only took me exactly two years to read the Apress book Beginning Perl by James Lee, and I would have to admit this is the best programming book that I&#8217;ve read so far. I would need  to give this book high praise as it was easy and fun to read ( pretty much taught me programming in Perl. Even tough I don&#8217;t use Perl on a daily bases, nor is Perl my prefer language of choice to write scripts ) but thanks to this book I could confidently read other programmers perl code and have an understanding on what&#8217;s going on in their program.</p>
<p>Chapter 1: First Steps in Perl<br />
Chapter 2: Scalars<br />
Chapter 3: Control Flow Constructs<br />
Chapter 4: Lists and Arrays<br />
Chapter 5: Hashes<br />
Chapter 6: Subroutines/Functions<br />
Chapter 7: Regular Expressions<br />
Chapter 8: Files and Data<br />
Chapter 9: String Processing<br />
Chapter 10: Interface to the Operating System<br />
Chapter 11: References<br />
Chapter 12: Object-Oriented Perl<br />
Chapter 13: Modules<br />
Chapter 14 Introduction to CGI<br />
Chapter 15: Perl and DBI</p>
<p>I would highly recommended this book to anybody starting or wanting to learn perl.<br />
 <a href="http://www.amazon.com/Beginning-Perl-Second-James-Lee/dp/159059391X/ref=sr_1_1?ie=UTF8&#038;s=books&#038;qid=1279382271&#038;sr=8-1">Beginning Perl, Second Edition</a><br />
5/5</p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/06/05/whats-in-my-bookshelf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nitko2 web server assessment</title>
		<link>http://abaltazar.org/2010/05/31/nitko2-web-server-assessment/</link>
		<comments>http://abaltazar.org/2010/05/31/nitko2-web-server-assessment/#comments</comments>
		<pubDate>Mon, 31 May 2010 09:49:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=193</guid>
		<description><![CDATA[I decided to run a vulnerability scan on my fully patch Cent0S 5.2 rubyninja.net Apache web server using Nitko and learned quite a bit on the vulnerabilities found. 1st vulnerability found: My webalizer statistics were being displayed without any restriction. Fix: Enable .htaccess password protection and limited to permit local IP access. 2nd vulnerability found: [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to run a vulnerability scan on my fully patch Cent0S 5.2 rubyninja.net Apache web server using Nitko and learned quite a bit on the vulnerabilities found.</p>
<p>1st vulnerability found:<br />
My webalizer statistics were being displayed without any restriction.<br />
<strong>Fix:</strong> Enable .htaccess password protection and limited to permit local IP access.</p>
<p>2nd vulnerability found:<br />
PHP reveals potentially sensitive information via certain HTTP requests which contain specific QUERY strings. (index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000)<br />
<strong>Fix:</strong> Set expose_php = Off within /etc/php.ini</p>
<p>3rd vulnerability found:<br />
Apache default manual webpages were publicly accessable.<br />
<strong>Fix:</strong>edit /etc/httpd/conf.d/manual.conf</p>
<p>4th vulnerability found:<br />
HTTP TRACE method is active, suggesting the host is vulnerable to XST.<br />
<strong>Fix:</strong> Out of all vulnerabilities found this one was the most interesting. Apparently the TRACE http request method can be used by malicious applications to trick a web browser into issuing a TRACE request against an arbitrary site and then send the response to the TRACE to a third party using web browser features.  To fix this issue, I just had to add the following entry to httpd.conf: TraceEnable off</p>
<p>This article fully explained the issue. <a href="http://www.ducea.com/2007/10/22/apache-tips-disable-the-http-trace-method/">http://www.ducea.com/2007/10/22/apache-tips-disable-the-http-trace-method/</a></p>
<p>I still need to read the full Nitko documentation to check out all of its features. But I still think this is a really good tool for any Apache administrator.<br />
<a href="http://cirt.net/nikto2">http://cirt.net/nikto2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/05/31/nitko2-web-server-assessment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make MySQL client display the selected working database</title>
		<link>http://abaltazar.org/2010/05/29/make-mysql-client-display-the-selected-working-database/</link>
		<comments>http://abaltazar.org/2010/05/29/make-mysql-client-display-the-selected-working-database/#comments</comments>
		<pubDate>Sat, 29 May 2010 20:52:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=186</guid>
		<description><![CDATA[Before knowing of this MySQL feature, whenever I was working on a database I always use the \s command to verify which database I was about to alter. Instead of using this command, MySQL client has a prompt global variable which lets you modify the display prompt when connecting to a MySQL server. Simply add [...]]]></description>
			<content:encoded><![CDATA[<p>Before knowing of this MySQL feature, whenever I was working on a database I always use the <code>\s</code> command to verify which database I was about to alter.  Instead of using this command, MySQL client has a prompt global variable which lets you modify the display prompt when connecting to a MySQL server.</p>
<p>Simply add the following entries to my.cnf<br />
[mysql]<br />
prompt=&#8217;[db: \d] &#8216;<a href="http://abaltazar.org/wordpress/wp-content/uploads/2010/05/mysql_prompt.png"><img src="http://abaltazar.org/wordpress/wp-content/uploads/2010/05/mysql_prompt-1024x688.png" alt="" title="mysql_prompt" width="1024" height="688" class="alignnone size-large wp-image-189" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/05/29/make-mysql-client-display-the-selected-working-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heading to Madrid</title>
		<link>http://abaltazar.org/2010/05/27/heading-to-madrid/</link>
		<comments>http://abaltazar.org/2010/05/27/heading-to-madrid/#comments</comments>
		<pubDate>Fri, 28 May 2010 06:35:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sports]]></category>

		<guid isPermaLink="false">http://abaltazar.org/?p=182</guid>
		<description><![CDATA[I may hate his football tactics, but Jose Mourinho is a legend in the making.]]></description>
			<content:encoded><![CDATA[<p>I may hate his football tactics, but Jose Mourinho is a legend in the making.</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/gZ09T9vuhlg&#038;hl=en_US&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/gZ09T9vuhlg&#038;hl=en_US&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://abaltazar.org/2010/05/27/heading-to-madrid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
