-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestarede.sh
More file actions
executable file
·29 lines (26 loc) · 794 Bytes
/
testarede.sh
File metadata and controls
executable file
·29 lines (26 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
echo -e "\n ifconfig.me: "
curl ifconfig.me
echo -e "\n icanhazip.com: "
curl icanhazip.com
echo -e "\n ipecho.net: "
curl ipecho.net/plain
echo -e "\n ifconfig.co: "
curl ifconfig.co
echo -e "\n ipinfo.io: "
curl https://ipinfo.io/ip
echo -e "\n checkip.dyndns.org: "
curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
echo -e "\n checkip.dyndns.org: "
curl https://ipecho.net/plain
echo -e "\n myip.opendns.com: "
dig +short myip.opendns.com @resolver1.opendns.com
echo -e "\n myaddr.l.google.com: "
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com
echo -e "\n ident.me: "
curl ident.me
echo -e "\n checkip.amazonaws.com: "
curl http://checkip.amazonaws.com
echo -e "\n bot.whatismyipaddress.com: "
curl bot.whatismyipaddress.com
echo -e "\n "