summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/hackvrd/ident
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
committerepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
commit6492ba6b4107a4da228e18db4fc5fc871bfb0579 (patch)
tree11301c4e20d9a1448337e73b62a16ab1bfeba457 /share/hackvr/examples/hackvrd/ident
parent49d54d7582bdcbdcff5637e72e9f29bb5cc571bd (diff)
downloadhackvr-master.tar.gz
hackvr-master.zip
updated README to show that everything that got deleted went to an -extras repo. also, hackvr script updated to be better bashHEADmaster
Diffstat (limited to 'share/hackvr/examples/hackvrd/ident')
-rwxr-xr-xshare/hackvr/examples/hackvrd/ident16
1 files changed, 0 insertions, 16 deletions
diff --git a/share/hackvr/examples/hackvrd/ident b/share/hackvr/examples/hackvrd/ident
deleted file mode 100755
index f4e7599..0000000
--- a/share/hackvr/examples/hackvrd/ident
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-if [ $# -lt 4 ];then
- echo usage: ident.sh our-host their-host 113 their-port our-port
- exit 1
-fi
-REMOTE_PORT="$4"
-SERVER_PORT="$5"
-IDENT_PORT="$3"
-REMOTE_ADDR="$2"
-SERVER_ADDR="$1"
-username="$(printf "%s, %s\r\n" "$REMOTE_PORT" "$SERVER_PORT" | (ncat -s "$SERVER_ADDR" "$REMOTE_ADDR" "$IDENT_PORT" 2>/dev/null || echo 'ERROR:ERROR:ERROR:ERROR') | tr -d '\r' | cut -d: -f4)"
-if [ "$username" ];then
- printf "%s\n" "$username"
-else
- exit 1
-fi