所以我们在我们的产品中看到了很多发送到“about:internet”的web请求,但不知道它们是如何生成的
我在hosts
文件中将合法IP地址Map到about:internet
,但ping about:internet
似乎不起作用。
C:\Users\admin>ping about:internet
Ping request could not find host about:internet. Please check the name and try again.
但如果我直接ping IP地址,效果很好
C:\Users\admin>ping 100.705.033.940
Pinging 100.705.033.940 with 32 bytes of data:
Reply from 100.705.033.940: bytes=32 time=2ms TTL=128
Reply from 100.705.033.940: bytes=32 time<1ms TTL=128
Reply from 100.705.033.940: bytes=32 time<1ms TTL=128
Reply from 100.705.033.940: bytes=32 time<1ms TTL=128
Ping statistics for 100.705.033.940:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 2ms, Average = 0ms
希望有人会知道如何发送一个Web请求[通过cmdline]到about:internet
。TIA
1条答案
按热度按时间9gm1akwq1#
about
页面未被域服务解析。相反,它们是浏览器的内置功能。参考文献:
这意味着不可能从CLI发出此类请求。您至少需要浏览器的控制台才能做到这一点。
我没有成功地使用浏览器控制台做到这一点,虽然。如果您可以找到您看到的产品发送的请求,然后使用这些URL,那么可能值得一试。看看这个Making HTTP Requests using Chrome Developer tools。