Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
user:william:getting_external_ip [2020/02/23 02:00]
198.52.187.21
user:william:getting_external_ip [2020/07/08 22:10] (current)
198.52.187.4
Line 14: Line 14:
   curl -sS http://​diagnostic.opendns.com/​myip   curl -sS http://​diagnostic.opendns.com/​myip
   curl -sS http://​ifconfig.ca/​   curl -sS http://​ifconfig.ca/​
 +  curl -sS http://​ifconfig.me/​ip
   curl -sS http://​ident.me/​   curl -sS http://​ident.me/​
   curl -sS http://​myip.dnsomatic.com/​   curl -sS http://​myip.dnsomatic.com/​
 +  curl -sS http://​ip4.me/​api/​ | cut -d, -f2
  
   * **IP buried in webpage:**   * **IP buried in webpage:**
Line 27: Line 29:
   lynx -dump http://​monip.org/​ | awk '/IP :/ {print $NF}'   lynx -dump http://​monip.org/​ | awk '/IP :/ {print $NF}'
   lynx -dump http://​www.myipaddress.com/​ | sed -ne "/Your computer'​s IP address is:/ {n;​n;​p}"​   lynx -dump http://​www.myipaddress.com/​ | sed -ne "/Your computer'​s IP address is:/ {n;​n;​p}"​
-  lynx -dump http://​whatismyip.com/​ | awk '/My Public IPv4 is:/ {print $NF}'+  lynx -dump http://​whatismyip.com/​ | awk -F'​[]:​[]' ​'/My Public IPv4 is:/ {print $NF}'
  
   * **Special DNS query:**   * **Special DNS query:**
  • user/william/getting_external_ip.1582441222.txt.gz
  • Last modified: 9 months ago
  • by 198.52.187.21