-1

Is there any way to read a routing table in javascript? Using webrtc I can retrieve local IPs, but what with routing table? Is there something that I can use?

Yuri
  • 1,708
  • 2
  • 23
  • 24
user3025978
  • 457
  • 2
  • 7
  • 27

1 Answers1

0

No, you can't retrieve the routing table in a web browser (even with WebRTC).

However, in NodeJs (still JS), you can for instance execute some shell code ( netstat -rn ) like here.

Antonin M.
  • 1,624
  • 1
  • 18
  • 29