<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Google Ratproxy &#8211; Part 2 (Running and Using Ratproxy)</title>
	<atom:link href="http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/</link>
	<description>David Marginian's Blog</description>
	<lastBuildDate>Sun, 14 Mar 2010 05:47:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Abhijat</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-94</link>
		<dc:creator>Abhijat</dc:creator>
		<pubDate>Thu, 06 Aug 2009 06:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-94</guid>
		<description>Ooops I got it, it had to be like this 
C:\cygwin\ratproxy&gt;ratproxy.exe -v C:\cygwin -w ratproxy.log -p 8282 -d mybank.
com -P : -lfscm

I missed the option.

Anyways I appreciate the work. Ratproxy logs are more elaborative.</description>
		<content:encoded><![CDATA[<p>Ooops I got it, it had to be like this<br />
C:\cygwin\ratproxy&gt;ratproxy.exe -v C:\cygwin -w ratproxy.log -p 8282 -d mybank.<br />
com -P : -lfscm</p>
<p>I missed the option.</p>
<p>Anyways I appreciate the work. Ratproxy logs are more elaborative.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhijat</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-93</link>
		<dc:creator>Abhijat</dc:creator>
		<pubDate>Thu, 06 Aug 2009 05:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-93</guid>
		<description>Hi David,

I performed all steps as mentioned in Part 1 and 2. But looks like Ratproxy is not working.

Problem is that I am not getting connected to my server to making ratproxy work:

Below is the error:

C:\cygwin\ratproxy&gt;ratproxy.exe -v C:\cygwin -w ratproxy.log -p 8282 -d mybank.
com -lfscm
ratproxy version 1.58-beta by 
[*] Proxy configured successfully. Have fun, and please do not be evil.
[+] Accepting connections on port 8282/tcp (local only)...
[!] WARNING: Connection to target failed.
[!] WARNING: Connection to target failed.

Note I am using a web proxy server to access internet.

Even when I change the proxy settings in IE as localhost as proxy and 8282 as port to ge connected to rat proxy. I cannot browse internet to my site.

Please help me out.

Thanks,
Abhijat
I am sure there should be some option to tell ratproxy to get directed to my web proxy server, as it is with anyother web proxies scanners like webscarb or burp. I couldn&#039;t found any place where should I mention my proxy settings.</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>I performed all steps as mentioned in Part 1 and 2. But looks like Ratproxy is not working.</p>
<p>Problem is that I am not getting connected to my server to making ratproxy work:</p>
<p>Below is the error:</p>
<p>C:\cygwin\ratproxy&gt;ratproxy.exe -v C:\cygwin -w ratproxy.log -p 8282 -d mybank.<br />
com -lfscm<br />
ratproxy version 1.58-beta by<br />
[*] Proxy configured successfully. Have fun, and please do not be evil.<br />
[+] Accepting connections on port 8282/tcp (local only)&#8230;<br />
[!] WARNING: Connection to target failed.<br />
[!] WARNING: Connection to target failed.</p>
<p>Note I am using a web proxy server to access internet.</p>
<p>Even when I change the proxy settings in IE as localhost as proxy and 8282 as port to ge connected to rat proxy. I cannot browse internet to my site.</p>
<p>Please help me out.</p>
<p>Thanks,<br />
Abhijat<br />
I am sure there should be some option to tell ratproxy to get directed to my web proxy server, as it is with anyother web proxies scanners like webscarb or burp. I couldn&#8217;t found any place where should I mention my proxy settings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-67</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 18 Nov 2008 09:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-67</guid>
		<description>I sent Anne a message and she never responded.</description>
		<content:encoded><![CDATA[<p>I sent Anne a message and she never responded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-57</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Wed, 08 Oct 2008 16:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-57</guid>
		<description>I have configurate Windows+cygwin environment and I’m trying to run ratproxy-report.sh  in cygwin, but am getting this error when I run “./ratproxy-report.sh ratproxy.log&gt;report.html”:

/usr/bin/sh: /usr/bin/awk: Not such file or directory
/usr/bin/sh: /usr/bin/awk: Not such file or directory

and the report is empty :( 

Can you help me please??</description>
		<content:encoded><![CDATA[<p>I have configurate Windows+cygwin environment and I’m trying to run ratproxy-report.sh  in cygwin, but am getting this error when I run “./ratproxy-report.sh ratproxy.log&gt;report.html”:</p>
<p>/usr/bin/sh: /usr/bin/awk: Not such file or directory<br />
/usr/bin/sh: /usr/bin/awk: Not such file or directory</p>
<p>and the report is empty <img src='http://www.butterdev.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </p>
<p>Can you help me please??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mary</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-53</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Mon, 11 Aug 2008 20:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-53</guid>
		<description>Great tutorial- have ratproxy running and it&#039;s doing a great job auditing servers. Thanks!</description>
		<content:encoded><![CDATA[<p>Great tutorial- have ratproxy running and it&#8217;s doing a great job auditing servers. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-51</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Fri, 01 Aug 2008 15:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-51</guid>
		<description>Thanks so much for this tutorial.  Great Job!!!</description>
		<content:encoded><![CDATA[<p>Thanks so much for this tutorial.  Great Job!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-48</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 15 Jul 2008 15:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-48</guid>
		<description>Let me be specific in what resolved it - I went back to the cygwin installer, and on the &quot;Choose Installation Directory&quot;, select DOS/text for the Default Text File Type.</description>
		<content:encoded><![CDATA[<p>Let me be specific in what resolved it &#8211; I went back to the cygwin installer, and on the &#8220;Choose Installation Directory&#8221;, select DOS/text for the Default Text File Type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-47</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 15 Jul 2008 15:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-47</guid>
		<description>You rock David - that did it!</description>
		<content:encoded><![CDATA[<p>You rock David &#8211; that did it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davidmarginian</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-46</link>
		<dc:creator>davidmarginian</dc:creator>
		<pubDate>Tue, 15 Jul 2008 15:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-46</guid>
		<description>My guess is that it is an issue with windows line break characters in the script (the \r is suspicious as that is not a valid unix line feed).  Try running dos2unix (should be in your cygwin bin) or opening the file in a text editor that will allow you to easily replace the windows line breaks with *nix line breaks.

You shouldn&#039;t have this problem unless you attempted to open and save the script that came with the ratproxy install.  </description>
		<content:encoded><![CDATA[<p>My guess is that it is an issue with windows line break characters in the script (the \r is suspicious as that is not a valid unix line feed).  Try running dos2unix (should be in your cygwin bin) or opening the file in a text editor that will allow you to easily replace the windows line breaks with *nix line breaks.</p>
<p>You shouldn&#8217;t have this problem unless you attempted to open and save the script that came with the ratproxy install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.butterdev.com/web-security/2008/07/google-ratproxy-part-2-running-and-using-ratproxy/comment-page-1/#comment-45</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 15 Jul 2008 14:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://butterdev.com/?p=21#comment-45</guid>
		<description>David,

On my Windows+cygwin environment, I was able to setup cygwin and ratproxy properly, and run ratproxy with no issues. Now I&#039;m trying to run ratproxy-report.sh via a cygwin bash, but am getting these errors when I run &quot;./ratproxy-report.sh ratproxy.log&gt;report.html&quot;:

./ratproxy-report.sh: line 29: $&#039;\r&#039;: command not found
./ratproxy-report.sh: line 230: syntax error near unexpected token &#039;elif&#039;
./ratproxy-report.sh: line 230: &#039;    elif [ &quot;$severity&quot; = &quot;2&quot; ]; then

I&#039;ve looked through the ratproxy-report.sh file, and it looks fine there. Even when I try running ratproxy-report.sh without any arguments, I still those errors; I would have expected to get something like:

Usage: $0 ratproxy.log

I&#039;m wondering if there is something in cygwin I need installed, but I can&#039;t think of any. I&#039;ve gone over your part 1 and part 2 posts several times, and the ratproxy doc a few times as well. Any thoughts? I&#039;m sure it&#039;s something little and silly because it usually is :)</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>On my Windows+cygwin environment, I was able to setup cygwin and ratproxy properly, and run ratproxy with no issues. Now I&#8217;m trying to run ratproxy-report.sh via a cygwin bash, but am getting these errors when I run &#8220;./ratproxy-report.sh ratproxy.log&gt;report.html&#8221;:</p>
<p>./ratproxy-report.sh: line 29: $&#8217;\r&#8217;: command not found<br />
./ratproxy-report.sh: line 230: syntax error near unexpected token &#8216;elif&#8217;<br />
./ratproxy-report.sh: line 230: &#8216;    elif [ "$severity" = "2" ]; then</p>
<p>I&#8217;ve looked through the ratproxy-report.sh file, and it looks fine there. Even when I try running ratproxy-report.sh without any arguments, I still those errors; I would have expected to get something like:</p>
<p>Usage: $0 ratproxy.log</p>
<p>I&#8217;m wondering if there is something in cygwin I need installed, but I can&#8217;t think of any. I&#8217;ve gone over your part 1 and part 2 posts several times, and the ratproxy doc a few times as well. Any thoughts? I&#8217;m sure it&#8217;s something little and silly because it usually is <img src='http://www.butterdev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: www.butterdev.com @ 2010-09-07 16:54:42 -->