Installing Kali Linux Tools in Ubuntu or Linux Mint

Image
Kali linux is a debian based and its not easy to configure it on a typical PC. If the machine is UEFI based, then Kali is tough to customize.

So what is the alternative....? Here is the answer: Katoolin

Its the name of the package system for installing the entire kali linux tools (Penetration Testing) in Ubuntu or Debian based system.

Here I am trying to install inside my Linux Mint

OS Used: Linux Mint 18.2 Sonya
Prequisites: Python 2.7
Always perform these steps after the installation of ubuntu or Linux Mint

$] sudo apt update
$] sudo apt install build-essential autoconf automake libxmu-dev
$] sudo apt install git
$] git clone https://github.com/LionSec/katoolin.git
$] sudo cp katoolin/katoolin.py /usr/bin/katoolin
$] sudo katoolin

This will give various options as shown below
 In the above pic. Select 2 to View categories and you will get the screen as shown in the next image.
Select "0" to install all the applications.

This will install 1.3G to download and 3.5 GB space will be…

Installing Network Simulator 2 (NS-2.35) in Fedora 19

Fedora 19 was launched last fortnight and it released with so many new features http://pradeepkumar.org/2013/07/fedora-19-features.html
To install Network Simulator 2 (ns-2.35), here are the steps to do it. For other OS, here is the installation instructions.
Here comes the instructions for NS-2.35 in Fedora 19.

Installation Instructions

OS Used: Fedora 19 – 64 bit DVD Version http://www.fedoraproject.org
NS2: ns-allinone-2.35.tar.gz from http://www.isi.edu/nsnam/ns/
Step 1: Copy the ns2 source file in to the home/ directory (always use the home directory and use ordinary user login)
Step 2: unzip or untar the contents from the source file using the commands one by one
cd /home/pradeepkumar
tar zxvf ns-allione-2.35.tar.gz
cd ns-allinone-2.35
Step 3: The default installation of fedora 19 does not handle the developmental software and has to be installed separately.  Here is the command to do that. (You must switch on your internet connection to download the software). Also see the screenshot
su    (You should be the super user to install the new software, provide the super user password when prompted)
yum install libX11-devel tcl tk gcc-c++ libXt-devel

Step 4: Once the installation of the softwares are over, go back to step 2 and give the following command
./install (see a dot in front of the / )
Step 5: The installation will run for more than 5 minutes (see the snapshot below) and it will show the path settings. You need to set tow paths (PATH and LD_LIBRARY_PATH) for successful running of ns,nam and xgraph

 Step 6: Set the paths in the file (/home/pradeepkumar/.bash_profile) as shown below
export PATH=$PATH:list/of/paths/separated/by/a/colon:/another/path/here
export LD_LIBRARY_PATH=/list/of/path/supplied/by/ns2/software:/another/path/here
Step 7: execute the .bash_profile using the command
source /home/pradeepkumar/.bash_profile
Step 8: check ns or nam by typing either ns or nam in the terminal

          ns
          % indicates ns interpreter is running
          nam

an animation window will pop out. You may get an error in ~ns-2.35/linkstate/ls.h file which can corrected by changing the erase{ to         this->erase{ in the 137th line. 

Popular posts from this blog

AWK Scripts for NS2 to process data from Trace Files

Xgraph

nam installation - Segmentation Fault (Solved)