|
6 | 6 | It supports different operations like merging, splitting and modifying ticket caches. |
7 | 7 | A detailed list of all supported operations can be found in the [operations section](#supported-operations). |
8 | 8 |
|
| 9 | + |
| 10 | + |
| 11 | + |
9 | 12 |
|
10 | 13 | ### Table of Contents |
11 | 14 |
|
@@ -38,25 +41,32 @@ A detailed list of all supported operations can be found in the [operations sect |
38 | 41 |
|
39 | 42 | ---- |
40 | 43 |
|
41 | | -*kutil* is just an executable python script, not a library. Just install the required |
42 | | -dependencies and copy the script to a folder within your ``$PATH``. |
43 | | -On *Kali Linux*, all dependencies should be preinstalled and *kutil* should work out of the box. |
| 44 | +*kutil* can be build and installed as a *pip* package. The following |
| 45 | +command installs *kutil* for your current user profile: |
| 46 | + |
| 47 | +```console |
| 48 | +$ pip3 install kutil |
| 49 | +``` |
| 50 | + |
| 51 | +You can also build *kutil* from source and install it directly by using |
| 52 | +the following commands: |
44 | 53 |
|
45 | 54 | ```console |
46 | 55 | $ git clone https://github.com/qtc-de/kutil |
47 | | -$ pip3 install -r kutil/requirements.txt |
48 | | -$ ln -s $(realpath kutil/kutil.py) ~/.local/bin/kutil |
| 56 | +$ cd kutil |
| 57 | +$ pip3 install -r requirements.txt |
| 58 | +$ python3 setup.py sdist |
| 59 | +$ pip3 install dist/* |
49 | 60 | ``` |
50 | 61 |
|
51 | | -*kutil* supports autocompletion for *bash* and the corresponding completion script can be found |
52 | | -inside the [bash_completion.d](./bash_completion.d) folder. The script assumes that the |
53 | | -[bash-completion](https://github.com/scop/bash-completion) package is installed and that |
54 | | -my [completion-helpers](https://github.com/qtc-de/completion-helpers) functions are available. |
55 | | -If you setup both projects, you can just copy the completion script inside your local |
56 | | -``~/.bash_completion.d`` folder: |
| 62 | +Additionally, *kutil* ships a [bash-completion](./kutil/resources/bash_completion.d/kutil) script. |
| 63 | +The completion script is installed automatically, but relies on the [completion-helpers](https://github.com/qtc-de/completion-helpers) |
| 64 | +package. If *completion-helpers* is already installed, autocompletion for *kutil* should |
| 65 | +work after installing the pip package. Otherwise, you may need to copy the completion |
| 66 | +script manually: |
57 | 67 |
|
58 | 68 | ```console |
59 | | -$ ln -s $(realpath kutil/bash_completion.d/kutil) ~/bash_completion.d/kutil |
| 69 | +$ cp kutil/resources/bash_completion.d/kutil ~/.bash_completion.d |
60 | 70 | ``` |
61 | 71 |
|
62 | 72 |
|
|
0 commit comments