V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  clowwindy  ›  全部回复第 21 页 / 共 111 页
回复总数  2212
1 ... 17  18  19  20  21  22  23  24  25  26 ... 111  
2014 年 8 月 11 日
回复了 matrix32767 创建的主题 问与答 0x000000017.0x0e7.000330.0x000060 这是个什么域名?
读了一下 inet_aton 的源码(https://android.googlesource.com/platform/bionic/+/donut-release/libc/inet/inet_aton.c),好像挺宽松的,发现了一些有趣的玩法:

$ ping 127.1
PING 127.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.077 ms

$ ping "0x08080808 hello world"
PING 0x08080808 hello world (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=45 time=354.877 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=45 time=586.866 ms
1 ... 17  18  19  20  21  22  23  24  25  26 ... 111  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2940 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 08:09 · PVG 16:09 · LAX 01:09 · JFK 04:09
♥ Do have faith in what you're doing.