<?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>Nenad Vijatov &#187; Linux</title>
	<atom:link href="http://blog.vijatov.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vijatov.com</link>
	<description>xor %ecx,%ecx</description>
	<lastBuildDate>Thu, 05 Aug 2010 23:14:55 +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>Ubuntu Pentest Edition</title>
		<link>http://blog.vijatov.com/2010/01/15/ubuntu-pentest-edition/</link>
		<comments>http://blog.vijatov.com/2010/01/15/ubuntu-pentest-edition/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 11:41:00 +0000</pubDate>
		<dc:creator>Nenad Vijatov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Pentest]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.vijatov.com/?p=116</guid>
		<description><![CDATA[netinfinity release Ubuntu Pentest Edition &#8230; &#8220;Ubuntu pentest edition is primarily designed as a complete system (everyday usage &#8211; office, internet etc..) and can be used in pentesting purposes, which is a big advantage because you do not need to have a dual boot or use a virtual machine to run the system for pentest.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>netinfinity release Ubuntu Pentest Edition &#8230;<br />
&#8220;Ubuntu pentest edition is primarily designed as a complete system (everyday usage &#8211; office, internet etc..) and can be used in pentesting purposes, which is a big advantage because you do not need to have a dual boot or use a virtual machine to run the system for pentest.&#8221;<br />
Try it &#8230; <a href="http://www.netinfinity.org/download/">link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vijatov.com/2010/01/15/ubuntu-pentest-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Tools &#8211; bulk update Windows VMs</title>
		<link>http://blog.vijatov.com/2009/02/13/vmware-tools-bulk-update-windows-vms/</link>
		<comments>http://blog.vijatov.com/2009/02/13/vmware-tools-bulk-update-windows-vms/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 10:13:23 +0000</pubDate>
		<dc:creator>Nenad Vijatov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware ESX]]></category>

		<guid isPermaLink="false">http://blog.vijatov.com/?p=56</guid>
		<description><![CDATA[If you need to update VMware tools on all Windows (Server 2003, XP) VMs on one or more VMware ESX server, you need to do that with command &#60;i&#62;vmware-vmupgrade.exe&#60;/i&#62;. From my point of view this command is insecure, so I deiced to create a &#60;i&#62;bash&#60;/i&#62; script for this job using GREAT utility &#60;b&#62;vimsh&#60;/b&#62;. Script looks [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to update VMware tools on all Windows (Server 2003, XP) VMs on one or more VMware ESX server, you need to do that with command &lt;i&gt;vmware-vmupgrade.exe&lt;/i&gt;.<br />
From my point of view this command is insecure, so I deiced to create a &lt;i&gt;bash&lt;/i&gt; script for this job using GREAT utility &lt;b&gt;vimsh&lt;/b&gt;.</p>
<p>Script looks like this &#8230;<br />
<span id="more-56"></span>#!/bin/bash<br />
#Automatic Upgrade VMware Tools &#8212; Nenad Vijatov &#8212; v.0.6</p>
<p>#Define variables<br />
TEMPFILE=/root/temp_vmlist<br />
RESULTFILE=/root/temp_vmupgrade</p>
<p>#Fill TEMPFILE<br />
vmware-vim-cmd vmsvc/getallvms &gt; $TEMPFILE</p>
<p>#Lets filter TEMPFILE<br />
for a in `awk &#8216;{if ($5 == &#8220;winNetStandardGuest&#8221; || $5 == &#8220;winNetEnterpriseGuest&#8221; || $5 == &#8220;winXPProGuest&#8221;) print $1}&#8217; $TEMPFILE`<br />
do<br />
#Take action on each VM<br />
VMSTATE=`vmware-vim-cmd vmsvc/power.getstate $a | grep Powered | awk &#8216;{print $2}&#8217;`<br />
echo &#8220;VM with ID $a is powered $VMSTATE&#8221; &gt;&gt; $RESULTFILE<br />
while [ $VMSTATE == "off" ]<br />
do<br />
echo &#8220;Powering on VM with ID $a &#8230;&#8221; &gt;&gt; $RESULTFILE<br />
vmware-vim-cmd vmsvc/power.on $a<br />
sleep 30<br />
VMSTATE=`vmware-vim-cmd vmsvc/power.getstate $a | grep Powered | awk &#8216;{print $2}&#8217;`<br />
done<br />
echo &#8220;Upgrading VM with ID $a &#8230;&#8221; &gt;&gt; $RESULTFILE<br />
vmware-vim-cmd vmsvc/tools.upgrade $a<br />
done<br />
#EOF</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vijatov.com/2009/02/13/vmware-tools-bulk-update-windows-vms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password protect single user mode</title>
		<link>http://blog.vijatov.com/2008/02/25/9/</link>
		<comments>http://blog.vijatov.com/2008/02/25/9/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 13:59:00 +0000</pubDate>
		<dc:creator>Nenad Vijatov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Single user mode]]></category>

		<guid isPermaLink="false">http://vijatov.com/blog/?p=9</guid>
		<description><![CDATA[You forget your root password and get locked out of your own box. What do you do? Typically, you would reboot into single user mode and change the password there. When booting into single user mode you will not be prompted for the root password. This is something every attacker knows and prays on once [...]]]></description>
			<content:encoded><![CDATA[<p>You forget your root password and get locked out of your own box. What do you do? Typically, you would reboot into single user mode and change the password there.</p>
<p>When booting into single user mode you will not be prompted for the root password. This is something every attacker knows and prays on once he has gained physical access to you box. So what do you do?<br />
Firstly, a good sys admin knows not to forget the root password. Login in as root is never a good idea so using sudo is always advised.<br />
This still leaves the single user mode vulnerable, to secure it you will have to append the following line “su:S:wait:/sbin/sulogin” to your “/etc/inittab” file.<br />
Now, every time you boot into single user mode you will be prompted for the root password.</p>
<p># password protect single user mode<br />
su:S:wait:/sbin/sulogin</p>
<p>PS: Always remember you password, if you can’t then write in down in a safe place.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vijatov.com/2008/02/25/9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
