* An easy way to get info, example your public ip, hostname...
* Can be used in scripts that example need the public ip, like whatismyip.com. But this site is only showing the ip, no html at all!
If you are using Linux, you can use this in your bash scripts. To get your public ip in a variable just type;
Curl: $ip = `curl ip.boa.nu`
wget: $ip = `wget -O - -q ip.boa.nu`
or the easyone, lynx :) : $ip = `lynx --dump http://ip.boa.nu|sed -e 's/^[[:space:]]*//' -e 's/*[[:space:]]$//'|grep -v ^$`
| URL.boa.nu | Example output | Info |
| ip | 38.107.191.111 | |
| host OR hostname | 38.107.191.111 | |
| clock OR date OR rfc822 | Thu, 29 Jul 10 20:37:43 +0200 | This will display an RFC822 compatible timestamp. |
| agent OR agentstring | CCBot/1.0 (+http://www.commoncrawl.org/bot.html) | |
| 1970 OR epoch OR unixtime | 1280428663 | |
| china | Tiger | You can also type http://china.boa.nu/YEAR, example http://china.boa.nu/1999 to get the name of one specific year. |
| URL.boa.nu | Hash | |
| http://crypt.boa.nu | crypt (use for htpasswd hashes) | |
| http://md4.boa.nu | md4 | |
| http://md5.boa.nu | md5 | |
| http://sha1.boa.nu | sha1 | |
| http://sha256.boa.nu | sha256 | |
| http://sha384.boa.nu | sha384 | |
| http://sha512.boa.nu | sha512 | |
| http://ripemd128.boa.nu | ripemd128 | |
| http://ripemd160.boa.nu | ripemd160 | |
| http://whirlpool.boa.nu | whirlpool | |
| http://snefru.boa.nu | snefru | |
| http://gost.boa.nu | gost | |
| http://adler32.boa.nu | adler32 | |
| http://crc32.boa.nu | crc32 | |
| http://crc32b.boa.nu | crc32b | |
| PS: Every hash function supports eighter random generation, with example http://md5.boa.nu or you can hash one specific string with example http://md5.boa.nu/string | ||