Skip to content

Instantly share code, notes, and snippets.

View darth-hp's full-sized avatar

Heinz Peter Hippenstiel darth-hp

View GitHub Profile
@darth-hp
darth-hp / portscan.sh
Last active October 18, 2021 07:01
poor mans port scanner in bash
PORTS=(80 443);NETWORK="192.168.13"; for i in {1..254}; do IP="$NETWORK.$i"; OPEN=(); for p in ${PORTS[*]};do OPEN+=$(nc -zv4w1 $IP $p >/dev/null 2>&1 && echo " $p"); done; echo "$IP:${OPEN[*]}"; done|grep -E ' [0-9]+'
@darth-hp
darth-hp / remotekvm.md
Last active November 6, 2020 12:27
Avocent IBM Bladecenter AMM remotekvm parameter

If you start java -jar remotekvm.jar it prints:

Missing parameter!
Usage : <path to java.exe> -jar <RC application jar> [command line options]

The options are defined as follows:
-host     the host IP/name of the AMM to connect
-nsport   the network service port of the AMM to connect, default value is 3900.
-rbs the rbs handler for authentication