A tool for detecting and debundling JavaScript module bundlers (such as webpack, browserify).
git clone https://github.com/seclab-msu/page-disassembler
npm install
npm install page-disassembler
You can run debundler either using cli or by using its' API from your code
For running debundler on tar
archive that contains a bunch of all resources from web-page
node bin.js /path/to/page/archive.tar
If you want to debundle a single JavaScript file use
node bin.js --debundle-file /path/to/file/with/bundle.js
By default debundled modules will be dumped to results
directory, if you want to specify its' name, you can do it via
node bin.js /path/to/page/archive.tar --target-dir custom-dir
Coming soon...