<?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>romenov.com</title>
	<atom:link href="http://blog.romenov.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.romenov.com</link>
	<description></description>
	<lastBuildDate>Fri, 16 Jul 2010 23:04:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress blog infected &#8211; redirect to trojan website</title>
		<link>http://blog.romenov.com/wordpress-blog-infected-redirect-to-trojan-website</link>
		<comments>http://blog.romenov.com/wordpress-blog-infected-redirect-to-trojan-website#comments</comments>
		<pubDate>Fri, 16 Jul 2010 23:04:42 +0000</pubDate>
		<dc:creator>romenov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.romenov.com/?p=39</guid>
		<description><![CDATA[So I've recently come across a problem with a few Wordpress blogs (none were version 3.0.0 however), when you visited the site for the first time, it would redirect you to a website that asks to install antivirus software (ofcourse this is a trojan)
The tricky part is, that if you are the site owned, it [...]]]></description>
			<content:encoded><![CDATA[<p>So I've recently come across a problem with a few Wordpress blogs (none were version 3.0.0 however), when you visited the site for the first time, it would redirect you to a website that asks to install antivirus software (ofcourse this is a trojan)</p>
<p><span id="more-39"></span>The tricky part is, that if you are the site owned, it will NOT be visible to you. Unless you have the habbit of clearing your cookies. What the hack did was modify the wp_posts (or other prefixes) table, and modify the post_content by placing</p>
<blockquote><p>&lt;script src="xxxxxxxxxxxxxx"&gt;&lt;/script"&gt;</p></blockquote>
<p>at the end of the line (of course, xxxxx is a URL which I have removed because of security reasons). So, if you are experiencing the same problem, go into your database, and see if you see a &lt;script in your _posts table, in the post_content field.</p>
<p>What does the script do? Well is basicly comes down to his</p>
<ol>
<li>The script determines if you have visited the website already (by looking through your cookies)</li>
<li>If you have already visited the website, it will just show you the normal page (so if you are the site owner you won't notice if your site has been affected if you don't clear your cookies)</li>
<li>If you haven't visisted the website, if will redirect you (through a tinyurl)</li>
</ol>
<p>I fixed it by backing up the database, then dropping the _posts table , editing the sql for the _posts table , and did a replace all on the &lt;script .. problems were solved after this.</p>
<p>I hope this helps some of you <img src='http://blog.romenov.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.romenov.com/wordpress-blog-infected-redirect-to-trojan-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ Wordpress ] Cforms and Qtranslate problem</title>
		<link>http://blog.romenov.com/wordpress-cforms-and-qtranslate-problem</link>
		<comments>http://blog.romenov.com/wordpress-cforms-and-qtranslate-problem#comments</comments>
		<pubDate>Thu, 11 Mar 2010 14:01:09 +0000</pubDate>
		<dc:creator>romenov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.romenov.com/?p=30</guid>
		<description><![CDATA[Hi,
When you submit a form with cforms and you use the qtranslate plugin, it automatically goes to the back to the default language page, and the form does not submit. Are you having this issue? The solution is below
Solution:
find
$content .= $ntt . '&#60;form  enctype="multipart/form-data" action="' . $action . '" method="post"  class="cform'.( $cformsSettings['form'.$no]['cforms'.$no.'_dontclear']?'  [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>When you submit a form with cforms and you use the qtranslate plugin, it automatically goes to the back to the default language page, and the form does not submit. Are you having this issue? The solution is below</p>
<p><span id="more-30"></span>Solution:</p>
<p>find</p>
<blockquote><p><span>$content .= $ntt . '&lt;form  enctype="multipart/form-data" action="' . $action . '" method="post"  class="cform'.( $cformsSettings['form'.$no]['cforms'.$no.'_dontclear']?'  cfnoreset':'' ).'" id="cforms'.$no.'form"&amp;g<strong>t</strong>;'  . $nl;</span></p></blockquote>
<p><span>insert the following BEFORE $content .= $ntt ..</span></p>
<blockquote><p><span>if(strstr(get_locale(),'xx')!="") $action =  '/xx'.$ac<strong>t</strong>ion; </span></p></blockquote>
<p><span><strong>replace xx with the two letter language code of the non default language</strong><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.romenov.com/wordpress-cforms-and-qtranslate-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 x64 USB issues</title>
		<link>http://blog.romenov.com/windows-7-x64-usb-issues</link>
		<comments>http://blog.romenov.com/windows-7-x64-usb-issues#comments</comments>
		<pubDate>Wed, 30 Dec 2009 20:31:42 +0000</pubDate>
		<dc:creator>romenov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.romenov.com/?p=24</guid>
		<description><![CDATA[If your USB stick / drive crashes under windows 7 x64, or if it makes your system freeze, then this article might be just the thing for you.
The problem seems to occur on systems using nVidia nForce 6 and up chipsets.
]]></description>
			<content:encoded><![CDATA[<p>If your USB stick / drive crashes under windows 7 x64, or if it makes your system freeze, then <a href="http://windows7tipsonline.com/USB_Problem.htm" target="_blank">this article</a> might be just the thing for you.<br />
The problem seems to occur on systems using nVidia nForce 6 and up chipsets.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.romenov.com/windows-7-x64-usb-issues/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Office Outlook has stopped working</title>
		<link>http://blog.romenov.com/microsoft-office-outlook-has-stopped-working</link>
		<comments>http://blog.romenov.com/microsoft-office-outlook-has-stopped-working#comments</comments>
		<pubDate>Fri, 25 Dec 2009 12:41:32 +0000</pubDate>
		<dc:creator>Valerie</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://blog.romenov.com/?p=20</guid>
		<description><![CDATA[In my company a few people had a problem with outlook.
It randomly crashed. They needed to reboot their computer to be able to read mails again.
I found following error in their eventviewer:
Faulting application OUTLOOK.EXE, version 12.0.6514.5000, time stamp 0x4a89dc70, faulting module ntdll.dll, version 6.0.6002.18005, time stamp 0x49e03821, exception code 0xc0000374, fault offset 0x000afaf8, process id [...]]]></description>
			<content:encoded><![CDATA[<p>In my company a few people had a problem with outlook.<br />
It randomly crashed. They needed to reboot their computer to be able to read mails again.</p>
<p>I found following error in their eventviewer:<br />
<code>Faulting application OUTLOOK.EXE, version 12.0.6514.5000, time stamp 0x4a89dc70, faulting module ntdll.dll, version 6.0.6002.18005, time stamp 0x49e03821, exception code 0xc0000374, fault offset 0x000afaf8, process id 0x14f4, application start time 0x01ca830f85dbedc2.</code></p>
<p>Maybe a plugin was causing this issues. Running outlook in safe mode disables all the plugins.<br />
You can start outlook in safe mode by right clicking on the shortcut, select properties and add following parameter at the end of the Target command <code>/safe</code><br />
so your target should be something like this: "C:\Program Files\Microsoft Office\Office12\OUTLOOK.EXE" /recycle /safe</p>
<p>After letting one of the users who experienced these problems start outlook in safe mode, outlook didn't crash anymore. So, one of the plugins was causing the problems.</p>
<p>After comparing the plugins, the "problem" users were using. I noticed that the only similar (and not standard) plugin was "PDFMOUTLOOK", a plugin from adobe. This must be the plugin causing the crashes ! Go in outlook to tools > Trust Center > Add-ins to view all installed plugins.</p>
<p>I let the users remove the plugin ! You can remove a plugin by going to the Outlook tools menu > Trust Center > Add-ins > Manage: COM add-ins > Go. In this window you can select a plugin and click remove.</p>
<p>Regards,<br />
Valérie</p>
<p>Note: If you only have one user with this problem you can start outlook in safe mode and enable plugins one by one, and see on which one it crashes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.romenov.com/microsoft-office-outlook-has-stopped-working/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wordpress rich text editor issues</title>
		<link>http://blog.romenov.com/wordpress-rich-text-editor-issues</link>
		<comments>http://blog.romenov.com/wordpress-rich-text-editor-issues#comments</comments>
		<pubDate>Thu, 24 Dec 2009 14:34:27 +0000</pubDate>
		<dc:creator>romenov</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.romenov.com/?p=18</guid>
		<description><![CDATA[Are you having issues with the wp-admin backend of Wordpress? Is your rich text editor broken? or are some style elements not quite what they're supposed to be?
Try downloading the wordpress package from Wordpress.org ,
delete the wp-admin / wp-includes directory from your FTP,and reupload the correct files.
If you're still getting javascript errors ( like a [...]]]></description>
			<content:encoded><![CDATA[<p>Are you having issues with the wp-admin backend of Wordpress? Is your rich text editor broken? or are some style elements not quite what they're supposed to be?</p>
<p>Try downloading the wordpress package from <a href="http://wordpress.org/download/release-archive/">Wordpress.org</a> ,<br />
delete the wp-admin / wp-includes directory from your FTP,and reupload the correct files.</p>
<p>If you're still getting javascript errors ( like a broken editor, stuck in Visual mode with white text) , you could try adding the following to your wp-config.php</p>
<blockquote><p>define('CONCATENATE_SCRIPTS', false );<br />
or</p>
<p>define('SCRIPT_DEBUG', true);</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.romenov.com/wordpress-rich-text-editor-issues/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Read mails through JMeter</title>
		<link>http://blog.romenov.com/read-mails-through-jmeter</link>
		<comments>http://blog.romenov.com/read-mails-through-jmeter#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:33:46 +0000</pubDate>
		<dc:creator>Valerie</dc:creator>
				<category><![CDATA[jmeter]]></category>
		<category><![CDATA[Beanshell postprocessor]]></category>
		<category><![CDATA[confirmation url]]></category>
		<category><![CDATA[Mail reader sampler]]></category>

		<guid isPermaLink="false">http://blog.romenov.com/?p=3</guid>
		<description><![CDATA[JMeter is a free java-based tool that can be used for monitoring.
In my case I needed to check the activation URL in a confirmation mail.
To read mails JMeter uses the Mail Reader Sampler. Before you can use this sampler you need to place the Java Mail.jar in the JMeter lib directory.
But the Mail Reader Sampler [...]]]></description>
			<content:encoded><![CDATA[<p>JMeter is a free java-based tool that can be used for monitoring.<br />
In my case I needed to check the activation URL in a confirmation mail.<br />
To read mails JMeter uses the Mail Reader Sampler. Before you can use this sampler you need to place the Java Mail.jar in the JMeter lib directory.<br />
But the Mail Reader Sampler treats all the mails as subsamples, and most post processors cannot use them.</p>
<p><span id="more-3"></span><br />
So, to get the activation URL I used a BeanShell PostProcessor. If you use BeanShell you need to place bsh-2.0b4.jar in the JMeter lib directory.<br />
The URL I needed to check was from the following format: https://www.[domain].be/Action.do?URL=[Activation Code]"<br />
I only needed the Activation Code. This is the BeanShell PostProcessor code I used:</p>
<pre><code>import org.apache.jmeter.samplers.SampleResult;

counter = 1;
temp=null;
newVal = "INVALID";

//get all mails
results = prev.getSubResults();
	for(SampleResult result: results) {
		mail = result.getResponseDataAsString();
                //check sender and subject
		if(mail.contains("From: [Sender]") &amp;&amp; mail.contains("Subject: [Subject]")) {
                        //get URL
			temp = mail.split("URL=");
			temp = temp[1].split(”\”&gt;”);
			newVal = temp[0];
		}
        //put url in JMeter variable
	vars.put("activationCode", newVal);
	counter++;
	}
</code></pre>
<p>The Activation code is now in the JMeter variable: $[activationCode] which can be accessed from Samplers, Pre &amp; Post-Processors,...<br />
To access this variable, you need to define it in JMeters User Defined Variables first. Otherwise JMeter doesn't know about it existence.</p>
<p>I used a split to get the activation code out of the URL, you could also use a regex which would be something like this: .*URL=([^"]*).*</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.romenov.com/read-mails-through-jmeter/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
