G
G
Goshil2017-01-19 19:43:27
Browsers
Goshil, 2017-01-19 19:43:27

How to get raw socket data through modern browsers (their dev API)?

Greetings! Do modern browsers have the ability to intercept network packets in the API? Roughly speaking, can I write an extension for chrome or firefox that will work like a simple analogue of Wireshark? I need to receive multicast UDP data from a piece of iron in its format and then decrypt them using a known algorithm.
If it's possible, then a sample code, please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Goshil, 2017-01-26
@Goshil

Answering my own question (I was looking for the most unified cross-platform solution for raw socket programming):
Both solutions turned out to be from (drumroll) google! (Who would doubt that).
The first programming language is Go, aka Golang. Not a complicated syntax, it compiles into a binary, a bunch of modules from the manufacturer and third-party. High execution speed. In general, a promising language, I think python programmers have something to look at.
The second solution is even more universal - the Dart programming language. Google rolled out this vader to replace javascript. Already, for development, it is proposed to download a browser with a built-in Dart virtual machine. The syntax is also light and easy, there are modules for low-level work with system hardware.
Again, since Google is big and powerful, like everything Russian (Hi, Seryozha Brin!), It is likely that all these sprouts will soon (if not already) be trees.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question