Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

portable-executable-signature

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

portable-executable-signature - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

lib/checksum.js

@@ -6,5 +6,5 @@ "use strict";

});
exports.checksumCreate = checksumCreate;
exports.checksumGet = checksumGet;
exports.checksumSet = checksumSet;
exports.checksumCreate = checksumCreate;
exports.checksumUpdate = checksumUpdate;

@@ -82,2 +82,7 @@

const limit = 0x100000000;
/**
* Update checksum.
*
* @param dword Next DWORD.
*/

@@ -84,0 +89,0 @@ const update = dword => {

@@ -11,2 +11,3 @@ "use strict";

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _meta[key]) return;
Object.defineProperty(exports, key, {

@@ -24,2 +25,3 @@ enumerable: true,

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _types[key]) return;
Object.defineProperty(exports, key, {

@@ -37,2 +39,3 @@ enumerable: true,

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _util[key]) return;
Object.defineProperty(exports, key, {

@@ -50,2 +53,3 @@ enumerable: true,

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _checksum[key]) return;
Object.defineProperty(exports, key, {

@@ -63,2 +67,3 @@ enumerable: true,

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _signature[key]) return;
Object.defineProperty(exports, key, {

@@ -65,0 +70,0 @@ enumerable: true,

2

lib/meta.js

@@ -10,4 +10,4 @@ "use strict";

exports.NAME = NAME;
const VERSION = "1.1.0";
const VERSION = "1.1.1";
exports.VERSION = VERSION;
//# sourceMappingURL=meta.js.map

@@ -101,3 +101,3 @@ "use strict";

switch (magic) {
case 0x10B:
case 0x10b:
{

@@ -108,3 +108,3 @@ bits = 32;

case 0x20B:
case 0x20b:
{

@@ -111,0 +111,0 @@ bits = 64;

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
//# sourceMappingURL=types.js.map

@@ -6,4 +6,4 @@ "use strict";

});
exports.dataAsDataView = dataAsDataView;
exports.dataAsDataViewReadonly = dataAsDataViewReadonly;
exports.dataAsDataView = dataAsDataView;

@@ -10,0 +10,0 @@ /**

{
"name": "portable-executable-signature",
"description": "Package for reading and writing PE code signatures",
"version": "1.1.0",
"version": "1.1.1",
"keywords": [

@@ -35,3 +35,3 @@ "portable-executable",

"engines": {
"node": ">=10.0.0"
"node": ">=10.13.0"
},

@@ -41,6 +41,16 @@ "scripts": {

"lint": "gulp lint",
"format": "gulp format",
"formatted": "gulp formatted",
"build:cjs": "gulp build:cjs",
"build:esm": "gulp build:esm",
"build": "gulp build",
"test:cjs": "gulp test:cjs",
"test:esm": "gulp test:esm",
"test": "gulp test",
"all:cjs": "gulp all:cjs",
"all:esm": "gulp all:esm",
"all": "gulp all",
"watch": "nodemon --exec 'gulp watched'",
"watch:cjs": "gulp watch:cjs",
"watch:esm": "gulp watch:esm",
"watch": "gulp watch",
"prepack": "gulp prepack"

@@ -51,36 +61,40 @@ },

"author": "Alexander O'Mara",
"copyright": "Copyright (c) 2019-2020 Alexander O'Mara",
"copyright": "Copyright (c) 2019-2022 Alexander O'Mara",
"license": "MPL-2.0",
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.10.5",
"@types/jasmine": "^3.5.11",
"@types/node": "^14.0.26",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"babel-plugin-esm-resolver": "^2.1.0",
"del": "^5.1.0",
"eslint": "^7.5.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsdoc": "^30.0.3",
"execa": "^4.0.3",
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/register": "^7.18.6",
"@types/gulp": "^4.0.9",
"@types/gulp-babel": "^6.1.30",
"@types/gulp-filter": "^3.0.34",
"@types/gulp-insert": "^0.5.8",
"@types/gulp-rename": "^2.0.1",
"@types/gulp-sourcemaps": "0.0.35",
"@types/jasmine": "^3.10.6",
"@types/node": "^18.0.3",
"@types/source-map-support": "^0.5.4",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"babel-plugin-esm-resolver": "^2.3.0",
"del": "^6.1.1",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.3",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-filter": "^6.0.0",
"gulp-filter": "^7.0.0",
"gulp-insert": "^0.5.0",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.0.0",
"gulp-sourcemaps": "^2.6.5",
"jasmine": "^3.6.1",
"jasmine-core": "^3.6.0",
"jasmine-spec-reporter": "^5.0.2",
"nodemon": "^2.0.4",
"source-map-support": "^0.5.19",
"typescript": "^3.9.7"
},
"dependencies": {}
"gulp-replace": "^1.1.3",
"gulp-sourcemaps": "^3.0.0",
"jasmine": "^3.99.0",
"jasmine-core": "^3.99.1",
"jasmine-spec-reporter": "^7.0.0",
"prettier": "^2.7.1",
"source-map-support": "^0.5.21",
"typescript": "^4.7.4"
}
}

@@ -1,4 +0,4 @@

# portable-executable-signature
# Portable Executable Signature
Package for reading and writing PE code signatures
Package for reading and writing PE code signatures (but not creating them)

@@ -8,16 +8,13 @@ [![npm](https://img.shields.io/npm/v/portable-executable-signature.svg)](https://npmjs.com/package/portable-executable-signature)

[![dependencies](https://david-dm.org/AlexanderOMara/portable-executable-signature.svg)](https://david-dm.org/AlexanderOMara/portable-executable-signature)
[![size](https://packagephobia.now.sh/badge?p=portable-executable-signature)](https://packagephobia.now.sh/result?p=portable-executable-signature)
[![downloads](https://img.shields.io/npm/dm/portable-executable-signature.svg)](https://npmcharts.com/compare/portable-executable-signature?minimal=true)
[![travis-ci](https://travis-ci.org/AlexanderOMara/portable-executable-signature.svg?branch=master)](https://travis-ci.org/AlexanderOMara/portable-executable-signature)
[![Build Status](https://github.com/AlexanderOMara/portable-executable-signature/workflows/main/badge.svg?branch=master)](https://github.com/AlexanderOMara/portable-executable-signature/actions?query=workflow%3Amain+branch%3Amaster)
# Overview
A broken code signature is worse than no signature, so it can be desirable to remove a signature.
A broken code signature is often worse than no signature, so it can be desirable to remove a signature.
This package can remove code signatures from PE binaries.
# Usage

@@ -29,6 +26,3 @@

import fs from 'fs';
import {
signatureGet,
signatureSet
} from 'portable-executable-signature';
import {signatureGet, signatureSet} from 'portable-executable-signature';

@@ -43,3 +37,2 @@ const data = fs.readFileSync('pe-binary.exe');

# Bugs

@@ -49,6 +42,5 @@

# License
Copyright (c) 2019-2020 Alexander O'Mara
Copyright (c) 2019-2022 Alexander O'Mara

@@ -55,0 +47,0 @@ Licensed under the Mozilla Public License, v. 2.0.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc