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…

C Programming - Introduction

This post and the subsequent posts will help you in understanding the intricacies of C programming. These posts just shows you the basics of C programming and some worked examples for that. 
C
C Program with Linux

Features of C Programming
  • C is a small language having lesser number of keywords than Java or pascal.
  • C is a native language of Unix, Linux. Not only that many of the windows packages, database programs, graphics libraries are written in C program
  • C is portable – it provides standard set of libraries that work on the same way with all machines
  • C is modular, as it supports functions to divide the program in to sub program
  • C is efficient on most machines, because certain constructs are machine dependant.
Structure of a C program
  • Comments
    • the comments are usually ignored by the compiler
    • so this part informs about the author of the program
    • what is the usefulness of this program
    • updation or creation of the program
    • Example: //  - Single line comment
    • /* ----- multi line comments    ….*/
  • Preprocessor Directives
    • before the compiler runs, the preprocessing takes place.
    • the preprocessors are prefix with a symbol #
    • Examples: #include, #define, #ifdef, #pragma, etc.
  • Function prototypes
    • This is to inform the compiler that the following functions are defined in this program.
    • it specifies the name of the function, arguments or parameters and return type and it ends with a semicolon
    • Ex: int sum(int,int);
  • Global Variables
    • Global variables which are declared above all the functions
    • As the name says, they are available to all the functions of that program
    • They are usually stored in the RAM
  • Main Function
    • main is the function which is main to the entire program
    • Every C program should have a main function
    • syntax: int main() { }
    • Earlier, the main program will return nothing, ie void, but now the compilers are instructing us to provide a return type for the main() function
  • User defined functions
    • After the main() function, the user defined functions are defined, as per the function prototype declared in the program
    • The function can be defined above the main function also, in that case there is not need for function prototype
    • Syntax:
int sum(int a, int b)
{
int f;
f=a+b;
return f;
}

 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)