简体   繁体   English

我可以从 IP 地址获得哪些信息?

[英]What information can I get from an IP address?

If you have IP addresses of a set of computers (in a LAN), what other information can be deduced from them?如果您有一组计算机(在 LAN 中)的 IP 地址,还可以从中推断出哪些其他信息? For instance, is there a way to find out what operating system the computer behind each IP is running?例如,有没有办法找出每个 IP 背后的计算机正在运行什么操作系统?

That depends if you mean passively or actively.这取决于您的意思是被动还是主动。 Passively (that is, by not attempting to connect to or scan the IP itself) you can see exactly what information is available from an IP from my service at http://ipinfo.io .被动地(即,通过不尝试连接或扫描 IP 本身),您可以在http://ipinfo.io 上从我的服务中准确查看 IP 中可用的信息。 It includes rough geolocation, hostname, and network owner.它包括粗略的地理位置、主机名和网络所有者。 Here the data for Google's public DNS IP:以下是 Google 公共 DNS IP 的数据:

$ curl ipinfo.io/8.8.8.8
{
  "ip": "8.8.8.8",
  "hostname": "google-public-dns-a.google.com",
  "loc": "37.385999999999996,-122.0838",
  "org": "AS15169 Google Inc.",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "phone": 650
}

If you want to take the active approach you can find out much more.如果你想采取积极的方法,你可以找到更多。 Tools like nmap will tell you exactly what services are running and be able to make a good guess at the OS that's running.nmap这样的工具会准确地告诉您正在运行哪些服务,并能够很好地猜测正在运行的操作系统。

From the IP address you can often get:您通常可以从 IP 地址获得:

but that's about it.但仅此而已。

However ... From a full TCP session, you can deduce other things based on exactly how it behaves, what values in chooses for certain header fields, etc. NMAP has a "fingerprint" system that makes pretty good guesses as to the operating system the machine is running.但是...从完整的 TCP 会话中,您可以根据它的行为方式、为某些标头字段选择的值等推断出其他内容。 NMAP有一个“指纹”系统,可以很好地猜测操作系统机器正在运行。

From my service - ipdata.co - you can get the geolocation, organisation, currency, timezone, calling code, flag and Tor Exit Node status data from any IPv4 or IPv6 address.从我的服务 - ipdata.co - 您可以从任何 IPv4 或 IPv6 地址获取地理位置、组织、货币、时区、调用代码、标志和 Tor 退出节点状态数据。

It also has 10 global endpoints each able to handle >800M calls a day!它还拥有 10 个全球端点,每个端点每天可以处理超过 8 亿个呼叫!

curl https://api.ipdata.co/70.70.70.70
{
    "ip": "70.70.70.70",
    "city": "",
    "region": "",
    "region_code": "",
    "country_name": "Canada",
    "country_code": "CA",
    "continent_name": "North America",
    "continent_code": "NA",
    "latitude": 43.6319,
    "longitude": -79.3716,
    "asn": "AS6327",
    "organisation": "Shaw Communications Inc.",
    "postal": "",
    "currency": "CAD",
    "currency_symbol": "$",
    "calling_code": "1",
    "flag": "https://ipdata.co/flags/ca.png",
    "emoji_flag": "\ud83c\udde8\ud83c\udde6",
    "time_zone": "",
    "is_eu": false,
    "suspicious_factors": {
        "is_tor": false
    }
}⏎ 

So many options.这么多选择。 There is also https://ifconfig.co , with a very developer focussed website.还有https://ifconfig.co ,这是一个非常专注于开发人员的网站。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IP地址信息如何从TCP层传播到IP层? - How IP address information is propagated from the TCP layer to the IP layer? 如何获取使用Java知道IP地址的计算机上安装的OS信息和数据库? - How to get the OS information and the Databases that are installed on a machine whose IP address known using Java? 为什么这段代码可以从返回地址获取函数地址? - why this piece of code can get the function address from return address? 如何在不调用Powershell的情况下获取完整的操作系统信息? - How can I get full OS information without calling powershell? entry()进入与我在Elf中设置的入口点不同的地址 - entry() get into the different address from the entry point I set in the Elf 获取用户设备操作系统版本和 android 的 ip 地址的方法是什么? - Is the way to get users device OS version and ip address for android? 如何在“版本”选项卡中显示的Windows PE文件中获取信息? - How can I get the information inside a Windows PE file that is displayed in the Version Tab? 如何在 Python 中返回系统信息? - How can I return system information in Python? IP地址的“部分”如何称呼? - How is an IP address “part” called? 什么阻止我使用ASM跳转到任何绝对地址? - What prevents me from jumping to any absolute address using ASM?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM