Latest Post- ☻

My name is Harimangal Pandey[G4M80Y 1103] i'm intrested in Computer Software Hacking nd Cracking, I love Information Technology very much.

 


Friday, 3 May 2013

Learn SQL Injection!

 

 

 

This is a tutorial for people who would like to learn how to sql inject into a site.


FAQ

What is a SQL Injection?

A SQL Injection is a method used by people which allows them to get inside of a MySQL database through the website.

What can I do with an SQLi?

You can extract data such as passwords, usernames, locations, and also change the site in which you can put whatever you want on it.

Is it hard to do?

At first, it may take you some time to get used to the queries. But after some practice, it's very easy.

Will I get caught?

If you are not using a proxy or VPN (Virtual Private Network), then yes there is a chance that you may be caught. I suggest reading the Proxies and Socks forum on here to learn more about what these are.

What is a dork?

A dork is a phrase that you see at the end of most URLs. In SQL Injection, you search for dorks to find a website that looks as though it may be vulnerable for injecting

Injection Tutorial
Step 1.

Search Google by typing in a dork and clicking one of the website that show up.

Common Dorks

inurl:members.php?id=
inurl:page.php?id=
inurl:login.php?id=
inurl:index.php?id=
inurl:register.php?id=
inurl:staff.php?id=
inurl:detail.php?id=
inurl:view.php?id=

Step 2. Once you have found a site, it's time that we check if it is vulnerable to a SQL Injection.

So let's say we have a site like this
Quote:http://www.site.com/index.php?id=1

What we do is put a ' (single quote) after the number in order to get an error to show up on the page.
Quote:http://www.site.com/index.php?id=1'

You should get an error like "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near line 1" or something.

Step 3. After getting the error, we know it's vulnerable to SQL Injection. Now we have to find out how many columns it has. We use the "order by" function to do this.
Quote:http://www.site.com/index.php?id=1 order by 10

Now, I suggest you go by 10's. If you did order by a number and it shows an error, that means to use a lower number. We need to use a number and not get any errors, then use the number right after the number we used and get an error.

So let's say we did:

order by 10 (error)
order by 7 (no error)
order by 8 (no error)
order by 9 (error)

What this means is that there are 8 columns.

Step 4. Now that we have the number of columns, it's time to figure out which column is vulnerable so that we can extract data from it. We can do this by putting a "-" minus sign after the = equals sign in the url and by using the union select function. After union select, write every number that leads to the number of columns, separated by a comma.

So here's how it should look:
Quote:http://www.site.com/index.php?id=-1 union select 1,2,3,4,5,6,7,8

After you do this, you should should get one or more of the numbers of columns in the database to show up on screen.

Step 5. Let's say a number 2 popped up on the screen. That means that column number 2 is vulnerable. Now we need to get the version of the database. We do this by using the @@version function.
Quote:http://www.site.com/index.php?id=-1 union select 1,@@version,3,4,5,6,7,8

Replace the number 2 in the url with @@version to get the version number to show up on your screen. Now the numbers that show up should either be 5.(some numbers) or 4.(some numbers).

For SQL Version 5 Injection:

Step 1. Now that we have the version number, it's time to get the name of the tables within the database. We use the group_concat(table_name) function. Since it's version 5, the tables are already in 1 big table named information_schema. We use -- to execute our command.
Quote:http://www.site.com/index.php?id=-1 union select 1,group_concat(table_name),3,4,5,6,7,8 from information_schema.tables--

Step 2. On the screen, a bunch of names should pop up. Those are the names of the tables. Now, what you need to look for anything that might look like it contains the usernames and passwords from everyone who uses the website. Some common ones are users, admin, members, staff, user, etc.

Step 3. Once you have found something that might contain the usernames and passwords, it's time to get the name of the columns within that table. We use the group_concat(column_name) function to achieve this. And once again, in version 5, the columns are within information_schema.columns this time.

After the information_schema.columns, you need to tell the database which table you want to extract the columns. So after .columns, you put where table_name=(Name of table in hex form)
Now to convert the name of the table you're extracting from into Hex form, you need to use an online converter. What I use is Text to Hex Converter. After you have the hex, put 0x before it and copy all of the numbers/letters and paste them after the = equals sign.

So after all that it should look like this:
Quote:http://www.site.com/index.php?id=-1 union select 1,group_concat(column_name),3,4,5,6,7,8 from information_schema.columns where table_name=0x7573657273

The name of the columns should pop up on your screen.

Step 4. Now that you have the column names within the table name you chose, it's time to extract the data. Once again, we will use the group_concat function.

Let's say that the column names that showed up were username,password. To extract the information, we put group_concat(username,0x3a,password) from users-- (The table name that you chose in TEXT form not Hexed). (Note: 0x3a is the hex form of a colon, which separates the usernames and passwords so you don't get confused.) After you've done this, you're url should look like this:
Quote:http://www.site.com/index.php?id=-1 union select 1,group_concat(username,0x3a,password),3,4,5,6,7,8 from users--

Now the usernames of people should show up, then a colon, then the passwords of the usernames.

For SQL Version 4 Injection:

For version 4 database SQL injections, it's the same thing as version 5. The only difference is that when trying to find the table name, you have to guess what it is. It's not already done for you like in version 5. I suggest guessing like user or admin or members, and if that doesn't work, keep trying until you get something. After you've got the table name, just follow the same steps for 5 afterwards.

Thank you for reading my tutorial, if you have any questions you can comment here..
I'll do the best I can to help you.
@HMP
09:58 Posted by Mangal Pandey 2

Shut Down PC in Fixed time!



      
Yes! Now u can Shutdown your Computer at fixed time.
Ex. You Set a Time for Alarm on Clock, like that u will be able to set a time for getting windows Shutdown Automatically! download it from here! Click on the Design to Start Download from Mediafire Link!
♦•◘○♦♣♦♠♦☺☻♣☻

09:19 Posted by Mangal Pandey 0

Hide IP address!





Friends! today i'm going to Give you a link of that Software which is Easy to use and Safe too. means Virus free!! Download this Software from this link SumRando
And Enjoy Surfing the Web anonymously.............
08:21 Posted by Mangal Pandey 0

Thursday, 2 May 2013

Serial Key of AVG 2013








Helew! Friends its Harry here to Give you the Serial key of AVG 2013 for free! Use following keys to activate your AVG Antivirus For free!
1) 8MEH-RF3MY-BZ7CJ-9LUAR-ST99N-CEMBR-ACED
    2) 8MEH-RGM33-K474L-6FGRR-8RR7K-UEMBR-ACED
    3) 8MEH-RJXR4-2CKYP-2GB3A-DBMAD-PEMBR-ACED
    4) 8MEH-RMXLW-HN44A-BABPA-S9NQF-PEMBR-ACED
    5) 8MEH-RNZLL-2Y4QX-79PPA-MMOKE-AEMBR-ACED
    6) 8MEH-RREY3-L2LQA-LUMOR-UDTZ4-6EMBR-ACED
    7) 8MEH-RREY3-L2LQA-LUMOR-UJXN3-6EMBR-ACED
    8) 8MEH-RW2ZU-29S4F-26QCR-WT482-BEMBR-ACED
11:10 Posted by Mangal Pandey 0

Sunday, 21 April 2013

Remove Facebook Ads! For Free!!

Go through my video and Remove the irritating facebook ads for free!!!!!!!
Remove Facebook ads! For Free!!
13:02 Posted by Mangal Pandey 1

Thursday, 18 April 2013

Format Your Computer! [Windows 7]

How to Format the C Drive With Windows 7

 

 

Steps are:-

1. Back up and save your files. Formatting the C drive will erase all files, programs, and information saved on the C drive, so you may want to back up any files you want saved. 

2.Obtain your computer name if connected to a network. After your C drive has been formatted, you may be prompted for your computer name during the installation process in order to reconnect to the network. Go to your computer's "Start" menu, right-click on "Computer," then select "Properties" from the menu that appears. Your computer name will be shown below "Computer name, domain, and workgroup settings."

3.Insert the Windows 7 installation disc. In some cases, you may have the Windows 7 installation program saved on a Universal Serial Bus (USB) flash drive, which can also be inserted.

4.Turn off your computer. Your computer will have to reboot in order to read the Windows 7 installation disc. Open your "Start" menu, then click on "Shut Down."

5.Power on your computer. When your computer powers back on, it will read the installation disc and begin the formatting process.

6.Format your C drive. After the computer has recognized the installation disc, you will be prompted to press any key on your keyboard to continue. The installation wizard will then appear on your screen.

  • Select your language from the "Install Windows" page, then click on "Next" to proceed.Read and review the Windows 7 license terms. In order to proceed to the next screen, you will be required to place a check mark in the box next to "I accept the license terms."Select "Custom" when prompted to indicated the type of installation you want to perform.Select "Drive options (advanced)" when asked where you want Windows installed. Choosing this option will allow you to select the C drive as the only drive you want to format.Click on your "C" disk drive when Windows asks which partition you want to "change," or install. Your computer will then begin formatting, or erasing, all the data currently existing on your C drive. Windows will notify you when the formatting procedure has finished.

     

7.      Re-install Windows 7 on your C drive. After your C drive has been formatted, you will be required to re-install Windows 7 to that partition. Click on "Next" after Windows has notified you that the formatting procedure has completed. The Windows installation wizard will continue to walk you through the installation process. You will be prompted for your computer name if you are connected to a network, and for information such as your user name.

8. Restore your saved files. After Windows has completed the installation process, you can insert your external hard drive or disc into the computer to restore your files back to the C drive.


10:28 Posted by Mangal Pandey 0