6 lines
215 B
Bash
6 lines
215 B
Bash
vncroulette() {
|
|
local host="$(curl -sS "https://computernewb.com/vncresolver/api/scans/vnc/random" | jq -r '.["ip","port"]' | tr '\n' ':' | sed 's/:$//')"
|
|
echo "Connecting to ${host}..."
|
|
vncviewer "${host}"
|
|
}
|