通过cmdline(ping/curl/powershell等)向“about:internet”发出web请求

toe95027  于 2023-06-23  发布在  Shell
关注(0)|答案(1)|浏览(111)

所以我们在我们的产品中看到了很多发送到“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

9gm1akwq

9gm1akwq1#

about页面未被域服务解析。相反,它们是浏览器的内置功能。
参考文献:

  1. https://superuser.com/questions/232352/what-are-all-the-about-pages-in-internet-explorer
  2. https://en.wikipedia.org/wiki/About_URI_scheme
    这意味着不可能从CLI发出此类请求。您至少需要浏览器的控制台才能做到这一点。
    我没有成功地使用浏览器控制台做到这一点,虽然。如果您可以找到您看到的产品发送的请求,然后使用这些URL,那么可能值得一试。看看这个Making HTTP Requests using Chrome Developer tools

相关问题