35 releases
Uses new Rust 2024
| 0.2.32 | Jul 26, 2025 |
|---|---|
| 0.2.30 | Jul 26, 2025 |
| 0.2.29 | Jun 29, 2025 |
| 0.1.2 | Jun 6, 2025 |
| 0.0.20 | May 31, 2025 |
#107 in Network programming
3,023 downloads per month
395KB
10K
SLoC
IP-Hacker
俄罗斯大黑客用的 IP 地址检测工具
[!WARNING]
俄罗斯大黑客只是一个玩笑,请勿当真
[!NOTE] 本软件所用 API 均来自于互联网,若有任何问题请在 Issue 提出
About
相比于一般的 Bash IP 检测脚本,有何优势?
速度超快: Powered By RUST!,别问,问就是比 Bash 处理快 (尽管瓶颈还是在网络请求)
除开网络请求,处理 100 个 IP 信息只需要 6ms (包括解析、输出、格式化)支持服务商多: 现已支持 50+ API 服务商查询,涵盖了大部分常用的 APICLI 程序 / 用户界面友好: 有两种输出格式,Json 输出可传递给其他程序继续处理;表格输出 为默认,便于用户阅读;既可作为其他项目依赖,也可直接调用便于拓展: 只要有一点点的编程基础,就可以为本项目贡献各种 API,相关的请往下看可自定义程度高: 支持自定义输出格式 / 列表多平台支持: 由于使用编译型语言,可以简单地实现跨平台支持,不像 Bash 脚本仅 Linux,还需要很多依赖- ... 总之就是很多
相关链接:
- Github Repo: https://github.com/rsbench/IP-Hacker
- TG Channel: https://t.me/rsbench
- TG Chat: https://t.me/rsbench_chat
- Blog: https://c1oudf1are.eu.org/p/hackerip
目前已经支持 56+ 个 API 提供商
- abstractapi.com
- airvpn.org
- apiip.net
- apilayer.com
- apip.cc
- Baidu
- biantailajiao.com
- Bilibili
- Cloudflare
- cz88.net
- dashi.163.com
- db-ip.com
- freeaiapi.com
- groapify.com
- geoplugin.net
- hsselite.com
- httpbin.org
- ip2location.io
- ip125.com
- ip233.cn
- ip234.in
- ip-api.com
- ipcheck.ing
- ipcheck.ing Maxmind
- iplark.com Digital Element
- iplark.com Ip-Api
- iplark.com IpData
- iplark.com IpStack
- iplark.com Maxmind
- iplark.com Moe
- iplark.com Moon
- ip.sb
- ipapi.co
- ipapi.is
- ipbase.com
- ipdata.co
- ipgeolocation.io
- ipinfo.io
- ipip.net
- ipleak.net
- iplocation.net
- ipquery.io
- ipw.cn
- ipwho.is
- ipwhois.app
- itdog.cn
- keycdn.com
- maptiler.com
- meituan.com
- mullvad.net
- myip.la
- myip.wtf
- nameless13.xyz
- qq.com
- realip.cc
- reallyfreegeoip.org
- taobao.com
- vvhan.com
Demo



安装
一键脚本
bash <(wget -qO- -o- https://raw.githubusercontent.com/rsbench/IP-Hacker/refs/heads/main/install.sh)
仅支持 Linux,且特殊发行版有概率不正常
安装到本地的 ./IP-Hacker
Binary 安装
安装非常简单,只需要下载一个 Binary 可执行文件即可:
在 Github Release 下载

关于 Binary 的选择:
Windows x86_64 直接选择 IP-Hacker.exe
Macos 请根据自己的芯片选择:
IP-Hacker-macos-amd64IP-Hacker-macos-arm64
Linux 编译架构众多,基本命名为: IP-Hacker-linux-[ARCH]-[RUNTIME]
架构我就不说了,关键是 Runtime (也就是对应平台特性 / 依赖库)
对于正常发行版 (如 Ubuntu / Debian 新版本),直接选择带有 gnu 后缀的即可
对于不使用 Glibc 的发行版 (如 OpenWrt / Alpine),直接选择带有 musl 后缀的即可
当然,任意发行版均可运行带有 musl 后缀的 Binary
Usage
IP tools used by Russia's big hackers
Usage:
Options:
-a, --all Show All Information
--provider Show Provider Name
--ip Show IP Address
--asn Show ASN
--isp Show ISP Name
--country Show Country
--region Show Region
--city Show City
--coordinates Show Coordinates
--time-zone Show Time Zone
--risk Show Risk Score
--tags Show Risk Tags
--time Show Processing Time
-s, --set-ip <SET_IP> Set IP Address
--cls No CLS
--no-logo No Logo
--no-upload No Upload
--logger Logger Output
--json Json Output
-h, --help Print help
-V, --version Print version
Usage Demo
直接运行
./IP-Hacker

输出所有支持的信息
./IP-Hacker --all

只输出 Provider 与 IP 和 Country
[!TIP] 还有更多的搭配,请自行尝试
./IP-Hacker --provider --ip --country

查询指定 IP
./IP-Hacker --set-ip 11.45.1.4

Json 输出
./IP-Hacker --json | jq

输出过多,仅截取部分
Stars Map
LICENSE
本项目根据 WTFPL 许可证开源
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
Dependencies
~14–33MB
~449K SLoC