KaliTools: Difference between revisions
From charlesreid1
(Created page with "Software that worked: * cowpatty * webshells * wifi-honey Software that did not work: * nishang * powerfuzzer * rtlsdr-scanner") |
m (Replacing charlesreid1.com:3000 with git.charlesreid1.com) |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Main repo: https://github.com/lbarman/kali-tools.git | |||
=Installing kali-tools= | |||
==Dependencies== | |||
* | |||
You'll need a few python tools to run kali-tools: | |||
<pre> | |||
$ pip3 install --upgrade --user beautifulsoup4 html5lib | |||
</pre> | |||
==Git repo== | |||
To install kali-tools, check out the repo: | |||
<pre> | |||
git clone https://github.com/lbarman/kali-tools.git | |||
cd kali-tools | |||
</pre> | |||
=Installing a package= | |||
Run the program and use the interface to explore packages by category: | |||
<pre> | |||
python3 kali.py | |||
</pre> | |||
or, pass it the name of a particular package: | |||
<pre> | |||
python3 kali.py wifite | |||
</pre> | |||
=Building a package= | |||
The kali-tools script will only check out the repository from git.kali.org corresponding to the particular package you requested. | |||
Most of the packages are written in C or C++ or some other language and must be compiled; if this is the case, the repository will provide a <code>debian/</code> directory containing all of the materials needed to create a .deb package and install it through aptitude. | |||
Some of the packages are simply standalone scripts (bash or Python or other), and these are not meant to be installed - they can simply be run in-place (and optionally, their location added to your <code>$PATH</code>). | |||
Also see [[Debian Directory]]. | |||
==Building .deb files== | |||
To build .deb files, change to the directory where the program's files were checked out, which will be <code>dist/package-name</code>. | |||
<pre> | |||
python3 kali.py burpsuite | |||
cd dist/burpsuite | |||
</pre> | |||
Then issue the following commands to build the .deb file: | |||
<pre> | |||
dpkg-buildpackage -us -uc -b | |||
</pre> | |||
This will build the .deb file using the files in the <code>debian/</code> folder, and put the .deb file in the parent directory. | |||
==Installing .deb files== | |||
Once you have built the .deb file with the <code>dpkg-buildpackage</code> command, go up one directory and you should see the .deb file: | |||
<pre> | |||
cd ../ | |||
ls *.deb | |||
</pre> | |||
Once you're ready to install, use the <code>dpkg -i package-name.deb</code>: | |||
<pre> | |||
dpkg -i burpsuite_1.7.30-0kali1_all.deb | |||
</pre> | |||
If you then run the command <code>apt-get install package-name</code>, aptitude should tell you the package is installed: | |||
<pre> | |||
$ sudo apt-get install burpsuite | |||
Reading package lists... Done | |||
Building dependency tree | |||
Reading state information... Done | |||
burpsuite is already the newest version (1.7.30-0kali1). | |||
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |||
</pre> | |||
==Upgrade to latest version== | |||
Last step is to upgrade the package you just installed to the latest version: | |||
<pre> | |||
$ sudo apt-get upgrade burpsuite | |||
</pre> | |||
=Full List of Packages= | |||
See https://git.charlesreid1.com/kali/kali-tools | |||
=Flags= | |||
{{KaliFlag}} | |||
Latest revision as of 03:34, 9 October 2019
Main repo: https://github.com/lbarman/kali-tools.git
Installing kali-tools
Dependencies
You'll need a few python tools to run kali-tools:
$ pip3 install --upgrade --user beautifulsoup4 html5lib
Git repo
To install kali-tools, check out the repo:
git clone https://github.com/lbarman/kali-tools.git cd kali-tools
Installing a package
Run the program and use the interface to explore packages by category:
python3 kali.py
or, pass it the name of a particular package:
python3 kali.py wifite
Building a package
The kali-tools script will only check out the repository from git.kali.org corresponding to the particular package you requested.
Most of the packages are written in C or C++ or some other language and must be compiled; if this is the case, the repository will provide a debian/ directory containing all of the materials needed to create a .deb package and install it through aptitude.
Some of the packages are simply standalone scripts (bash or Python or other), and these are not meant to be installed - they can simply be run in-place (and optionally, their location added to your $PATH).
Also see Debian Directory.
Building .deb files
To build .deb files, change to the directory where the program's files were checked out, which will be dist/package-name.
python3 kali.py burpsuite cd dist/burpsuite
Then issue the following commands to build the .deb file:
dpkg-buildpackage -us -uc -b
This will build the .deb file using the files in the debian/ folder, and put the .deb file in the parent directory.
Installing .deb files
Once you have built the .deb file with the dpkg-buildpackage command, go up one directory and you should see the .deb file:
cd ../ ls *.deb
Once you're ready to install, use the dpkg -i package-name.deb:
dpkg -i burpsuite_1.7.30-0kali1_all.deb
If you then run the command apt-get install package-name, aptitude should tell you the package is installed:
$ sudo apt-get install burpsuite Reading package lists... Done Building dependency tree Reading state information... Done burpsuite is already the newest version (1.7.30-0kali1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Upgrade to latest version
Last step is to upgrade the package you just installed to the latest version:
$ sudo apt-get upgrade burpsuite
Full List of Packages
See https://git.charlesreid1.com/kali/kali-tools
Flags