Weblog Of Nirandas | home

Developer From INDIA

Preventing SQL injection specially for PHP developers

clock November 10, 2009 06:23 by author Nirandas

SQL injection happens when user provided input through forms or query string is directly used in a SQL query without any sanitation done to it. For example a badly coded login script would allow an attacker to login without knowing the username/password or login with full rights of admin users. Though this can happen to any web page developed in any language, this issue seems to be affected more PHP pages than .NET applications. Perhaps simplicity of PHP programming and inexperience coders are reasons for this. In any case, keeping following poins in mind while developing PHP sites should help avoid mistakes which can be prevented easily.

More...

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Stop trying to inject SQL into my blog!

clock June 28, 2008 16:22 by author

Please stop attacking as I ensure you that you would not succeed in doing so. Here is the IP which is trying to SQL inject my blog.

  1. 87.118.124.3
  2. 87.118.116.150

I will add to this list as I get more bad IP's

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


First thing you should do to secure wordpress from SQL Injection

clock May 1, 2008 05:14 by author
Today, there was an attempt to inject SQL into my wordpress and retrieve the admin log in from the IP 87.118.112.44. There was 14 attempts in total, few of them trying to inject SQL and few trackback attempt. Since there was an SQL Injection attempt from the same IP around the same time, I can safely say that all of them ware attempts of hacking.Yes, wordpress may have plugged all the holes in it, which allows remote injection of SQL, but still to be on the safer side, consider the first and basic thing you should do to not become an easy victim.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Who Am I?

I am Nirandas - a developer from INDIA

Sign in