diff options
author | epochqwert <epoch@53flpnlls43fcguy.onion> | 2015-02-06 02:32:04 -0600 |
---|---|---|
committer | epochqwert <epoch@53flpnlls43fcguy.onion> | 2015-02-06 02:32:04 -0600 |
commit | 3c2d290d17b739f14774dfcdf48581c1fb212286 (patch) | |
tree | 4b3bcf021e9994c21030aad99f84831ad31dbe02 /nocompile/libexec | |
parent | abe09a4717370f331b050ad39da3a7e9a478f02d (diff) | |
download | misc-3c2d290d17b739f14774dfcdf48581c1fb212286.tar.gz misc-3c2d290d17b739f14774dfcdf48581c1fb212286.zip |
some new tools. clump is useful. httpd got some better logging. cuturl got some bugfixes I think. todo is just a version of segfault's !todo but for shell. don't remember what I did to telnet-gateway.sh
Diffstat (limited to 'nocompile/libexec')
-rwxr-xr-x | nocompile/libexec/telnet-gateway.sh | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/nocompile/libexec/telnet-gateway.sh b/nocompile/libexec/telnet-gateway.sh index aac9dd6..5b98cde 100755 --- a/nocompile/libexec/telnet-gateway.sh +++ b/nocompile/libexec/telnet-gateway.sh @@ -1,4 +1,7 @@ #!/bin/bash +export PATH=$PATH:/usr/local/bin:/usr/pkg/bin +export CUTURL_PORT=23 + grep "^telnet:" /var/www/sites/hacking/links.txt \ | cat -n printf "Which do you want to connect to?\nnumber: " @@ -10,12 +13,10 @@ serverURL=$(grep "^telnet:" /var/www/sites/hacking/links.txt \ | tail -n1) echo "You've selected: $serverURL (#$N)" printf "connecting in...\n" -for i in `seq 5 1`;do - printf "\r%d..." $i - sleep 1 -done -port=$(printf "%s" "$serverURL" | cuturl | grep ^port | cut '-d ' -f2) -exec ncat -i 600 $(printf "%s" "$serverURL" \ - | cuturl \ - | grep ^domain \ - | cut '-d ' -f2 ) $port +#for i in `seq 5 1`;do +# printf "\r%d..." $i +# sleep 1 +#done +port=$(printf "%s" "$serverURL" | cuturl --port) +#yes ncat. I *really* meant 10 minutes. why force me to use ms for that? +exec ncat -i 600000ms $(printf "%s" "$serverURL" | cuturl --domain ) $port |