marverix.netcat

Ansible Role: Netcat

Build Status Ansible Quality Score Ansible Role License: ISC

This Ansible role installs Netcat on Linux.

Features

  • ✔️ Installs Netcat
  • ✔️ Choose which version to install:
    • ncat - A better version of Netcat, made for the Nmap Project
    • cryptcat - A lightweight version of Netcat with encryption
    • openbsd
    • traditional
  • ✔️ Creates shortcuts for nc and netcat if they don't exist
  • ✔️ Verified with Molecule testing

Note: There are different versions of "netcat". For example, Debian has netcat-openbsd or netcat-traditional, which are not available for CentOS. That's why only the two versions mentioned above can be installed, as they are available on both Debian and CentOS. This way, you will have the same experience on all your machines.

Supported Platforms

  • ✔️ Ubuntu 18.04 (Bionic)
  • ✔️ Ubuntu 20.04 (Focal)
  • ✔️ CentOS 7
  • ✔️ CentOS 8

Requirements

None

Role Variables

Variable Description Default Value
netcat_install List of versions to install ['ncat']
netcat_alias_to Which app should the nc and netcat shortcuts point to? ncat

Dependencies

None

Example Playbook

  1. The simplest version

    ---
    - hosts: all
      roles:
        - marverix.netcat
    
  2. Install ncat and cryptcat; shortcuts should point to cryptcat

    ---
    - hosts: all
      roles:
        - role: marverix.netcat
          vars:
            netcat_install:
              - ncat
              - cryptcat
            netcat_alias_to: cryptcat
    

License

ISC

Informazioni sul progetto

Ansible role that installs Netcat on Linux

Installa
ansible-galaxy install marverix.netcat
Licenza
isc
Download
137
Proprietario
Everyday normal Software Engineer