Ktools v 0.2

Ktools v 0.2 Install

It's an application that collects all help information of tools included in the linux distribution for audits and penetration testing Kali Linux, giving users easy access to the help content without an internet connection. The official help content comes from website https://tools.kali.org belonging to offensive security.

Features New

Ktools was coded in python and the graphical interface in java, allowing to visualize the information from a terminal or from a window.The tool classifies the contents in categories and tools as in Kali Linux, allowing the user to access the information searching for a category or searching the tool directly. This version comes with new features like creation of menu entries on desktop and main menu and it does a pause when the tool information or tool list is showing. Now has the ability to update the database from the command line.

The GUI is now coded with javafx that supports html5 contents, therefore it includes some animations and a new css template to show the tools information.

Requirements

python 2.7

python sqlite3

java 8 or Openjdk 8

Javafx 8 or Openjfx 8

Install openjdk 8 and openjfx 8.

  • File
  • Edit
  • View
  • Search
  • Terminal
  • Help

root@kali:/ apt-get install openjdk-8-jre openjfx

If the Linux distribution does not have the repositories for openjdk-8-jre or openjfx, you can download the jre version of oracle in the following link Java Jre 8.

  • File
  • Edit
  • View
  • Search
  • Terminal
  • Help

root@kali:/ gzip -dk jre-8u172-linux-x64.tar.gz

root@kali:/ tar -xvf jre-8u172-linux-x64.tar

root@kali:/ mv jre1.8.0_172 /usr/lib/jvm/

root@kali:/ update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.8.0_172/bin/java 1

root@kali:/ update-alternatives --set java /usr/lib/jvm/jre1.8.0_172/bin/java

If you have jdk or jre installed in a version higher than 8, you must skip the steps that include the update-alternatives command, and extract the compressed file in the folder /usr/lib/jvm/ so the script will start ktools GUI with java version 8.

Download

Download ktools from github repository https://www.github.com/f0rk1/ktools-linux.

  • File
  • Edit
  • View
  • Search
  • Terminal
  • Help

root@kali:/ cd /opt

root@kali:/opt/ git clone https://www.github.com/f0rk1/ktools-linux

root@kali:/opt/ cd ktools-linux

Installation

Once the script run the first time, a configuration file and menu entries will be create.

  • File
  • Edit
  • View
  • Search
  • Terminal
  • Help

root@kali:/ktools-linux/ python ktools.py

the program shorcut doesn't exists, Do you want create it, must be root user (y/n) ? y

Do you want to create some symlinks in desktop and menu, must be root user (y/n) ?

Configuration

Once the configuration file is created, the language is automatically detected and configured with the other options with the default values.

Options of the configuration file config.cfg of the script in python.

[settings]
;language
lang = es
;create a symbolic link to execute the script and create menu entries on
;the desktop and main menu ( 0=disable, 1=enable )
menu = 1
;database hash
dbhash = 40022da25ec234a94ced28da5a3208c0f0cea474f2424b193cdb606ea7189336
;it does a pause when tool information or tool list is showing, 
;you must press enter to continue or q to exit ( 0=disable, 1=enable )
pausekey = 1

Start

Show help in the command line.

  • File
  • Edit
  • View
  • Search
  • Terminal
  • Help

root@kali:/ ktools -h

or

root@kali:/ ktools --help

Coming soon

finish correction of translations of spanish contents, there are 228 corrected translations of the tools information.