Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
portable-executable-signature
Advanced tools
Package for reading and writing PE code signatures
A broken code signature is worse than no signature, so it can be desirable to remove a signature.
This package can remove code signatures from PE binaries.
Just pass an ArrayBuffer
or an object that is a view of an ArrayBuffer
to the signatureGet
and signatureSet
functions.
import fs from 'fs';
import {
signatureGet,
signatureSet
} from 'portable-executable-signature';
const data = fs.readFileSync('pe-binary.exe');
const signature = signatureGet(data);
console.log('signature:', signature);
const unsigned = signatureSet(data, null);
console.log('unsigned:', unsigned);
fs.writeFileSync('pe-binary-unsigned.exe', Buffer.from(unsigned));
If you find a bug or have compatibility issues, please open a ticket under issues section for this repository.
Copyright (c) 2019 Alexander O'Mara
Licensed under the Mozilla Public License, v. 2.0.
If this license does not work for you, feel free to contact me.
FAQs
Package for reading and writing PE code signatures (but not creating them)
We found that portable-executable-signature demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.