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 NS-2.35 (Network Simulator 2) in Fedora 18

This post helps the developers to install NS-2.35 version in Fedora 18.

Settings:

  • I have used GNOME Desktop with all softwares selected. See the image below
  • From Fedora 18, a new type of installer is designed as shown.

WP_000120

The default installer of Fedora 18 does not install all the softwares that are needed for X Software development, so we need to download those softwares.

Installation of NS-2.35

  • Open Terminal, Give the following command one by one
    • su (press enter and enter your root or super user password)
    • yum groupinstall "X Software Tools"
    • exit (to come out of root user mode)
  • Once installed, download the NS-2.35 allinone software from the following link. https://dl.dropbox.com/u/24623828/ns-allinone-2.35.tar.gz
  • Copy that file to /home/pradeep (This is my home folder)
  • Open terminal again and execute the following commands one by one
    • tar zxvf ns-allinone-2.35.tar.gz
    • cd ns-allinone-2.35
    • ./install (this is dot slash install)
  • You may possibly get one error during your installation is linkstate/ls.h error
  • If you get the above error, open the file (~ns-2.35/linkstate/ls.h) using gedit or any text editor
  • Go to line number 137 and change this line (void eraseAll() { erase(baseMap::begin(), baseMap::end()); })  to

void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }

  • again you try the command ./install and this time the installation will be successful.
  • Once installed the PATH information will be provided to you.
  • Copy the PATH and LD_LIBRARY_PATH Variable to /home/pradeep/.bash_profile (see a dot in the beginning)
  • Input the path information in .bash_profile file like this

    export PATH=$PATH:<Place your paths here>

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: <place the LD_LIBRARY_PATHS> here.

    Once done, save the file and close

    execute the command

    source .bash_profile

    try ns or nam to see whether your installation succeeded.

Popular posts from this blog

AWK Scripts for NS2 to process data from Trace Files

Xgraph

nam installation - Segmentation Fault (Solved)