mirror of
https://github.com/byReqz/conn.git
synced 2024-11-01 01:03:14 +00:00
6d9c2152b5
- removed -A flag from second fping - added spacing between nmap results and second fping |
||
---|---|---|
conn.sh | ||
LICENSE | ||
README.md |
conn
quick and dirty server availability check
features:
- multi-input detection
- ipv4 input detection
- ipv6 input detection
- waiting for availability
- send notification on availability
requires fping and nmap (and bash)
usage
Usage: conn (options) [ip]
Options:
-m/--multi -- test multiple ips / disable portscan
-h/--help -- show help
-6/--force-ipv6 -- force ipv6 portscanning (also forces portscanning)
-4/--force-ipv4 -- force ipv4 portscanning (also forces portscanning)
-y/--yes -- portscan without asking
-n/--no -- dont portscan
-p/--portscan -- same as -y
-w/--wait -- wait for active connection
installation
- download the script:
wget https://git.byreqz.de/byreqz/conn/raw/branch/main/conn.sh
- run it with
bash conn.sh
or
chmod +x && ./conn.sh
- optionally alias it
alias conn="~/conn.sh"