Cyber Survivals

Thursday, 11 April 2013

DNSenum - Gathering DNS Information

DNSenum is a tool that is designed with the purpose of enumerating DNS information about a domain. This is the one of the best tool used for information gathering which is the first step of the hacking.

The program mainly performs the following operations.

1) Get the Host address (A records)
2) Get the nameservers
3) Get the MX records

Lets begin:

First of all we need to go to the directory of the DNSenum where it is located.

In BT5 this is located in    /pentest/enumeration/dns/dnsenum

To Run:   perl dnsenum.pl [website.com]






As shown in above first it will get is the host address and Next we will see the name servers which give us the idea of the hosting provider. After that is the MX records where we can see the mail server of our target host.

Saturday, 6 April 2013

Installing Metasploit Community Edition on Backtrack 5 R3

Backtrack 5 comes with pre-installed  metasploit framework v4.0 but now Metasploit Community comes with updated  Web Ui version and others functionalities and even more expolits.

Now the current available version is Metasploit framework v4.5 which can be easily downloadable

To download Metasploit Framework Download  

Step1: Download latest Metasploit framework installer from above link

Step2: Installing Metasploit Community over the existing metasploit framework installation won't work for several reasons, one being the postgres cdatabase conflict.
The best way to start by uninstalling the earlier version of Metasploit Framework first and comes to the metasploit directory and uninstall using below commands.

# cd /opt/metasploit/
# ls
# ./uninstall

Step3: Make installer executable

When download has completed with file name "metasploit-latest-linux-installer.run". open new terminal window and enter the following commands.

# chmod u+x /root/metasploit-latest-linux-installer.run

Step4: Run Installer

# ./metasploit-latest-linux-installer.run


At the end of the installer, the metasploit web Ui open in your browser (https://localhost:3790/) in follow the steps to register and choose the metasploit community edition for free and now you have to give the licence key for the community edition, which you received on your mail which you registered.



 Step 5: open msfconsole and update

# msfconsole
#  sudo msfupdate