Skip to content

Debian - Missing dependencies and netcat assumption #2

@YurkoWasHere

Description

@YurkoWasHere

Ansible broken on Debian

First there are DIFFERNT verisons of netcat nc out there that have different outputs

This script is geared towards netcat-openbsd output
Connection to xx.xxx.xx.xx 5432 port [tcp/postgresql] succeeded!

netcat and netcat-traditional packages output is
HOST.NAME.COM [xxx.xxx.xxx.xxx] 6379 (?) open

This breaks the check for open ports

There where 2 dependencies missing that should be installed.
netcat-openbsd
lsof

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions