Re:GWSL: Run graphical Linux apps in WSL
by gruez on Thursday December 17, 2020 @09:10AM
(#25455684)
The main impediment is that http request won't look anything like the x window requests, so the x server would likely reject it.
[ Parent
| on HN ]
Re:GWSL: Run graphical Linux apps in WSL
by presumably on Thursday December 17, 2020 @10:11AM
(#25456233)
There are actually several (published and non-published) ways to exploit that type of configuration, here is one example:
Re:GWSL: Run graphical Linux apps in WSL
by gruez on Thursday December 17, 2020 @10:39AM
(#25456516)
If you're talking about the general concept of using js to spoof another protocol: that exploit involves middleboxes sniffing TCP connections at the packet level, rather than at connection/stream level. It certainly won't work for connections with a TCP server.
If you're talking about using that exploit to allow access to the victim's machine from the internet: that won't work because listening interface for the x11 server is localhost, not the LAN interface.