The following TCP ports were open:
Code: Select all
80,443,5000,5222,5223,5224,5228,5229,8080,12121I wrote the following shell script to check the open TCP ports while you are on a cruise:
Code: Select all
#!/bin/bash
# 0 check TCP, 1 check UDP
NOUDP=0
# first port to check, min 1
START="480"
# last port to check, max 65535
END="65535"
# server used for checking open ports
TARGET="portquiz.net"
# TARGET="35.180.139.74"
#internal
FIRSTFOUND=0
FOUNDPORTS="Open ports:"
SPINNER=("|" "/" "-" "\\")
echo "Warning: the total runtime for a full port scan is 18 hours, 12 minutes, and 14 seconds."
echo "Checking ports $START-$END for accessibility using $TARGET:"
printresults() {
echo "Checked ports: $START-$PORT"
if [ "$FIRSTFOUND" -eq 0 ]; then
echo "$FOUNDPORTS none"
else
echo "$FOUNDPORTS"
fi
}
interrupt() {
echo ""
echo "Scan interrupted."
printresults
kill "$CHILD_PID" >/dev/null 2>&1
exit 1
}
# Ctrl+C
trap 'interrupt' SIGINT SIGTERM SIGHUP
PORT=$START
while [ "$PORT" -le "$END" ]; do
# for PORT in $(eval echo "{$START..$END}"); do
echo -n -e "${SPINNER[$i]} $PORT\r"
i=$(( (i+1) % ${#SPINNER[@]} ))
if [ "$NOUDP" -eq 0 ]; then
PARAMS="-z -G 1"
else
PARAMS="-u -z"
fi
nc=$(nc $PARAMS "$TARGET" "$PORT" 2>&1)
# test if host name can be resolved first as nc requires that
HOSTERRORMESSAGE=$(host -W 1 "$TARGET" 2>&1)
if [ $? -ne 0 ]; then
echo "ERROR: $TARGET $HOSTERRORMESSAGE."
printresults
echo "Scan interrupted. Check your internet connection and try again."
exit 1
fi
if [[ -n "$nc" ]]; then
if [ "$FIRSTFOUND" -eq 0 ]; then
FOUNDPORTS="$FOUNDPORTS $PORT"
FIRSTFOUND=1
else
FOUNDPORTS="$FOUNDPORTS, $PORT"
fi
echo "✅ $nc"
fi
PORT=$((PORT + 1))
done
echo "Done. $FOUNDPORTS"Another possibility is using the ships TV network. There is an RJ45-cable in each cabin going to the TV which you can attach to your laptop. However, there is no direct internet connection and access would require cracking or stealing passwords.
TVs are locked to fetch all data from ships network. Even the HDMI port is disabled, but you could probably get that opened by bringing your own LG remote controller as they may have implemented the lock by modifying remote controllers.
Happy hacking,
Santeri
