Around Wed,Mar 19 2003, at 09:29, Patrick R. Wade, wrote:
> On Wed, Mar 19, 2003 at 08:50:15PM -0800, Ben Barrett wrote:
> >
> >Wow, check out this cool new website I found:
> >http://vulnerable.org
> >I think you can ssh in, too -- use your own password!!
> >
> >very nice... very nice indeed. I feel there must be a fun story behind
> >how DNS's get something without me getting a whois entry. Anyone know?
> >
>
> The primary responsibility for .org has moved, so most whois clients
> are behind the times. Try
>
> : ; whois -h whois.publicinterestregistry.org vulnerable.org
>
> I will see if i can update the whois wrapper i got from Steve VanDevender
> and distribute it to EUG-LUG.
>
I updated it, not sure the original author.
It's only 3k, so hope the attachment is no problem.
--
[EMAIL PROTECTED]
>From /usr/bin/fortune:
You are always doing something marginal when the boss drops by your desk.
#!/bin/sh
PATH=/usr/ucb:/usr/bin:/bin
if [ $# -eq 0 ]
then
echo "usage: $0 [-h queryhost] object"
exit 1
fi
while [ $# -gt 0 ]
do
case "$1" in
-h)
if [ $# -gt 1 ]
then
ws="$2"; shift 2
else
echo "$0: missing argument to -h"
exit 1
fi
;;
*.[aA][cC]) ws=whois.nic.ac ;;
*.[aA][fF]) ws=whois.nic.af ;;
*.[aA][sS]) ws=whois.nic.as ;;
*.[aA][uU]) ws=whois.aunic.net ;;
*.[bB][rR]) ws=whois.nic.br ;;
*.[bB][tT]) ws=whois.nic.bt ;;
*.[cC][aA]) ws=whois.cdnnet.ca ;;
*.[cC][cC]) ws=whois.nic.cc ;;
*.[cC][hH]) ws=whois.nic.ch ;;
*.[cC][kK]) ws=whois.ck-nic.org.ck ;;
*.[cC][lL]) ws=whois.nic.cl ;;
*.[cC][xX]) ws=whois.nic.cx ;;
*.[cC][nN]) ws=whois.cnnic.net.cn ;;
*.[fF][rR]) ws=whois.nic.fr ;;
*.[gG][fF]) ws=whois.nplus.gf ;;
*.[gG][iI]) ws=whois.nic.gi ;;
*.[gG][oO][vV]) ws=whois.nic.gov ;;
*.[gGmM][sS]|*.[tT][cCfF]|*.[vV][gG]) ws=whois.adamsnames.tc ;;
*.[hH][kK]) ws=whois.hknic.net.hk ;;
*.[hH][mM]) ws=whois.nic.hm ;;
*.[iI][dD]) ws=whois.idnic.net.id ;;
*.[iI][nN]) ws=whois.ncst.ernet.in ;;
*.[iI][oO]) ws=whois.io ;;
*.[jJ][pP]) ws=whois.nic.ad.jp ;;
*.[kK][rR]) ws=whois.krnic.net ;;
*.[kK][zZ]) ws=whois.domain.kz ;;
*.[lL][iI]) ws=whois.nic.li ;;
*.[lL][kK]) ws=whois.nic.lk ;;
*.[lL][yY]) ws=whois.nic.ly ;;
*.[mM][iI][lL]|21[45].*[0-9]) ws=whois.nic.mil ;;
*.[mM][mM]) ws=whois.nic.mm ;;
*.[mM][xX]) ws=whois.nic.mx ;;
*.[nN][lL]) ws=www.domain-registry.nl ;;
*.[nN][uU]) ws=whois.nic.nu ;;
*.[nN][zZ]) ws=whois.patho.gen.nz ;;
*.[pP][eE]) ws=rwhois.rcp.net.pe ;;
*.[pP][kK]) ws=whois.pknic.net.pk ;;
*.[pP][rR]) ws=whois.uprr.pr ;;
*.[pP][wW]) ws=whois.nic.pw ;;
*.[rR][uU]) ws=whois.ripn.net ;;
*.[sS][eE]) ws=whois.nic-se.se ;;
*.[sS][gG]) ws=whois.nic.net.sg ;;
*.[sS][hH]) ws=whois.nic.sh ;;
*.[sS][oO]) ws=whois.nic.so ;;
*.[sS][tT]) ws=whois.nic.st ;;
*.[tT][hH]) ws=whois.thnic.net ;;
*.[tT][jJ]) ws=whois.nic.tj ;;
*.[tT][mM]) ws=whois.nic.tm ;;
*.[tT][oO]) ws=whois.tonic.to ;;
*.[tT][wW]) ws=whois.twnic.net ;;
*.[uU][kK]) ws=whois.nic.uk ;;
*.[uU][sS]) ws=whois.isi.edu ;;
*.[vV][eE]) ws=rwhois.reacciun.ve ;;
*.[zZ][aA]) ws=whois.frd.ac.za ;;
*.[oO][rR][gG]) ws=whois.publicinterestregistry.org ;;
*.[aA][dDlLmMtTzZ]|*.[bB][aAeEgGyY]|*.[cC][yYzZ]|*.[dD][eEkKzZ]|*.[eE][eEgGsS])
ws=whois.ripe.net ;;
*.[fF][iIoO]|*.[gG][aAbBeElLmMrR]|*.[hH][rRuU]|*.[iI][eElLsStT]|*.[jJ][oO])
ws=whois.ripe.net ;;
*.[lL][tTuUvV]|*.[mM][aAcCdDkKtT]|*.[nN][oO]|*.[pP][lLtT]|*.[rR][oO])
ws=whois.ripe.net ;;
*.[sS][iIkKmM]|*.[tT][nN][rR]|*.[uUvV][aA]|*.[yY][uU])
ws=whois.ripe.net ;;
19[345].*[0-9]|21[23].*[0-9]|*-[rR][iI][pP][eE]) ws=whois.ripe.net ;;
20[23].*[0-9]|21[01].*[0-9]|*-[aA][pP]) ws=whois.apnic.net ;;
[1-9]|[1-9]*[0-9]|[nN][eE][tT]-*|[nN][eE][tT][bB][lL][kK]-*|*-[aA][rR][iI][nN])
ws=whois.arin.net ;;
*)
ws="`whois -h whois.internic.net "$1" | sed -n 's/ *Whois Server:
*\(.*\)/\1/p'`"
ws="${ws:-whois.internic.net}"
;;
esac
if [ -n "$1" ]
then
echo "querying $ws for $1"
whois -h "$ws" "$1" || exit $?
shift
else
echo "usage: $0 [-h queryhost] object"
exit 1
fi
done