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…

WSN Flooding Routing Protocol (WFRP) in Network Simulator (NS-2.35)

Installation of WFRP (WSN flooding routing protocol) as given in the site http://elmurod.net/en/index.php/archives/157.
This post will help you to install the wfrp protocol in the Network Simulator 2.35 (ns-2.35) and you can run this without any bug or error
Here are the files to be corrected and downloaded: Download this Zip file and uncompress it and copy it to the relevant folders as given below (Instead of manual changes, you can copy the files and recompile) – Please take a backup of your NS-2.35 folder as these changes may affect your existing recompiled sources.
Copy these three files (wfrp.cc, wfrp.h, wfrp_packet.h)  in the folder called ~ns-2.35/wfrp
  • ~ns-2.35/Makefile.in
  • ~ns-2.35/queue/priqueue.cc
  • ~ns-2.35/common/packet.h
  • ~ns-2.35/trace/cmu-trace.h
  • ~ns-2.35/trace/cmu-trace.cc
  • ~ns-2.35/tcl/lib/ns-packet.tcl
  • ~ns-2.35/tcl/lib/ns-lib.tcl
  • ~ns-2.35/tcl/lib/ns-agent.tcl
  • ~ns-2.35/tcl/lib/ns-mobilenode.tcl
Here are the following changes (changes gives in the Black Circle) in ~ns-2.35/queue/priqueue.cc
wfrp1
here are the 3 changes in the ~ns-2.35/common/packet.h file
wfrp2
wfrp3
wfrp4
changes in the ~ns-2.35/trace/cmu-trace.cc  file
wfrp5
~ns-2.35/trace/cmu-trace.h
wfrp6
~ns-2.35/tcl/lib/ns-packet.tcl
wfrp7
~ns-2.35/tcl/lib/ns-lib.tcl (two changes)
wfrp9
wfrp10
~ns-2.35/tcl/lib/ns-mobile.tcl
wfrp11
Here is the Makefile.in changes
wfrp12
If you don’t have patience to see the images above, please look the video for doing the WFRP Protocol
Once all these steps are completed, Open the terminal and go to the ~ns-2.35/ folder and give these commands one by one
$ ./configure
$ make
If no errors in the compilation, execute the wfrp_802_15_4.tcl (given in the zip file), using
$ ns wfrp_802_15_4.tcl 
This file will generate the trace and nam file. Use the NAM file to see the animation using
$ nam filename.nam

Popular posts from this blog

AWK Scripts for NS2 to process data from Trace Files

Xgraph

nam installation - Segmentation Fault (Solved)