Installation and first run¶
Prerequisites¶
If something is missing on your system, you may find help yourself with this command:
sudo apt install python3-pip python3-dev python3-tk git xdg-utils whois dnsutils nmap curl build-essential libssl-dev libpcre3 libpcre3-dev && pip3 install setuptools wheel uwsgi ipython
build-essentialis needed to builduwsgiandenvelopelibpcre3 libpcre3-devneeded to suppress uWSGI warning!!! no internal routing support, rebuild with pcre support !!!libssl-devneeded to be present before buildinguwsgiif you will need to use--https
Launch as a package:¶
# (optional) setup virtual environment
python3 -m venv venv
. venv/bin/activate
(venv) $ ... # continue below
# install from PyPi
pip3 install convey # without root use may want to use --user
# (optional) alternatively, you may want to install current master from GitHub
pip3 install git+https://github.com/CZ-NIC/convey.git
# launch
convey [filename or input text] # or try `python3 -m convey` if you're not having `.local/bin` in your executable path
Parameter [filename or input text] may be the path of the CSV source file or any text that should be parsed. Note that if the text consist of a single value, program prints out all the computable information and exits; I.E. inputting a base64 string will decode it.
OR launch from a directory¶
# download from GitHub
git clone git@github.com:CZ-NIC/convey.git
cd convey
pip3 install -r requirements.txt --user
# launch
./convey.py
Bash completion¶
- Run:
apt-get install bash-completion jq - Copy: extra/convey-autocompletion.bash to
/etc/bash_completion.d/ - Restart terminal
Customisation¶
- Launch convey with
--helpflag to see further options. - The config file
convey.yamlis automatically created in user config folder. This file may be edited for further customisation. Access it withconvey --config. Convey tries to open the file in the default GUI editor or in the terminal editor if GUI is not an option.