netdiscover-docker/run.sh

13 lines
225 B
Bash
Raw Normal View History

2021-05-29 16:18:29 +00:00
#!/bin/bash
if [[ -z "$port" ]];then
port=8080
fi
if [[ -n "$userpass" ]];then
creds="-c "$userpass""
fi
if [[ -z "$title" ]];then
title=netdiscover-docker
fi
./gotty -p "$port" $creds --title-format "$title" netdiscover