knock
Trinity's hack emulation into Neo's computer.
Installation (using pip3)
The easiest and best way to install knock is using pip3.
- If you don't have pip3 installed, use your package manager to install the package python3-pip. For Debian based systems
the command to use would be.
$ sudo apt-get install python3-pip
. - Install colorama.
$ sudo pip3 install colorama
- Next, use pip3 to install knock.
$ sudo pip3 install knock
Installation (from source)
Installing from source is easy.
- First download colorama with wget.
$ wget https://pypi.python.org/packages/f0/d0/21c6449df0ca9da74859edc40208b3a57df9aca7323118c913e58d442030/colorama-0.3.7.tar.gz
- Εxtract the tar.gz file.
$ tar -xf colorama-0.3.7.tar.gz
- Enter the source directory.
$ cd colorama-0.3.7/
- Execute the setup.py script as the root user.
$ sudo python3 setup.py install
- Get the knock source.
$ git clone https://github.com/ShRP/knock.git
- Enter the source directory.
$ cd knock
- If you don't have sudo installed/configured, execute setup.py as the root user.
$ su && python3 setup.py install
- if you have sudo installed, log in as a sudoer and execute the setup.py file with sudo.
$ sudo setup.py install
- Done! It should now be a simple case of executing
$ knock
in your favorite terminal emulator