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…

OpenFlow in NS3

Installation of OpenFlow in NS3 is a simple task  and here is the method to do that.

NS3 version: ns-3.24.1 and ns-3.25

Assumption: You should have installed #ns3 already in your machine. 

#OpenFlow is a software helpful for Simulating Software Defined Networks (#SDN).

There are some packages needed to enable OpenFlow. Download these packages and try the installation later.

$] sudo apt-get install libboost-all-dev libxml2 libxml2-dev 

Go to the ~ns-allinone-3.24.1/ns-3.24.1 folder and give this command 

$] hg clone http://code.nsnam.org/openflow
(if the above command does not work, the give this command)
$] sudo apt-get install mercurial

$] cd openflow
$] ./waf configure
$] ./waf build 
(if the build failed in the above steps, please give your comments)

$] cd ..
$] ./waf configure --enable-examples --enable-tests --with-openflow=path/to/openflow

In my case 
$] ./waf configure --enable-examples --enable-tests --with-openflow=openflow

After you run the above command, you should get the following screen. (See the selected white line). In the first image, it shows not enabled and the second image shows enabled
OpenFlow
OpenFlow

OpenFlow
OpenFlow

After enabling the openflow give this command 

$] ./waf build 
After this command, ensure that openflow is built as shown below
OpenFlow
OpenFlow





T S Pradeep Kumar

Popular posts from this blog

AWK Scripts for NS2 to process data from Trace Files

Xgraph

nam installation - Segmentation Fault (Solved)