8 ms·
Google now tells you your IP when you ask it in search
- drbaltar 15y agothe ipchicken is not happy. Google kills yet another industry!
- adulau 15y agoIt's also a great news for Malware too as they usually check for their remote IP. But maybe that will be another way of Google to detect if the local machine is infected in a near future.
- WA 15y agoMalware usually opens a reverse (TCP) connection and thus does not require the remote IP of the infected machine. It only needs to know the IP or domain name of the server it wants to communicate with.
- adulau 15y agoRegularly reversing malware samples, we still see many malware getting their respective remote IP from remote services. This is even used by some recent malware to update the bootstrap DHT with their own IP... In such case, they don't even need to contact directly the C&C. I don't get why my previous comment is down-voted ;-)
- Urgo 15y agoYou don't even need to do it in a question form, just a search for 'ip' works http://www.google.com/search?q=ip http://www.google.com/search?q=ip
- noonespecial 15y agoOk, so I have a curl/awk one-liner that can get me my ip in shell scripts that uses checkip.dyndns.org. It's super simple because the results are super simple from checkip. Anyone want to take a stab at this for google's result page?
- fjarlq 15y agoThis works, but only accidentally: curl --silent 'http://www.google.com/search?q=what+is+my+ip' | sed 's/.*Client IP address: //;s/).*//;q' Google responds with HTTP error 403 (Forbidden), but it just so happens the client IP address is in the error page.
- gizzlon 15y agohaha, nice one
- deleted 15y ago[deleted]
- nodata 15y agoOr use https://ip.appspot.com/ https://ip.appspot.com/
- a3_nm 15y agoEven simpler: curl icanhazip.com
- bostonvaulter2 15y agoI prefer 'curl ifconfig.me'
- ralph 15y agoOne way: wget -Ufoo -qO- 'http://www.google.com/search?q=ip' | sed -n '/.*Your public IP address is [^0-9]*\([0-9.]*\).*/{s//\1/p;q;}'
- 27182818284 15y agoFor months: http://www.wolframalpha.com/input/?i=what+is+my+ip http://www.wolframalpha.com/input/?i=what+is+my+ip
- shrikant 15y agoFor months... what? This is what it shows me, here in my studio apartment in London: http://i.imgur.com/uXBJk.jpg http://i.imgur.com/uXBJk.jpg Edit: I knew that IP looked familiar - this is likely because of the Modify Headers Firefox add-on. Oh well, still broken.
- pilif 15y agohow would a modify headers add-on be able to let the server think that you are coming from a different address? It's not as if the browser sends the origin address as a HTTP header. It doesn't have to. It's part of the IP packet which contains the TCP packet which contains the request headers. Are you sure that you are not using a proxy server at the address Wolfram gives you? Edit: On second thought, you could try to fool server-side detection by setting a non-standard X-Forwarded-For header, but a what is my ip service shouldn't trust that and just report the real remote address.
- shrikant 15y agoYup, non-standard X-Forwarded-For header here (thank you, Comedy Central!). Clearly not to be trusted by an IP finding service :)
- hieronymusN 15y agoWow, like the IPv6 anf IPv4 breakdown along with ISP information. Wolfram would win, but as usual you can't scrape it with the SED tricks of earlier posts... or can you?
- sirn 15y agoActually W|A always have the result available in alt tag of the image: alt="IPv4 | 124.120.*.*\nIPv6 (short version) | ::ffff:*:*\n(as seen by Wolfram|Alpha)" title="IPv4 | 124.120.*.*..." So Sed still works ;)
- rekoros 15y agoJust "ip" works as well.
- vnuk 15y agoDoesn't work for me :| http://imgur.com/t9jA6 http://imgur.com/t9jA6
- brodd 15y agoLooks like it's only active on .com
- jwblackwell 15y agoAnd on .co.uk. Probably something to do with local data centres
- brodd 15y agoOr that IP could mean anything in languages other than english.
- Splines 15y agoUp next: What ports do I have open?
- chaosfox 15y agohttp://nmap-online.com http://nmap-online.com
- icebraining 15y agoI've always used ShieldsUp![1]; I remember using it before I even had my own computer! [1]: https://www.grc.com/x/ne.dll?bh0bkyd2 https://www.grc.com/x/ne.dll?bh0bkyd2
- lacker 15y agoGreat, this saves me that agonizing click on whatismyip.com.
- hboon 15y agohttp://jsonip.com/ http://jsonip.com/ is good too, but http://whatismyip.org http://whatismyip.org is even better because you can just select all and copy right away.
- deleted 15y ago[deleted]
- flexd 15y agojsonip and whatismyip tells me the the IPv4 address though. Google is giving me my IPv6 address! Would be cool to get both somehow.
- hieronymusN 15y agoTo force the IPv6 IP on Google - http://ipv6.google.com/search?q=what+is+my+ip http://ipv6.google.com/search?q=what+is+my+ip
- flexd 15y agoIt's telling me regardless, It's not telling me the IPv4 address.
- TeHCrAzY 15y agoInternode in Australia defaults to IPV6 for Google. Your isp may do the same?
- hieronymusN 15y agoI have IPv6 and IPv4 through my ISP (TimeWarner) - but I have to explicitly tell Google that I want an IPv6 connection with the subdomain.
- treelovinhippie 15y agoAnd thus one line of code kills a dozen websites.
- icandoitbetter 15y agoNot particularly valuable ones, at least.
- RyanMcGreal 15y agoIf there's already a dozen, they can probably handle the competition.
- darkstar999 15y agoDuck Duck Go does this. https://duckduckgo.com/?q=ip https://duckduckgo.com/?q=ip
- tagawa 15y agoDDG in general seems to do a much better job of second-guessing what I'm looking for. Amazing how good it's become and that Google is (in my experience at least) playing catch-up.
- RyanKearney 15y agoThe only downside is you have to use DDG instead of Google. It's like saying Walmart sells the same product a designer store carries.
- shrikant 15y agoSame issue as Wolfram Alpha's IP guesser. See https://news.ycombinator.com/item?id=3128949 https://news.ycombinator.com/item?id=3128949
- troymc 15y agoShieldsUP! - a free service from Gibson Research Corporation - will tell you your IP address and a whole lot more: https://www.grc.com/x/ne.dll?bh0bkyd2 https://www.grc.com/x/ne.dll?bh0bkyd2
- deleted 15y ago[deleted]
- r0h4n 15y agotry "my ip"
- larryw 15y agoI prefer http://www.moanmyip.com/ http://www.moanmyip.com/
- forcer 15y agosad day :(
- martokus 15y agoAnd yet another search vertical killed by google's own results. At least they are not scraping the result this time, so nothing to blame.
- rl1987 15y agoI prefer http://ifconfig.me http://ifconfig.me. It tells more information than just IP address.
- user24 15y agoThis is something that's been going on for a while - Google killing small web apps; Convertors, calculators, movie listings, ip finders, weather stats, stocks. It's not all low-hanging fruit. I'm not saying they shouldn't be doing this, nor that it's intentional. Their goal is to be the best search engine which means connecting searchers with answers as quickly as they can. But even so, it sucks for the web apps who get made redundant by Google. Also, it's interesting to compare this with, say, Yahoo's approach. Yahoo would have put an "IP" widget and a "weather" widget on their portal homepage. Google waits until the user searches for the info before giving it to them - which keeps their homepage clean and more importantly keeps their message strong "we do search well", while Yahoo's always seemed to be "we do a whole bunch of stuff, some of which you may need". I know Google/Yahoo comparisons aren't really du jour, but still it's interesting.
- keeperofdakeys 15y agoWhat's worse is that they could drop these services in the future, all of a sudden there is nothing capable of performing the function.
- vilya 15y ago...leaving a gap in the market which something would surely arise to fill.
- keeperofdakeys 15y agoIt still disadvantages those people who want to use that service while there is nothing to perform the job. Take google recently killing code search http://googleblog.blogspot.com/2011/10/fall-sweep.html http://googleblog.blogspot.com/2011/10/fall-sweep.html. One of the commenter's had been building their own code search platform before google did. Google entering the market meant that this was no longer viable though http://news.ycombinator.com/item?id=3112444 http://news.ycombinator.com/item?id=3112444. A new code search platform will no doubt pop up, but it will take a while to get something that works well. This is the problem with the giant company stepping into new areas, it often leaves destruction in its wake.
- chanux 15y agoI recently noticed that searching for dictionary words, using the old define:something trick or queries like "ubuntu release day", "evanscence genre" returns related information or 'best guess'. Nifty.
- _grrr 15y agoGoogle can also do currency conversions for you http://tinyurl.com/6zzoqmt http://tinyurl.com/6zzoqmt
- icebraining 15y agoDon't use shortened URLs here, please. People like to know where they're going ;) Especially since trolls use them to get people on goatse pages.
- freakinjoe 15y ago'ip' on chrome address bar should suffice
- robryan 15y agoNow just need something of the form: 1262307721 to date, that and ip are my 2 main lazy uses of Google.
- ConstantineXVI 15y agoPlug in "unix date 1262307721" to Wolfram Alpha?
- ralph 15y agoDo you know of date -d @1262307721
- tomkarlo 15y agoThis seems like a case of some things being features, not applications. Entire web sites build just to report your IP back were probably going to be replaced by one thing or another, eventually. Both Google and Apple (and most other companies) are smart enough to see that if a simple feature is heavily used and the experience of using it can be improved for their users, they may want to make it a "native" part of their products. Let's face it, this is a better experience for that search, and you can still go to the indie sites if what you need isn't covered by it.
- billpg 15y agoRemember, if the answer is delivered with HTTP, the reported IP may be the IP of your ISP's transparent proxy server. If you want the IP of your NAT box, you need a what-is-my-IP where the response is delivered over HTTPS.
- blacksmith_tb 15y agoPresumably using Google via https would do the trick, e.g. https://www.google.com/search?q=what+is+my+ip&ie=UTF-8&oe=UTF-8&hl=en https://www.google.com/search?q=what+is+my+ip&ie=UTF-8&#...
- molo_ 15y agoYou can proxy https. See RFC2817 section 5. -molo
- acg 15y agoI'm sure "where am I" is next
- mkr-hn 15y agoIf your site is so sparse that Google can ruin you just by handling a search query, your business model was broken or non-existent. There must be something they can do with all that traffic data to differentiate. Where's the aggregate statistics? Any of the bigger ones could spring off into an ISP review site.
- nobody314159 15y agoJust trying out some other features type "time" into the address bar in chrome Returns: 8:44am Wednesday (PDT) - Time in Vancouver, BC
- Kadrith 15y agoSomeone asked me what day Thanksgiving falls on in 2012; I just realized I could type "thanksgiving date 2012" and get the answer.
- stewbrew 15y agoI'm slightly amazed at how inconsistent these special queries work. For international users (I simply assume it's not just me), this trick only works if I add &hl=en to the URL. Any explanations?
- beaumartinez 15y agoThey haven't yet rolled it out to all the localised versions.