Tuesday, May 11, 2010

SQL injection

SQL injection is a code injection technique that exploits a security vulnerability occurring in the database layer of an application.


This form of SQL injection occurs when user input is not filtered for escape characters and is then passed into an SQL statement. This results in the potential manipulation of the statements performed on the database by the end user of the application.

The following line of code illustrates this vulnerability:

statement = "SELECT * FROM users WHERE name = '" + userName + "';"

Sql injection:
a' or 't'='t
SELECT * FROM users WHERE name = 'a' OR 't'='t';

for more :http://en.wikipedia.org/wiki/SQL_injection


Friday, February 19, 2010

DontMind: A Coaching institue

Join Now..................

Saturday, January 2, 2010

Wednesday, October 28, 2009

SolutionBase: Boot Windows XP from a USB flash drive

use this link for detalil


http://articles.techrepublic.com.com/5100-22_11-5928902.html


thanks

lalitsamar

boot xp from pendrive

REMEMBER, THIS GUIDE WILL DELETE ALL DATA FROM DRIVE C: AND PENDRIVE
( if you can't format your drive C:, install Windows Xp On Your Pen, then move all data needed using Pendrive or Network Area to the other PC )

What do you need?
1. Windows Xp installation disk
2. Access to PC with working CD Cd-ROM DVD drive.
3. This file solution.rar

This guide is for people with basic knowledge of PC hardware and system software
Let's start.

1. Download solution.rar file
2. Unpack solution.rar file on drive C, you should have a folder named C:\Dos
3. Put your pendrive ( at least 1GB) into working PC USB port
4. Go to the folder C:\Dos and run HpUSBformat.exe file
- it should auto detect wyour pendrive disk, if not select form the list ( my pendrive is a drive G: )
- set other options like on the image below and click start.


- now you have a pendrive with bootable dos on it.
5. Copy all other files from C:/Dos to your pendrive. ( you can overwrite existing ones)
- your pendrive should look like that



6. Put your Windows Xp installation disk into Cdrom and copy all files from CD to pendrive.
7. Boot your laptop with pendrive ( if you have problems, just check your BIOS or try to access boot menu )
8. Type sys d: and hit enter
- if you see system transferred - you have luck, FAT32 filesystem on drive C:, you will not lose your data
- go to step 11
- if any problem apears go to step 8
8. REMEMBER, you will loose all data from drive C:/
9. Type format c:/q/s
- accept and if it is formated go to step 11 ( you are lucky, you don't need to make partitions)
- otherwise go to step 10
10. Type fdisk and hit enter
-create new partition ( after restart boot with pendrive in)
-go to step 9 and back here :)
-type pqmagic and set your new partition active ( physical drive 2, Advanced A, ste Active - S, are you sure - Y, Exit - X )
11.Type nc and hit enter, and using Norton Commander, copy all files form pendrive to disk C: ( you can overwrite existing ones)
12. Restart Laptop without pendrive in it ( it should start from harddrive)
13. Type cd i386 and hit enter ( it will enter i386 folder)
14 Type winnt and hit enter

INSTALL WINDOWS :) ( REMEMBER, DURING INSTALLATION - KEEP EXISTING FILE SYSTEM - DO NOT FORMAT, YOU CAN CONVERT IT TO NTFS LATER )

Thursday, October 22, 2009

windows 7 feedback

the processing speed of windows 7 is 3x faster than xp and double of vista. it's graphics are marvelous. windows 7 comes with new exciting features like mini window preview, self diagnostic problem. boot time of windows 7 is faster in comparison with Vista. it also comes with preinstalled drivers. support multifunction. rating system of windows 7 is good.

Thursday, October 1, 2009

folder locker

folder lock
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End






paste this in notepad replace the line enter your password wid ur password and save the file .bat extension


save the file wid the bat extension then jst double click it and enter your password then a folder will appear named locker in tht paste ur things u wanna lock and again double click the and lock the folder again.........

lalit samar