<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cycure</title>
	<atom:link href="http://sycure.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sycure.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 15:29:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sycure.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cycure</title>
		<link>http://sycure.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sycure.wordpress.com/osd.xml" title="Cycure" />
	<atom:link rel='hub' href='http://sycure.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Example : Using Java future, Callable, Executor and CountDownLatch</title>
		<link>http://sycure.wordpress.com/2012/01/21/example-using-java-future-and-countdownlatch/</link>
		<comments>http://sycure.wordpress.com/2012/01/21/example-using-java-future-and-countdownlatch/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 04:31:10 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=142</guid>
		<description><![CDATA[When you start using java.util.concurrent&#8217;s Future and the  thread pools or executor framework, Following questions may come to one&#8217;s mind How to do thread join kind of operation ? How to set timeout for future? Can the futures notify back the submitting thread when they are done? Example explaining usage for future, Callable and CountDownLatch together [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=142&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you start using java.util.concurrent&#8217;s Future and the  <em>thread pools or </em>executor framework, Following questions may come to one&#8217;s mind</p>
<ul>
<li>How to do thread join kind of operation ?</li>
<li>How to set timeout for future?</li>
<li>Can the futures notify back the submitting thread when they are done?</li>
</ul>
<p><em>Example explaining usage for future, Callable and CountDownLatch together</em></p>
<pre> 
public class DataAccessor {
    private static ThreadPoolExecutor executor;
    private int timeout = 1000;
    static {
        executor = new ThreadPoolExecutor(10, 10, 1000,     TimeUnit.SECONDS, new ArrayBlockingQueue&lt;Runnable&gt;(1000));
     }
    public ProcessedResponse getDataFromService(List&lt;String&gt; requests) {
        final CountDownLatch latch = new CountDownLatch(requests.size());
        List&lt;Future&lt;SubmittedJob&gt;&gt; submittedJobs = new ArrayList&lt;Future&lt;SubmittedJob&gt;&gt;(
            requests.size());
        for (String request : requests) {
            Future&lt;SubmittedJob&gt; job = executor.submit(new GetAndProcessResponse(request, latch));
            submittedJobs.add(job);
       }
       if (!latch.await(timeout, TimeUnit.MILLISECONDS)) {
            // some of the jobs not done
       }
       for (Future&lt;SubmittedJob&gt; job : submittedJobs) {
           try {
               // before doing a get you may check if it is done
               if (!job.isDone()) {
                   // cancel job
                   job.cancel(true);
                   continue;
              }
              ProcessedResponse response = job.get();
              aggregateResponse(response);
         } catch (ExecutionException cause) {
           // exceptions occurred during execution
           // we can get cause.getCause() and check instanceof
        }
    }
 }
private void aggregateResponse(ProcessedResponse response) {
    // aggregate response to a single response.
 }
private class SubmittedJob {
    final Future&lt;ProcessedResponse&gt; job;
    public Future&lt;ProcessedResponse&gt; getJob() {
        return job;
    }
    public String getRequest() {
        return request;
    }
     final String request;
     SubmittedJob(final Future&lt;ProcessedResponse&gt; job, final String request) {
         this.job = job;
         this.request = request;
     }
 }
private class ProcessedResponse {
    ProcessedResponse(final String request) {
    }
 }
private class GetAndProcessResponse implements Callable&lt;ProcessedResponse&gt; {
    private final String request;
    private final CountDownLatch countDownLatch;
    GetAndProcessResponse(final String request,    final CountDownLatch countDownLatch) {
        this.request = request;
        this.countDownLatch = countDownLatch;
    }
    ProcessedResponse call() {
         try {
             return getAndProcessResponse(this.request);
         } finally {
             countDownLatch.countDown();
         }
     }
    private ProcessedResponse getAndProcessResponse(final String request) {
         // do the service call
         // ........
         return (new ProcessedResponse(request));
    }
}</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=142&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2012/01/21/example-using-java-future-and-countdownlatch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>
	</item>
		<item>
		<title>GIDS.WEB 2011; Software Development == Mobile Software Development ?</title>
		<link>http://sycure.wordpress.com/2011/04/20/gids-web-2011-software-development-mobile-software-development/</link>
		<comments>http://sycure.wordpress.com/2011/04/20/gids-web-2011-software-development-mobile-software-development/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 15:16:54 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[GIDS]]></category>
		<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=130</guid>
		<description><![CDATA[Today, I have attended the GIDS.WEB 2011 (great indial developer summit) and it came back with mixed feeling about how it went! I have registered myself for the WEB sessions only as I am very interested to see how the new trends and technologies merging? I am not surprised to see that all the presenter are fucusing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=130&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, I have attended the <a href="http://www.developermarch.com/developersummit/sessions.html#web">GIDS.WEB</a> 2011 (great indial developer summit) and it came back with mixed feeling about how it went! I have registered myself for the WEB sessions only as I am very interested to see how the new trends and technologies merging? I am not surprised to see that all the presenter are fucusing on mobile / tablet devices in their speech but I am surprised that some are stretching it bit more&#8230;In example they just point out mobile devices / tablets for all the topics.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=130&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2011/04/20/gids-web-2011-software-development-mobile-software-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>
	</item>
		<item>
		<title>Some useful links on c++ constructor</title>
		<link>http://sycure.wordpress.com/2011/04/20/some-useful-links-on-c-constructor/</link>
		<comments>http://sycure.wordpress.com/2011/04/20/some-useful-links-on-c-constructor/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 14:38:07 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=123</guid>
		<description><![CDATA[There are lot of issues around c++ constructors, and I have few links that may help; http://billharlan.com/pub/papers/Managing_Cpp_Objects.html . Google code style is a helpfull material for that also. http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Classes constructors should initialize as a rule all member objects in the initialization list http://www.parashift.com/c%2B%2B-faq-lite/ctors.html#faq-10.6 . Constructor Design, MSDN; http://msdn.microsoft.com/en-us/library/ms229060.aspx . Copy constructor, http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Copy_Constructors . C++ Idioms and Best Practices http://www.cacr.caltech.edu/~sean/projects/stlib/html/idioms.html . [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=123&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are lot of issues around c++ constructors, and I have few links that may help;</p>
<p><a href="http://billharlan.com/pub/papers/Managing_Cpp_Objects.html">http://billharlan.com/pub/papers/Managing_Cpp_Objects.html</a> .</p>
<p>Google code style is a helpfull material for that also.</p>
<p><a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Classes">http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Classes</a></p>
<p>constructors should initialize as a rule all member objects in the initialization list</p>
<p><a title="c++ faq" href="http://www.parashift.com/c%2B%2B-faq-lite/ctors.html#faq-10.6">http://www.parashift.com/c%2B%2B-faq-lite/ctors.html#faq-10.6</a> .</p>
<p>Constructor Design, MSDN;</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms229060.aspx">http://msdn.microsoft.com/en-us/library/ms229060.aspx</a> .</p>
<p>Copy constructor,</p>
<p><a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Copy_Constructors">http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Copy_Constructors</a> .</p>
<p>C++ Idioms and Best Practices</p>
<p><a href="http://www.cacr.caltech.edu/~sean/projects/stlib/html/idioms.html">http://www.cacr.caltech.edu/~sean/projects/stlib/html/idioms.html</a> .</p>
<p>One very important point (my learning), you should have default constructor defined, either private or public !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=123&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2011/04/20/some-useful-links-on-c-constructor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>
	</item>
		<item>
		<title>Yet another phishing on SBI</title>
		<link>http://sycure.wordpress.com/2011/01/17/115/</link>
		<comments>http://sycure.wordpress.com/2011/01/17/115/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 03:41:41 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Information Security]]></category>
		<category><![CDATA[Security Testing]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[SBI]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=115</guid>
		<description><![CDATA[Recently got the following mail with nicely arranged phishing page, only it was not https&#8230; The site where it takes and from there the hell / the login page<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=115&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently got the following mail with nicely arranged phishing page, only it was not https&#8230;</p>
<div id="attachment_116" class="wp-caption aligncenter" style="width: 310px"><a href="http://sycure.files.wordpress.com/2011/01/sbi-phising-email.jpg"><img class="size-medium wp-image-116" title="sbi-phising-email" src="http://sycure.files.wordpress.com/2011/01/sbi-phising-email.jpg?w=300&#038;h=143" alt="Email stating where to visit" width="300" height="143" /></a><p class="wp-caption-text">The phishing email</p></div>
<p>The site where it takes and from there the hell / the login page <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://sycure.files.wordpress.com/2011/01/sbi-phising.jpg"><img class="aligncenter size-full wp-image-117" title="sbi-phising" src="http://sycure.files.wordpress.com/2011/01/sbi-phising.jpg?w=450&#038;h=281" alt="You will land on it : first" width="450" height="281" /></a></p>
<p><a href="http://sycure.files.wordpress.com/2011/01/sbi-phising-logon.jpg"><img class="aligncenter size-full wp-image-119" title="sbi-phising-logon" src="http://sycure.files.wordpress.com/2011/01/sbi-phising-logon.jpg?w=450&#038;h=281" alt="" width="450" height="281" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=115&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2011/01/17/115/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>

		<media:content url="http://sycure.files.wordpress.com/2011/01/sbi-phising-email.jpg?w=300" medium="image">
			<media:title type="html">sbi-phising-email</media:title>
		</media:content>

		<media:content url="http://sycure.files.wordpress.com/2011/01/sbi-phising.jpg" medium="image">
			<media:title type="html">sbi-phising</media:title>
		</media:content>

		<media:content url="http://sycure.files.wordpress.com/2011/01/sbi-phising-logon.jpg" medium="image">
			<media:title type="html">sbi-phising-logon</media:title>
		</media:content>
	</item>
		<item>
		<title>simple C/C++ Serialization or deflating or Marshalling user defined data types or objects</title>
		<link>http://sycure.wordpress.com/2010/09/23/simple-cc-serialization-or-deflating-or-marshalling-user-defined-data-types-or-objects/</link>
		<comments>http://sycure.wordpress.com/2010/09/23/simple-cc-serialization-or-deflating-or-marshalling-user-defined-data-types-or-objects/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 12:35:37 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[OOAD - Object Oriented Analysis and design]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=108</guid>
		<description><![CDATA[But is it to use boost or not it is your decision :-)  It is a good lib. But I find it very handy for small in another way as below;- // Just a simple serialization in C++ #ifndef CVARIABLELENDATA_HPP #define CVARIABLELENDATA_HPP #include &#60;string&#62; typedef char* BuffPtr; typedef size_t BuffLen; class CVariableLenData { public: //Serilizes data members [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=108&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>But is it to use boost or not it is your decision :-)  It is a good lib. But I find it very handy for small in another way as below;-
// Just a simple serialization in C++
#ifndef CVARIABLELENDATA_HPP
#define CVARIABLELENDATA_HPP

#include &lt;string&gt;

typedef char*	BuffPtr;
typedef size_t	BuffLen;

class CVariableLenData
{
public:
	//Serilizes data members to a char buffer
	void Serialize(BuffPtr &amp;ptr, BuffLen len, BuffLen &amp;writelen) const;

	//DeSerilizes from a char buffer &amp; constructs an object
	static CVariableLenData* DeSerialize(const BuffPtr ptr, BuffLen len);

	void SetData(std::string&amp; str);
	void SetData(int&amp; val);

	CVariableLenData();
private:
	int m_some_int;			// fixed length
	std::string m_some_str; // variable length
	CVariableLenData(const CVariableLenData&amp;);
};

#endif //CVARIABLELENDATA_HPP

// Source file
#include &lt;cstdio&gt;
#include "CVariableLenData.h"

using namespace std;

CVariableLenData::CVariableLenData():m_some_int(0),m_some_str(){}

void CVariableLenData::Serialize(BuffPtr &amp;ptr, BuffLen bufflen, BuffLen&amp; writelen) const
{
	if(!ptr)
		return;
	writelen = _snprintf (ptr, bufflen,"%d", m_some_int);
	*(ptr+writelen) = ' ';		// after each numeric value add an space
	size_t len = writelen + 1;
	// now write the string
	// copy length
	writelen = _snprintf ( (ptr+len), bufflen,"%u", m_some_str.length());
	*(ptr + len ) = ' ';
	len = len + writelen + 1;
	// Copy the data
	memcpy( (ptr+len), m_some_str.c_str(), m_some_str.length());
	writelen = len;
	return;
}</pre>
<p>Some links.</p>
<ul>
<li><a href="http://www.parashift.com/c++-faq-lite/serialization.html">http://www.parashift.com/c++-faq-lite/serialization.html</a></li>
<li><a href="http://functionx.com/cpp/articles/serialization.htm">http://functionx.com/cpp/articles/serialization.htm</a></li>
<li><a href="http://en.wikipedia.org/wiki/Serialization">http://en.wikipedia.org/wiki/Serialization</a></li>
<li><a href="http://stackoverflow.com/questions/234724/how-to-serialize-in-c">http://stackoverflow.com/questions/234724/how-to-serialize-in-c</a></li>
<li><a href="http://www.boost.org/doc/libs/1_44_0/libs/serialization/doc/index.html">http://www.boost.org/doc/libs/1_44_0/libs/serialization/doc/index.html</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=108&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2010/09/23/simple-cc-serialization-or-deflating-or-marshalling-user-defined-data-types-or-objects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>
	</item>
		<item>
		<title>Usefull command for Linux Developers</title>
		<link>http://sycure.wordpress.com/2010/09/02/usefull-command-for-linux-developers/</link>
		<comments>http://sycure.wordpress.com/2010/09/02/usefull-command-for-linux-developers/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 19:55:16 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=82</guid>
		<description><![CDATA[Locating a variable, function or finding a variable, or finding the occurrence / usage of function / variable in an efficient way. For example, you want to find the header file which defines a constant &#8220;PATH_MAX&#8221;. find / -iname *.h &#124; xargs grep -Hn &#8220;PATH_MAX&#8221; or, if you want to redirect the errors, then find [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=82&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Locating a variable, function or finding a variable, or finding the occurrence / usage of function / variable in an efficient way. For example, you want to find the header file which defines a constant &#8220;PATH_MAX&#8221;.</p>
<ul></ul>
<p>find / -iname *.h | xargs grep -Hn &#8220;PATH_MAX&#8221;</p>
<p>or, if you want to redirect the errors, then</p>
<p>find / -iname *.h 2&gt; /dev/null | xargs grep -Hn &#8220;PATH_MAX&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=82&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2010/09/02/usefull-command-for-linux-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>
	</item>
		<item>
		<title>JDBC : Ldap &#8211; sql bridge</title>
		<link>http://sycure.wordpress.com/2010/09/02/jdbc-ldap-sql-bridge/</link>
		<comments>http://sycure.wordpress.com/2010/09/02/jdbc-ldap-sql-bridge/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 19:51:41 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=100</guid>
		<description><![CDATA[I am not able to find a suitable use case for this one. I do not know what requirement it will serve other than maintaining some legacy one. Maybe i am wrong. Some links: http://www.vogella.de/articles/Eclipse/article.html http://myvd.sourceforge.net/jdbcldap.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=100&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am not able to find a suitable use case for this one. I do not know what requirement it will serve other than maintaining some legacy one. Maybe i am wrong.</p>
<p>Some links:</p>
<p>http://www.vogella.de/articles/Eclipse/article.html</p>
<p>http://myvd.sourceforge.net/jdbcldap.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=100&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2010/09/02/jdbc-ldap-sql-bridge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>
	</item>
		<item>
		<title>Some usefull GCC options for preprocessor</title>
		<link>http://sycure.wordpress.com/2010/09/02/some-usefull-gcc-options-for-preprocessor/</link>
		<comments>http://sycure.wordpress.com/2010/09/02/some-usefull-gcc-options-for-preprocessor/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 19:48:39 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=101</guid>
		<description><![CDATA[http://sources.redhat.com/gdb/current/onlinedocs/gdb_11.html We pass the `-gdwarf-2&#8242; and `-g3&#8242; flags to ensure the compiler includes information about preprocessor macro. For example;- gcc -gdwarf-2 -g3 sample.c -o sample To print the preprocessor output and stop there : gcc -E sample.c<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=101&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://sources.redhat.com/gdb/current/onlinedocs/gdb_11.html</p>
<p>We pass the `-gdwarf-2&#8242; and `-g3&#8242;</p>
<p>flags to ensure the compiler includes information about preprocessor macro. For example;-</p>
<pre>gcc -gdwarf-2 -g3 sample.c -o sample

To print the preprocessor output and stop there :
<pre>gcc -E sample.c</pre>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=101&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2010/09/02/some-usefull-gcc-options-for-preprocessor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>
	</item>
		<item>
		<title>Future attacks ??</title>
		<link>http://sycure.wordpress.com/2009/07/15/future-attacks/</link>
		<comments>http://sycure.wordpress.com/2009/07/15/future-attacks/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 05:37:42 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=98</guid>
		<description><![CDATA[I liked the article on some remote attacks without network!!! Interesting&#8230;&#8230;. http://www.scientificamerican.com/article.cfm?id=hackers-can-steal-from-reflections What about analyzing your brain waives..Hah.. Funny&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=98&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I liked the article on some remote attacks without network!!! Interesting&#8230;&#8230;.</p>
<p><a href="http://www.scientificamerican.com/article.cfm?id=hackers-can-steal-from-reflections">http://www.scientificamerican.com/article.cfm?id=hackers-can-steal-from-reflections<br />
</a></p>
<p>What about analyzing your brain waives..Hah.. Funny&#8230; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=98&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2009/07/15/future-attacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>
	</item>
		<item>
		<title>Phishing Attack &#8211; An amateur example</title>
		<link>http://sycure.wordpress.com/2009/07/14/phishing-attack-an-amateur-example/</link>
		<comments>http://sycure.wordpress.com/2009/07/14/phishing-attack-an-amateur-example/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 04:29:59 +0000</pubDate>
		<dc:creator>yadab das</dc:creator>
				<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://sycure.wordpress.com/?p=91</guid>
		<description><![CDATA[I got an email from some amateur hacker asking me to change my bank account details. The email was quite promising, I liked it Here is an screen shot of that from my mailbox :- After i clicked th URL, the layout was good but the URL that was visible on address bar is really [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=91&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got an email from some amateur hacker asking me to change my bank account details.</p>
<p>The email was quite promising, I liked it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Here is an screen shot of that from my mailbox :-</p>
<p style="text-align:center;"><img class="size-medium wp-image-92 aligncenter" title="sc4" src="http://sycure.files.wordpress.com/2009/07/sc4.jpg?w=300&#038;h=214" alt="sc4" width="300" height="214" /></p>
<p>After i clicked th URL, the layout was good but the URL that was visible on  address bar is  really bad, I mean really amateur <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Here is a screen shot of that. I have marked the mistakes <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img class="aligncenter size-medium wp-image-93" title="Screenshot-2" src="http://sycure.files.wordpress.com/2009/07/screenshot-2.png?w=300&#038;h=240" alt="Screenshot-2" width="300" height="240" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sycure.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sycure.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sycure.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sycure.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sycure.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sycure.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sycure.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sycure.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sycure.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sycure.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sycure.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sycure.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sycure.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sycure.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sycure.wordpress.com&amp;blog=3961891&amp;post=91&amp;subd=sycure&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sycure.wordpress.com/2009/07/14/phishing-attack-an-amateur-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3fd4fcb855e9fc4e0915b28cf0309d30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yadab</media:title>
		</media:content>

		<media:content url="http://sycure.files.wordpress.com/2009/07/sc4.jpg?w=300" medium="image">
			<media:title type="html">sc4</media:title>
		</media:content>

		<media:content url="http://sycure.files.wordpress.com/2009/07/screenshot-2.png?w=300" medium="image">
			<media:title type="html">Screenshot-2</media:title>
		</media:content>
	</item>
	</channel>
</rss>
