Jan 9, 2009

What is an SQL Injection Attack / Vulnerability?

A SQL injection vulnerability can occur when a poorly-written program uses user-provided data in a database query without first validating the input. This is most-often found within webpages with dynamic content. There are some excellent tutorials and descriptive articles on this subject, as well as many vulnerability postings for different applications from full-disclosure websites.

A simple example of SQL injection is a basic HTML form login in which you provide a username and password:








Given this snippet of HTML, one can deduce that the easiest (and worst) way for the script "process_login.php" to work would be for it to build and execute a database query that looks like this:


"SELECT id
FROM logins
WHERE username = '$username'
and password = '$password'";



Under those circumstances, if the variables "$username" and "$password" are taken directly from the user's input, the login script can easily be tricked into believing that a valid password has been provided by playing with the syntax of the SQL statement. Suppose the following string were provided as the password:

' or '' = '



and we gave "bob" as the username. Once the variables are interpolated, the query above would look like this:


"SELECT id
FROM logins
WHERE username = 'bob'
and password = '' or '' = ''";


This query will return a row because the final clause:


... or '' = ''


will always evaluate to true (an empty string is always equal to an empty string).

[+/-] Selengkapnya...

Cara update full WINDOWS bajakan

Nah kalau kita beli CD palsu, pas update kan pertama gak mau, tapi kalau dibiarkan update sendiri nanti dia mau update juga kan??!
Kalian jgn senang doeloe.. Ternyata update itu baru sebagian keciL dr update yang ada di website update mereka.. Kalau kita validating windows kita dan dinilai windows asli sama microsoft, barulah dikatakan sama microsoft server nya bahwa anda berhak utk melakukan update secara menyeluruh..

Nah, gmana caranya membuat windows anda mendapatkan semua update terbaru tanpa ter-register?!

Cara nya sebenernya mudah saja, dan mgkn saja para ahli ahli javascript kita telah menemukan cara serupa juga.. Hehehe
Begini caranya ::
Pertama tama kamu ke start, dan ke all programs..
Lalu pilih yang paling atas "Microsoft Update"..
Nah nanti kan dia buka web seperti ini ::

http://update.microsoft.com/microsoftupdat...t.aspx?ln=en-us

Nah kalian tunggulan sampe loading nya selesai..
Nanti dia akan keluar 2 pilihan "express" dan "custome" --> Nah kalau kalian pilih salah satu dr itu.. Nantinya kalian akan mengalami validating chek version dan sebagainya.. Lalu kalau kalian bukan asli, kalian tetap akan diberikan access utk update, tapi DIKITTTTT bgt deh updatenya dibandingkan kalau asli..

Nah gmana caranya supaya kalian ter-deteksi sebagai asli?!

Mudah saja, sebelum anda meng-klik "express" dan "custome" tadi..
Silahkan ubah alamat website di address bar anda menjadi

javascript:void(window.g_sDissableWGACheck='all')


Lalu tekanlah enter, dan nanti web akan nge-blink sekali dan cepat..
Lalu silahkan pilih antara "express" atau "custome" --> Itu semua terserah anda..

Lalu anda akan mem-bypass the validating version of the microsfot..

Selamat Mencoba~


[+/-] Selengkapnya...


Powered By Sujiantho 2008