mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-22 21:31:35 +03:00
Removed references to missing PE_Parse module.
This commit is contained in:
parent
91858e0f64
commit
2e0b4231ec
@ -37,7 +37,7 @@ module.exports.streamExeWithJavaScript = function (options) {
|
|||||||
if (!options.js) { throw ('js content not specified'); }
|
if (!options.js) { throw ('js content not specified'); }
|
||||||
|
|
||||||
// If a Windows binary, parse it if not already parsed
|
// If a Windows binary, parse it if not already parsed
|
||||||
if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = require('PE_Parser')(options.sourcePath); }
|
if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = module.exports.parseWindowsExecutable(options.sourceFileName); }
|
||||||
|
|
||||||
// If unsigned Windows or Linux, we merge at the end with the GUID and no padding.
|
// If unsigned Windows or Linux, we merge at the end with the GUID and no padding.
|
||||||
if ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') {
|
if ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') {
|
||||||
@ -79,7 +79,7 @@ module.exports.streamExeWithMeshPolicy = function (options) {
|
|||||||
if (!options.msh) { throw ('msh content not specified'); }
|
if (!options.msh) { throw ('msh content not specified'); }
|
||||||
|
|
||||||
// If a Windows binary, parse it if not already parsed
|
// If a Windows binary, parse it if not already parsed
|
||||||
if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = require('PE_Parser')(options.sourcePath); }
|
if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = module.exports.parseWindowsExecutable(options.sourceFileName); }
|
||||||
|
|
||||||
// If unsigned Windows or Linux, we merge at the end with the GUID and no padding.
|
// If unsigned Windows or Linux, we merge at the end with the GUID and no padding.
|
||||||
if ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') {
|
if ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.1.8-b",
|
"version": "0.1.8-d",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
@ -286,7 +286,7 @@
|
|||||||
<option value=6>Descend by date</option>
|
<option value=6>Descend by date</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div id=p13currentpath style="height:18px;overflow:hidden;padding-left:4px;padding-top:2px"></div>
|
<div id=p13currentpath style="white-space:nowrap;overflow:hidden;padding-left:4px;padding-top:2px;max-width:100px"></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user