<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Apt-get Explore</title>
	<atom:link href="http://abechik.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://abechik.wordpress.com</link>
	<description>Open Sources Linux Freeradius Chillispot Python Bash CodeIgniter</description>
	<lastBuildDate>Sat, 29 Aug 2009 11:25:37 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='abechik.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/cc2a8b961e9bab68c8fe2bb677a11fe3?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Apt-get Explore</title>
		<link>http://abechik.wordpress.com</link>
	</image>
			<item>
		<title>Installing GNU Screen in ESX server</title>
		<link>http://abechik.wordpress.com/2009/08/28/installing-gnu-screen-in-esx-server/</link>
		<comments>http://abechik.wordpress.com/2009/08/28/installing-gnu-screen-in-esx-server/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 09:50:09 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Command-Line]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/2009/08/28/installing-gnu-screen-in-esx-server/</guid>
		<description><![CDATA[Today, I am forced to login into my ESX servers. Some accidents  happened and my virtual servers went down. Seems to much snapshots i have made using a scheduler and fill up my datastore entirely.
There is only 2GB left from 500GB of storage. Therefore my machine cannot boot anymore. I tried to use VMware [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=134&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today, I am forced to login into my ESX servers. Some accidents  happened and my virtual servers went down. Seems to much snapshots i have made using a scheduler and fill up my datastore entirely.</p>
<p>There is only 2GB left from 500GB of storage. Therefore my machine cannot boot anymore. I tried to use VMware Virtual Client to move some of virtual disks but seems my network was so intermittent and the operations failed over and over.</p>
<p>Well I need to go inside the ESX and manually move the virtual disks. but that the problem, my network is not reliable. I can just let my ssh sessions interrupted while copying the disks.</p>
<p>And worse, ESX does not have screen installed. Hello! that is my favorite tool while playing in CLI. Seems I have to install one, so I can work anywhere as I in the server myself.</p>
<p>I tried to use Yum. But the Yum in ESX is just meant to use for updates only. What a lame!</p>
<p>More research comes up with ESX is built on RH3. That just cool! Just find any rpm that suite that distros, I think it will fit ESX.</p>
<p>And i found it in rpm.pbone.net! the <a title="RPM for Screen " href="http://rpm.pbone.net/index.php3/stat/4/idpl/5245464/com/screen-3.9.15-10.i386.rpm.html" target="_blank">link</a> is:</p>
<blockquote><p>http://rpm.pbone.net/index.php3/stat/4/idpl/5245464/com/screen-3.9.15-10.i386.rpm.html</p></blockquote>
<p>and with a <a title="RPM for utempter" href="http://rpm.pbone.net/index.php3/stat/4/idpl/5246885/com/utempter-0.5.5-1.3EL.0.i386.rpm.html" target="_blank">dependency</a> that needed:</p>
<blockquote><p>http://rpm.pbone.net/index.php3/stat/4/idpl/5246885/com/utempter-0.5.5-1.3EL.0.i386.rpm.html</p></blockquote>
<p>Now, I have it installed and ready to move my virtual disks to external drive I attached to my ESX server!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=134&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2009/08/28/installing-gnu-screen-in-esx-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>
	</item>
		<item>
		<title>Dhcpd service went haywire</title>
		<link>http://abechik.wordpress.com/2009/03/11/dhcpd-service-went-haywire/</link>
		<comments>http://abechik.wordpress.com/2009/03/11/dhcpd-service-went-haywire/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 08:51:23 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Command-Line]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[server dowm]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/?p=130</guid>
		<description><![CDATA[I am having big headache today. My first dhcp servers with failover went into some problem. This is due to unproper shutdown last night. Tenaga Nasional Berhad (TNB)  should inform us that their maintenance took lot of time yesterday. As our UPS batteries is limited to 30-45 minutes, all servers died unexpectedly.
I have two dhcp server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=130&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am having big headache today. My first dhcp servers with failover went into some problem. This is due to unproper shutdown last night. Tenaga Nasional Berhad (TNB)  should inform us that their maintenance took lot of time yesterday. As our UPS batteries is limited to 30-45 minutes, all servers died unexpectedly.</p>
<p>I have <strong>two </strong>dhcp server running side by side with failover mode. Next day, when everybody just started their working hours ,  i realized then the dhcp service for master server was down.</p>
<p>Tried to troubleshoot, I got this message over and over again. Quite dissappointed because the web is not helping and Uncle G lost his touch today.</p>
<blockquote><p><span> </span>Mar 11 19:53:13 ns3 dhcpd: failover peer dhcp-failover: I move from communications-interrupted to startup</p>
<p><span> </span>Mar 11 19:53:13 ns3 kernel: [   45.856222] dhcpd3[3869]: segfault at 0 ip b7ea329b sp bfd155b0 error 4 in dhcpd3[b7e82000+94000]</p></blockquote>
<p>Much has been done. I reinstalled the service, fallback to old config, use vmware to fallback to previous states, but i failed.</p>
<p>Until 6 hours later i found the problem. The clock differs a lot. Such a little error and it have the service mess up.  The date between the two servers differs 12 hours.</p>
<p>A very short command recovered the date correctly.</p>
<blockquote><p><span> </span># sudo date 03111451</p></blockquote>
<p>After that i restart the service and everything when to normal. Such a headache solved with the simplest command.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=130&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2009/03/11/dhcpd-service-went-haywire/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 8.10: Squid3 with pam_auth revisited</title>
		<link>http://abechik.wordpress.com/2008/12/26/ubuntu-810-squid3-with-pam_auth-revisited/</link>
		<comments>http://abechik.wordpress.com/2008/12/26/ubuntu-810-squid3-with-pam_auth-revisited/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 03:09:01 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Command-Line]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[squid]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[Intrepix Ibex]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/?p=119</guid>
		<description><![CDATA[It has been a long time I have not touch the squid configuration and installation. Recently, when I tried to install it again, I found that the howtos in Internet was a little bit confusing and I did not manage to setup. Until I viewed the log file (/var/log/auth.log) then I understood what went wrong [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=119&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It has been a long time I have not touch the squid configuration and installation. Recently, when I tried to install it again, I found that the howtos in Internet was a little bit confusing and I did not manage to setup. Until I viewed the log file (/var/log/auth.log) then I understood what went wrong and managed to solve the problem.</p>
<p>My  objective is to create a new proxy server with limited access controlled by using PAM authentication. The original howto is from this <a title="squid with pam authentication " href="http://www.opensourcehowto.org/how-to/squid/squid-with-pam-authentication.html">page</a>.  I modified it to suit my environment which is using Ubuntu 8.10 server installed on my ESX server (Virtualization is awesome!).</p>
<p>The steps i did:</p>
<p>1. Update the APT installer to find the latest packages</p>
<blockquote><p>$ sudo apt-get update</p></blockquote>
<p>2. Installed your squid and any dependencies.<br />
In Intrepix Ibex, they use squid3 name instead of just squid. It made me mistakenly edited the wrong files several times.</p>
<blockquote><p>$ sudo apt-get install squid3</p></blockquote>
<p>3. Edit the main configuration files<br />
We need to add 2 entry here to enable PAM authentication and force the PAM authentication. edit the squid.conf.</p>
<blockquote><p>$ sudo vi /etc/squid3/squid.conf.</p></blockquote>
<p>and add this lines to enable PAM authentication</p>
<blockquote><p>auth_param basic program /usr/lib/squid3/pam_auth<br />
auth_param basic children 5<br />
auth_param basic realm Squid<br />
auth_param basic credentialsttl 2 hours</p></blockquote>
<p>And add this to force authentication to every user using it</p>
<blockquote><p># INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS<br />
acl pam proxy_auth REQUIRED<br />
http_access allow pam</p></blockquote>
<p>4. Configure the pam modules for Squid<br />
Create a new file with name squid in /etc/pam.d/ and populate with this entry.</p>
<blockquote><p>$ sudo vi /etc/pam.d/squid</p></blockquote>
<p>Add the below lines. This is the alteration i did from the previously mentioned  <a title="squid with pam authentication " href="http://www.opensourcehowto.org/how-to/squid/squid-with-pam-authentication.html">howto</a>.</p>
<blockquote><p>auth             required        pam_unix.so<br />
account         required        pam_unix.so</p></blockquote>
<p>5. Start the squid service</p>
<blockquote><p>$ sudo /etc/init.d/squid start</p></blockquote>
<p>The service should starts smoothly if you are using the same distro and packages that i used. Actually configuring squid is quite straightforward but maintaining and managing different distros with different styles and packages versions is the confusing part.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=119&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2008/12/26/ubuntu-810-squid3-with-pam_auth-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>
	</item>
		<item>
		<title>10 reasons websites get hacked</title>
		<link>http://abechik.wordpress.com/2008/11/17/10-reasons-websites-get-hacked/</link>
		<comments>http://abechik.wordpress.com/2008/11/17/10-reasons-websites-get-hacked/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 01:04:34 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/?p=117</guid>
		<description><![CDATA[Below you will find list of top 10 web vulnerabilities classified by OWASP, here is also description of the problem and some examples.
I will just give you the list in case you missed it before, i will not comment on any of these as there is already hot discussion about this matter on several sites/forums.
So [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=117&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Below you will find list of <strong>top 10 web vulnerabilities</strong> classified by OWASP, here is also description of the problem and some examples.</p>
<p>I will just give you the list in case you missed it before, i will not comment on any of these as there is already hot discussion about this matter on several sites/forums.</p>
<p>So here it starts:</p>
<p><strong> 1. Cross site scripting (XSS)</strong></p>
<p><strong>The problem:</strong> The “most prevalent and pernicious” Web application security vulnerability, XSS flaws happen when an application sends user data to a Web browser without first validating or encoding the content. This lets hackers execute malicious scripts in a browser, letting them hijack user sessions, deface Web sites, insert hostile content and conduct phishing and malware attacks.</p>
<p>Attacks are usually executed with JavaScript, letting hackers manipulate any aspect of a page. In a worst-case scenario, a hacker could steal information and impersonate a user on a bank’s Web site, according to Snyder.</p>
<p><strong> Real-world example:</strong> PayPal was targeted last year when attackers redirected PayPal visitors to a page warning users their accounts had been compromised. Victims were redirected to a phishing site and prompted to enter PayPal login information, Social Security numbers and credit card details. PayPal said it closed the vulnerability in June 2006.</p>
<p><strong> How to protect users:</strong> Use a whitelist to validate all incoming data, which rejects any data that’s not specified on the whitelist as being good. This approach is the opposite of blacklisting, which rejects only inputs known to be bad. Additionally, use appropriate encoding of all output data. “Validation allows the detection of attacks, and encoding prevents any successful script injection from running in the browser,” OWASP says.</p>
<p><strong> 2. Injection flaws</strong></p>
<p><strong> The problem:</strong> When user-supplied data is sent to interpreters as part of a command or query, hackers trick the interpreter — which interprets text-based commands — into executing unintended commands. “Injection flaws allow attackers to create, read, update, or delete any arbitrary data available to the application,” OWASP writes. “In the worst-case scenario, these flaws allow an attacker to completely compromise the application and the underlying systems, even bypassing deeply nested firewalled environments.”</p>
<p><strong> Real-world example: </strong>Russian hackers broke into a Rhode Island government Web site to steal credit card data in January 2006. Hackers claimed the SQL injection attack stole 53,000 credit card numbers, while the hosting service provider claims it was only 4,113.</p>
<p><strong> How to protect users:</strong> Avoid using interpreters if possible. “If you must invoke an interpreter, the key method to avoid injections is the use of safe APIs, such as strongly typed parameterized queries and object relational mapping libraries,” OWASP writes.</p>
<p><strong> 3. Malicious file execution</strong></p>
<p><strong> The problem: </strong>Hackers can perform remote code execution, remote installation of rootkits, or completely compromise a system. Any type of Web application is vulnerable if it accepts filenames or files from users. The vulnerability may be most common with PHP, a widely used scripting language for Web development.</p>
<p><strong> Real-world example: </strong>A teenage programmer discovered in 2002 that Guess.com was vulnerable to attacks that could steal more than 200,000 customer records from the Guess database, including names, credit card numbers and expiration dates. Guess agreed to upgrade its information security the next year after being investigated by the Federal Trade Commission.<br />
<strong><br />
How to protect users: </strong>Don’t use input supplied by users in any filename for server-based resources, such as images and script inclusions. Set firewall rules to prevent new connections to external Web sites and internal systems.</p>
<p><strong> 4. Insecure direct object reference</strong></p>
<p><strong> The problem: </strong>Attackers manipulate direct object references to gain unauthorized access to other objects. It happens when URLs or form parameters contain references to objects such as files, directories, database records or keys.</p>
<p>Banking Web sites commonly use a customer account number as the primary key, and may expose account numbers in the Web interface.</p>
<p>“References to database keys are frequently exposed,” OWASP writes. “An attacker can attack these parameters simply by guessing or searching for another valid key. Often, these are sequential in nature.”</p>
<p><strong> Real-world example: </strong>An Australian Taxation Office site was hacked in 2000 by a user who changed a tax ID present in a URL to access details on 17,000 companies. The hacker e-mailed the 17,000 businesses to notify them of the security breach.</p>
<p><strong> How to protect users:</strong> Use an index, indirect reference map or another indirect method to avoid exposure of direct object references. If you can’t avoid direct references, authorize Web site visitors before using them</p>
<p><strong> 5. Cross site request forgery</strong></p>
<p><strong> The problem:</strong> “Simple and devastating,” this attack takes control of victim’s browser when it is logged onto a Web site, and sends malicious requests to the Web application. Web sites are extremely vulnerable, partly because they tend to authorize requests based on session cookies or “remember me” functionality. Banks are potential targets.</p>
<p>“Ninety-nine percent of the applications on the Internet are susceptible to cross site request forgery,” Williams says. “Has there been an actual exploit where someone’s lost money? Probably the banks don’t even know. To the bank, all it looks like is a legitimate transaction from a logged-in user.”</p>
<p><strong> Real-world example:</strong> A hacker known as Samy gained more than a million “friends” on MySpace.com with a worm in late 2005, automatically including the message “Samy is my hero” in thousands of MySpace pages. The attack itself may not have been that harmful, but it was said to demonstrate the power of combining cross site scripting with cross site request forgery. Another example that came to light one year ago exposed a  Google vulnerability allowing outside sites to change a Google user’s language preferences.</p>
<p><strong> How to protect users:</strong> Don’t rely on credentials or tokens automatically submitted by browsers. “The only solution is to use a custom token that the browser will not ‘remember,’” OWASP writes.</p>
<p><strong> 6. Information leakage and improper error handling</strong></p>
<p><strong> The problem:</strong> Error messages that applications generate and display to users are useful to hackers when they violate privacy or unintentionally leak information about the program’s configuration and internal workings.</p>
<p>“Web applications will often leak information about their internal state through detailed or debug error messages. Often, this information can be leveraged to launch or even automate more powerful attacks,” OWASP says.</p>
<p><strong> Real-world example:</strong> Information leakage goes well beyond error handling, applying also to breaches occurring when confidential data is left in plain sight. The ChoicePoint debacle in early 2005 thus falls somewhere in this category. The records of 163,000 consumers were compromised after criminals pretending to be legitimate ChoicePoint customers sought details about individuals listed in the company’s database of personal information. ChoicePoint subsequently limited its sales of information products containing sensitive data.</p>
<p><strong> How to protect users:</strong> Use a testing tool such as OWASP’S WebScarab Project to see what errors your application generates. “Applications that have not been tested in this way will almost certainly generate unexpected error output,” OWASP writes.</p>
<p><strong> 7. Broken authentication and session management</strong></p>
<p><strong> The problem:</strong> User and administrative accounts can be hijacked when applications fail to protect credentials and session tokens from beginning to end. Watch out for privacy violations and the undermining of authorization and accountability controls.</p>
<p>“Flaws in the main authentication mechanism are not uncommon, but weaknesses are more often introduced through ancillary authentication functions such as logout, password management, timeout, remember me, secret question and account update,” OWASP writes.</p>
<p><strong> Real-world example: </strong>Microsoft had to eliminate a vulnerability in Hotmail that could have let malicious JavaScript programmers steal user passwords in 2002. Revealed by a networking products reseller, the flaw was vulnerable to e-mails containing Trojans that altered the Hotmail user interface, forcing users to repeatedly reenter their passwords and unwittingly send them to hackers.</p>
<p><strong> How to protect users:</strong> Communication and credential storage has to be secure. The SSL protocol for transmitting private documents should be the only option for authenticated parts of the application, and credentials should be stored in hashed or encrypted form.</p>
<p>Another tip: get rid of custom cookies used for authentication or session management.</p>
<p><strong> 8. Insecure cryptographic storage</strong></p>
<p><strong> The problem:</strong> Many Web developers fail to encrypt sensitive data in storage, even though cryptography is a key part of most Web applications. Even when encryption is present, it’s often poorly designed, using inappropriate ciphers.</p>
<p>“These flaws can lead to disclosure of sensitive data and compliance violations,” OWASP writes.</p>
<p><strong> Real-world example:</strong> The TJX data breach that exposed 45.7 million credit and debit card numbers. A Canadian government investigation faulted TJX for failing to upgrade its data encryption system before it was targeted by electronic eavesdropping starting in July 2005.</p>
<p><strong> How to protect users:</strong> Don’t invent your own cryptographic algorithms. “Only use approved public algorithms such as AES, RSA public key cryptography, and SHA-256 or better for hashing,” OWASP advises.</p>
<p>Furthermore, generate keys offline, and never transmit private keys over insecure channels.</p>
<p><strong> 9. Insecure communications</strong></p>
<p><strong> The problem:</strong> Similar to No. 8, this is a failure to encrypt network traffic when it’s necessary to protect sensitive communications. Attackers can access unprotected conversations, including transmissions of credentials and sensitive information. For this reason, PCI standards require encryption of credit card information transmitted over the Internet.</p>
<p><strong> Real-world example:</strong> TJX again. Investigators believe hackers used a telescope-shaped antenna and laptop computer to steal data exchanged wirelessly between portable price-checking devices, cash registers and store computers, the Wall Street Journal reported.</p>
<p>“The $17.4-billion retailer&#8217;s wireless network had less security than many people have on their home networks,” the Journal wrote. TJX was using the WEP encoding system, rather than the more robust WPA.</p>
<p><strong> How to protect users:</strong> Use SSL on any authenticated connection or during the transmission of sensitive data, such as user credentials, credit card details, health records and other private information. SSL or a similar encryption protocol should also be applied to client, partner, staff and administrative access to online systems. Use transport layer security or protocol level encryption to protect communications between parts of your infrastructure, such as Web servers and database systems.</p>
<p><strong> 10. Failure to restrict URL access</strong></p>
<p><strong> The problem:</strong> Some Web pages are supposed to be restricted to a small subset of privileged users, such as administrators. Yet often there’s no real protection of these pages, and hackers can find the URLs by making educated guesses. Say a URL refers to an ID number such as “123456.” A hacker might say ‘I wonder what’s in 123457?’ Williams says.</p>
<p>The attacks targeting this vulnerability are called forced browsing, “which encompasses guessing links and brute force techniques to find unprotected pages,” OWASP says.<br />
<strong><br />
Real-world example:</strong> A hole on the Macworld Conference &amp; Expo Web site this year let users get “Platinum” passes worth nearly $1,700 and special access to a Steve Jobs keynote speech, all for free. The flaw was code that evaluated privileges on the client but not on the server, letting people grab free passes via JavaScript on the browser, rather than the server.</p>
<p><strong> How to protect users:</strong> Don’t assume users will be unaware of hidden URLs. All URLs and business functions should be protected by an effective access control mechanism that verifies the user’s role and privileges. “Make sure this is done … every step of the way, not just once towards the beginning of any multi-step process,’ OWASP advises.</p>
<p>Comments and introduction to Top-10 list can be found on following:<br />
www.owasp.org ( www.owasp.org )<br />
www.networkworld.com (http://www.networkworld.com/news/2007/100407-web-site-vulnerabilities.html?page=1)<br />
www.infoworld.com (http://www.infoworld.com/article/07/10/05/Top-10-reasons-Web-sites-get-hacked_1.html)<br />
www.computerworld.com.au (http://www.computerworld.com.au/index.php?id=1126870565&amp;eid=-6787)</p>
<p>Original article: http://www.zone-h.org/content/view/14865/1</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=117&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2008/11/17/10-reasons-websites-get-hacked/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>
	</item>
		<item>
		<title>The 7 Top Management Errors that Lead to Computer Security Vulnerabilities</title>
		<link>http://abechik.wordpress.com/2008/11/17/the-7-top-management-errors-that-lead-to-computer-security-vulnerabilities/</link>
		<comments>http://abechik.wordpress.com/2008/11/17/the-7-top-management-errors-that-lead-to-computer-security-vulnerabilities/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 01:03:01 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/?p=115</guid>
		<description><![CDATA[Find seven top management errors here

Number Seven :
Pretend the problem will go away if they ignore it.

Number Six:
Authorize reactive, short-term fixes so problems re-emerge rapidly

Number Five:
Fail to realize how much money their information and organizational reputations are worth.

Number Four:
Rely primarily on a firewall.

Number Three:
Fail to deal with the operational aspects of security: make a few [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=115&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Find seven top management errors here</p>
<dl>
<dt><strong>Number Seven :</strong><br />
Pretend the problem will go away if they ignore it.</p>
</dt>
<dt><strong>Number Six:</strong><br />
Authorize reactive, short-term fixes so problems re-emerge rapidly</p>
</dt>
<dt><strong>Number Five:</strong><br />
Fail to realize how much money their information and organizational reputations are worth.</p>
</dt>
<dt><strong>Number Four:</strong><br />
Rely primarily on a firewall.</p>
</dt>
<dt><strong>Number Three:</strong><br />
Fail to deal with the operational aspects of security: make a few fixes and then not allow the follow through necessary to ensure the problems stay fixed</p>
</dt>
<dt><strong>Number Two:</strong><br />
Fail to understand the relationship of information security to the business problem &#8212; they understand physical security but do not see the consequences of poor information security.</p>
</dt>
<dt><strong>Number One:</strong><br />
Assign untrained people to maintain security and provide neither the training nor the time to make it possible to do the job.</p>
<p>Source : <a href="http://www.sans.org/resources/errors.php?ref=3811" target="_blank">http://www.sans.org/resources/errors.php?ref=3811</a> </dt>
</dl>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=115&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2008/11/17/the-7-top-management-errors-that-lead-to-computer-security-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>
	</item>
		<item>
		<title>Top 15 Malicious Spyware Actions</title>
		<link>http://abechik.wordpress.com/2008/11/17/top-15-malicious-spyware-actions/</link>
		<comments>http://abechik.wordpress.com/2008/11/17/top-15-malicious-spyware-actions/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 01:01:38 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/?p=113</guid>
		<description><![CDATA[Spyware authors have ramped up their malicious code to invade users&#8217; privacy at unprecedented levels. The following list describes some of the most malicious activities of today&#8217;s spyware, illustrating the need for solid antispyware defenses.
Changing network settings: To prevent signature updates for antivirus and antispyware tools, some spyware alters the infected machine&#8217;s network settings. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=113&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Spyware authors have ramped up their malicious code to invade users&#8217; privacy at unprecedented levels. The following list describes some of the most malicious activities of today&#8217;s spyware, illustrating the need for solid antispyware defenses.</p>
<p><strong>Changing network settings:</strong> To prevent signature updates for antivirus and antispyware tools, some spyware alters the infected machine&#8217;s network settings. This type of attack could edit the infected machine&#8217;s hosts file, apply outbound IP filters or alter the system&#8217;s DNS server so that all names are resolved by an attacker-controlled DNS server.</p>
<p><strong>Disabling antivirus and antispyware tools:</strong> To prevent disinfection, some spyware disables antivirus and antispyware tools to lengthen the time the attacker can control the victim machine.</p>
<p><strong>Turning off the Microsoft Security Center and/or Automatic Updates:</strong> Some spyware disables the Microsoft Security Center because its warnings about an inactive firewall or antivirus program could alert the user. Also, a few spyware specimens disable automatic updates to prevent the installation of patches.</p>
<p><strong>Installing rogue certificates:</strong> Web browsers are configured by default to trust a small number of certificate authorities to vouch for SSL certificates from Web sites and code-signing certificates for software distribution firms. Some spyware extends the browser&#8217;s trust by adding the attacker.s own SSL and/or code-signing certificate to the browser&#8217;s trusted store.</p>
<p><strong>Cascading file droppers:</strong> Once an attacker gets one spyware program installed on a machine, that sentinel program can grab other programs on a periodic basis, with each new program, in turn, grabbing others in a cascade. By spreading this cascade over several days, the attackers can stay ahead of antispyware signatures.</p>
<p><strong>Keystroke Logging:</strong> Some spyware grabs keystrokes from the machine when a user visits a financial services or e-commerce Web site. To address this threat, some organizations use virtual keyboards, where an image of a keyboard on a screen prompts the user to click on-screen buttons to enter a password. Attackers have responded by using malicious code that grabs small screenshots around the mouse pointer to capture the user&#8217;s password even with a virtual keyboard.</p>
<p><strong>URL monitoring, form scraping, and screen scraping:</strong> Some spyware monitors all of the URLs a user visits. When sensitive sites are accessed, this spyware grabs a copy of all form elements submitted to the site, in an attempt to gather account and authentication information, a technique called form scraping. Screen scraping spyware grabs a screen image with sensitive data on it.</p>
<p><strong>Turning on the microphone and/or camera:</strong> Some malicious code can turn on a microphone or even a video camera attached to a system, thereby substantially invading the users&#8217; privacy.</p>
<p><strong>Pretending to be an antispyware or antivirus tool:</strong> Some particularly nefarious spyware pretends to be an antispyware, antivirus or other security tool. These programs tell the user that they are defending against attack, while actually attacking the user, in a classic Trojan horse scenario.</p>
<p><strong>Editing search results:</strong> A few spyware specimens locally edit the results of a user&#8217;s search, injecting ads into the search pages. The user thinks the ads came from the search engine itself, unaware that they are generated by locally installed spyware.</p>
<p><strong>Acting as a spam relay:</strong> Some malicious code turns the victim machine into an e-mail spam relay, so an attacker can spew millions of messages through a group of controlled systems. Blacklisting and tracking down the attacker become far more difficult with an onslaught of spam-relay systems.</p>
<p><strong>Planting a rootkit or otherwise altering the system to prevent removal:</strong> The most pernicious spyware alters the operating system in very subtle yet powerful ways to prevent its detection and removal. Uninstalling some spyware is so onerous that users are sometimes faced with complete reinstallation of their operating system and applications.</p>
<p><strong>Installing a bot for attacker remote control:</strong> Some spyware comes bundled with a bot, a tool attackers user for remote control of large numbers of systems, in ranges from tens of thousands to millions of infected systems.</p>
<p><strong>Intercepting sensitive documents and exfiltrating them, or encrypting them for ransom:</strong> Some targeted spyware, especially that associated with spear phishing attacks, is designed to steal sensitive documents from a specific organization. Other variants encrypt the data, letting the attacker offer the decryption key in exchange for a ransom payment.</p>
<p><strong>Planting a sniffer:</strong> A few spyware specimens include sniffers to grab network traffic, including user IDs and passwords from other systems near the infected machine.</p>
<p><strong>Source :</strong><br />
<a href="http://www.sans.org/resources/top15_mal_spyware.php?ref=3726" target="_blank">http://www.sans.org/resources/top15_mal_spyware.php?ref=3726</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=113&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2008/11/17/top-15-malicious-spyware-actions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>
	</item>
		<item>
		<title>Netbeans PHP Code Template List</title>
		<link>http://abechik.wordpress.com/2008/10/08/netbeans-php-code-template/</link>
		<comments>http://abechik.wordpress.com/2008/10/08/netbeans-php-code-template/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 02:45:51 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[Code Templates]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/2008/10/08/netbeans-php-code-template/</guid>
		<description><![CDATA[I have just tried NetBeans again. Last time I tried, it didn&#8217;t caught my intention much. May be that day, Eclipse serve me enough. But last night I tried the NetBeans again, and I quite impressed with the software.
There is code templates for PHP language, I tried to search on Internet for the code templates [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=106&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have just tried NetBeans again. Last time I tried, it didn&#8217;t caught my intention much. May be that day, Eclipse serve me enough. But last night I tried the NetBeans again, and I quite impressed with the software.</p>
<p>There is code templates for PHP language, I tried to search on Internet for the code templates lists but I can&#8217;t found anything that can helped. It will really helpful if we have a cheat sheet for that.</p>
<p>So I listed the code templates here. Maybe someone will found it helpful.</p>
<table style="height:1538px;" border="1" cellspacing="0" cellpadding="0" width="639">
<tbody>
<tr>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top" bgcolor="grey">
<p class="MsoNormal">Abbrevation</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top" bgcolor="grey">
<p class="MsoNormal">Expanded Text</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">cln</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">$$${new_obj} = clone $$${variable};</p>
<p class="MsoNormal">${cursor}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">cls</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">class ${class_name} {</p>
<p class="MsoNormal">function ${class_name}() {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">eco</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">echo(&#8220;${message}&#8221;);</p>
<p class="MsoNormal">${cursor}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">elif</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">elseif (${condition}) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">els</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">else {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">fnc</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">function ${function_name}() {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">fore</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">foreach ($$${array_variable} as $$${variable}) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">forek</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">foreach ($$${array_variable} as $$${number_variable} =&gt;   $$${variable}) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">if</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">if (${condition}) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">inst</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">if ($$${variable} instanceof ${class}) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">itdir</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">$$${dirh} = opendir(${dirname});</p>
<p class="MsoNormal">if ($$${dirh}) {</p>
<p class="MsoNormal">while ($$${dir_element} = readdir($$${dirh})) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
<p class="MsoNormal">unset($$${dir_element});</p>
<p class="MsoNormal">closedir($$${dirh});</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">iter</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">for ($$${number_variable} = 0 ; $$${number_variable} &lt;   count($$${array_variable}) ; $$${number_variable}++) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">my_fa</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">while ($$${row} = mysql_fetch_array($$${query})) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">My_fo</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">while ($$${row} = mysql_fetch_object($$${query})) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">My_fr</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">while ($$${row} = mysql_fetch_row($$${query})) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">My_gc</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">ob_start();</p>
<p class="MsoNormal">
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">
<p class="MsoNormal">$$${contents} = ob_get_contents();</p>
<p class="MsoNormal">ob_end_clean();</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">pclon</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">parent::__clone();</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">pcon</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">parent::__construct();</p>
<p class="MsoNormal">${cursor}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">pr</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">print ${message};</p>
<p class="MsoNormal">${cursor}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">prln</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">print ${message}.&#8221;\n&#8221;;</p>
<p class="MsoNormal">${cursor}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">prs</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">print &#8220;${message}&#8221;;</p>
<p class="MsoNormal">${cursor}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">prv</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">print(&#8220;\$$${variable} = &#8220;. $$${variable});</p>
<p class="MsoNormal">${cursor}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">swi</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">switch ($$${variable}) {</p>
<p class="MsoNormal">case ${value}:</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">break;</p>
<p class="MsoNormal">
<p class="MsoNormal">default:</p>
<p class="MsoNormal">break;</p>
<p class="MsoNormal">}</p>
</td>
</tr>
<tr>
<td style="width:45pt;padding:0 5.4pt;" width="60" valign="top">
<p class="MsoNormal">while</p>
</td>
<td style="width:423pt;padding:0 5.4pt;" width="564" valign="top">
<p class="MsoNormal">while (${condition}) {</p>
<p class="MsoNormal">${cursor};</p>
<p class="MsoNormal">}</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal">
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=106&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2008/10/08/netbeans-php-code-template/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>
	</item>
		<item>
		<title>Pidgin failed to connect to yahoo behind firewall</title>
		<link>http://abechik.wordpress.com/2008/08/24/pidgin-failed-to-connect-to-yahoo-behind-firewall/</link>
		<comments>http://abechik.wordpress.com/2008/08/24/pidgin-failed-to-connect-to-yahoo-behind-firewall/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 03:03:20 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/?p=92</guid>
		<description><![CDATA[I am running my Pidgin behind a firewall that is blocking Yahoo port 5050. It is keep me annoyed and made me to use Meebo to keep connecting. I can just use official Yahoo IM client to connect but well&#8230;&#8230; I just preferred OSS applications to prop&#8217;s apps.
Currently, Pidgin  do not support Firewall with no [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=92&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am running my Pidgin behind a firewall that is blocking Yahoo port 5050. It is keep me annoyed and made me to use <a href="http://www.meebo.com" target="_blank">Meebo</a> to keep connecting. I can just use official Yahoo IM client to connect but well&#8230;&#8230; I just preferred OSS applications to prop&#8217;s apps.</p>
<p>Currently, Pidgin  do not support <strong>Firewall with no proxy</strong> option which make the connection to yahoo is painful. However I stumbled upon this page that give me an idea how to make it posibble.</p>
<blockquote><p><a href="http://developer.pidgin.im/wiki/Protocol%20Specific%20Questions#WhycantIconnecttoYahoofrombehindafirewallorNAT" target="_blank">http://developer.pidgin.im/wiki/Protocol%20Specific%20Questions#WhycantIconnecttoYahoofrombehindafirewallorNAT</a></p></blockquote>
<p>I have change the default port from 5050 to 80 and alhamdulillah! It is connecting!</p>
<div id="attachment_93" class="wp-caption aligncenter" style="width: 383px"><img class="size-full wp-image-93" src="http://abechik.files.wordpress.com/2008/08/yahoo2.png?w=373&#038;h=501" alt="Change the default port! then lets pray....." width="373" height="501" /><p class="wp-caption-text">Change the default port! then lets pray.....</p></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/abechik.wordpress.com/92/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/abechik.wordpress.com/92/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=92&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2008/08/24/pidgin-failed-to-connect-to-yahoo-behind-firewall/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>

		<media:content url="http://abechik.files.wordpress.com/2008/08/yahoo2.png" medium="image">
			<media:title type="html">Change the default port! then lets pray.....</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenDNS &#8211; Filter the Web</title>
		<link>http://abechik.wordpress.com/2008/08/22/opendns-filter-the-web/</link>
		<comments>http://abechik.wordpress.com/2008/08/22/opendns-filter-the-web/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 16:09:59 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[content filter]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[named]]></category>
		<category><![CDATA[opendns]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/?p=76</guid>
		<description><![CDATA[Ketika sedang troubleshoot network (DNS server problem) kat tempat aku, aku terjumpa tool ni. Very good and quite easy to deploy. First time tengok laman web dia dah terasa ada something interesting la.
OpenDNS ialah public DNS server yang turut tawarkan web content filtering. Senang citer dns server yang ble prevent orang dari pi kat laman2 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=76&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ketika sedang troubleshoot network (DNS server problem) kat tempat aku, aku terjumpa tool ni. Very good and quite easy to deploy. First time tengok laman web dia dah terasa ada something interesting la.</p>
<p><a title="OpenDNS" href="http://www.opendns.com" target="_blank">OpenDNS</a> ialah public DNS server yang turut tawarkan web content filtering. Senang citer dns server yang ble prevent orang dari pi kat laman2 web yang tak senonoh tu. haaa tu dia. nak guna dia senang je.</p>
<ol>
<li>create satu akaun untuk manage content filterer</li>
<li>setkan ip yang korang selalu guna, ada option static ip and dynamic ip kat sini</li>
<li>kat internet browser tu setkan dns server untuk guna server OpenDNS ni<br />
(<strong>208.67.222.222</strong> and <strong>208.67.220.220</strong>)</li>
</ol>
<p>Lepas tu bila orang nak pi ke laman tak sepatutnya, ia akan blok site tu dari dilayari. contoh macam bawah ni:</p>
<p><a href="http://abechik.files.wordpress.com/2008/08/opendns3.png"><img class="aligncenter size-medium wp-image-89" src="http://abechik.files.wordpress.com/2008/08/opendns3.png?w=573&#038;h=362" alt="" width="573" height="362" /></a></p>
<p>Untuk network kat tempat aku, oleh sebab dah ada dns server sendiri dan perlu hos domainname company maka aku tak ble guna cara yang straight forward untuk block users. jadi aku setkan forwarders kat setting dns server aku (kira macam set dns proxy la ni). senang je oooiiii. dua line je dah jalan.</p>
<p>Macam ni, kat file /etc/init.d/named.conf atau /var/named/chroot/etc/init.d/named.conf tu appendkan dua line ni kat bahagian options. macam gambar ni:</p>
<div class="mceTemp">
<div id="attachment_79" class="wp-caption aligncenter" style="width: 490px"><a href="http://abechik.files.wordpress.com/2008/08/opendns1.png"><img class="size-full wp-image-79" src="http://abechik.files.wordpress.com/2008/08/opendns1.png?w=480&#038;h=150" alt="Lines yang perlu ditambah dalam config file" width="480" height="150" /></a><p class="wp-caption-text">Lines yang perlu ditambah dalam config file</p></div>
</div>
<p>Ok! dah settle. reload semula server tu. tak yah restart la, buang masa je.</p>
<blockquote><p>/etc/init.d/named reload</p></blockquote>
<p>ok, dah reload tu. lps tu korang akan dapat result yang sama dengan bila korang terus adjust setting web browsers. tapi lebih mudah untuk buat deployment sebab tak ada perubahan lain korang buat pada komponen lain dalam network korang atau setiap browsers pengguna.</p>
<p>Sekarang dah web filter dah jalan dah tapi aku nasihatkan korang untuk ketatkan security firewall, setkan semua connection ke dns server ke luar harus melalui dns server korang. jangan bagi diorang bypass dns server tu. ala guna iptables command je.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/abechik.wordpress.com/76/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/abechik.wordpress.com/76/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=76&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2008/08/22/opendns-filter-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>

		<media:content url="http://abechik.files.wordpress.com/2008/08/opendns3.png?w=300" medium="image" />

		<media:content url="http://abechik.files.wordpress.com/2008/08/opendns1.png" medium="image">
			<media:title type="html">Lines yang perlu ditambah dalam config file</media:title>
		</media:content>
	</item>
		<item>
		<title>Good Morning Friends</title>
		<link>http://abechik.wordpress.com/2007/12/02/good-morning-friends/</link>
		<comments>http://abechik.wordpress.com/2007/12/02/good-morning-friends/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 11:11:34 +0000</pubDate>
		<dc:creator>fadli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://abechik.wordpress.com/2007/12/02/good-morning-friends/</guid>
		<description><![CDATA[
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=67&subd=abechik&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://abechik.files.wordpress.com/2007/12/att155151.jpg" title="att155151.jpg"><img src="http://abechik.files.wordpress.com/2007/12/att155151.jpg" alt="att155151.jpg" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/abechik.wordpress.com/67/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/abechik.wordpress.com/67/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abechik.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abechik.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abechik.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abechik.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abechik.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abechik.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abechik.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abechik.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abechik.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abechik.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abechik.wordpress.com&blog=914708&post=67&subd=abechik&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://abechik.wordpress.com/2007/12/02/good-morning-friends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5748b2add614804dcf2ab6d950ab762?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadli</media:title>
		</media:content>

		<media:content url="http://abechik.files.wordpress.com/2007/12/att155151.jpg" medium="image">
			<media:title type="html">att155151.jpg</media:title>
		</media:content>
	</item>
	</channel>
</rss>