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