pefile.js

This project attempts to replicate the functionality of pefile.py in pure javascript for use in NodeJS and the browser. It supports imphash generation and import library parsing currently.

Usage no npm install needed!

<script type="module">
  import pefileJs from 'https://cdn.skypack.dev/pefile.js';
</script>

README

Pefile.js

Introduction

Pure javascript implementation of the pefile.py tool for static analysis of PE Binary files. Still very much a work in progress, and the code is very gruesomely ugly. This really just started as a way to create imphashes in javascript, learning as I go.