From 2e0b4231ec7d9a36f3917be632a1fc848fa1ea9d Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 13 Jun 2018 14:37:57 -0700 Subject: [PATCH] Removed references to missing PE_Parse module. --- exeHandler.js | 4 ++-- package.json | 2 +- views/default-mobile.handlebars | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exeHandler.js b/exeHandler.js index 551d239c..f45fd16b 100644 --- a/exeHandler.js +++ b/exeHandler.js @@ -37,7 +37,7 @@ module.exports.streamExeWithJavaScript = function (options) { if (!options.js) { throw ('js content not specified'); } // 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 ((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 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 ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') { diff --git a/package.json b/package.json index 23810980..80e064db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.1.8-b", + "version": "0.1.8-d", "keywords": [ "Remote Management", "Intel AMT", diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 61898ac9..25991091 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -286,7 +286,7 @@ -
+