1
0
mirror of https://github.com/byReqz/conn.git synced 2024-12-26 13:31:48 +00:00
Go to file
2021-02-09 13:31:03 +00:00
.github/workflows add actions workflow to pregen hashes 2021-01-25 15:36:29 +00:00
conn.sh tweaked -w and -ww 2021-02-09 13:31:03 +00:00
hash updated hash after commit 2021-02-01 13:10:10 +00:00
LICENSE Initial commit 2021-01-15 14:40:34 +00:00
README.md Update README.md 2021-01-22 22:08:58 +00:00

conn

quick and dirty server availability check

basically just a way too complex wrapper for nmap and fping

features:

  • multi-input detection
  • ipv4 input detection
  • ipv6 input detection
  • waiting for availability
  • send notification on availability
  • updater built in

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
-u/--update -- update the script
-f/ --fast -- disable os check
-s/ --simple -- same as -f

installation

  1. download the script:
wget https://git.byreqz.de/byreqz/conn/raw/branch/main/conn.sh
  1. run it with
    bash conn.sh or
    chmod +x conn.sh && ./conn.sh
  2. optionally alias it
    alias conn="~/conn.sh"