Ylianst / MeshCommander

MeshCommander is a Intel(R) Active Management Technology (Intel(R) AMT) remote management tool. It's feature rich and includes a built-in remote desktop viewer for Hardware-KVM, a Serial-over-LAN terminal, IDER-Redirection support and much more. MeshCommander is built on web technologies and runs on many plaforms. In addition to being available as a stand-alone tool, MeshCommander was built to be very space efficient to that it can be uploaded into Intel AMT flash space to have it served diretly from the Intel AMT web serve.
Apache License 2.0
370 stars 80 forks source link

Fix MeshCentral redir and undefined exception #30

Closed jsastriawan closed 4 years ago

jsastriawan commented 4 years ago

When redirection traffic is relayed over MeshCentral, the stream is binary string. The required format for processing is Buffer. In order to solve this issue, the data need to be converted to Buffer if the incoming type is detected as binary string.

Also fixed an issue where MeshCommander checks amtsysstate for opt-in whereas initial WSMAN pull has not been done. This caused exception. So, extra check is added on amtsysstate before accessing amtsysstate['xxxx'].

Ylianst commented 4 years ago

Excellent! Thanks.

Ylianst commented 4 years ago

I just updated MeshCommander v0.8.8 with your fixes.