Skip to content

Liberate yourself from the microcorruption website

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

kitlith/microcorruption-dumper

Repository files navigation

Microcorruption Level Dumper

Liberate yourself from the microcorruption website

Usage

You'll need a userscript manager to use this. This userscript was tested with Violentmonkey. Grab the userscript from jsDelivr.

To dump a microcorruption level, type dump in the on-page debugger. This script will perform a memory dump and parse the page for symbols, providing an ELF file suitable for viewing in Ghidra for download.

Additionally, the dumpbin command just performs a memory dump and downloads it, for use with tools like msp430-emu-uctf that don't support the elf file format.

Hacking

Build the wasm component with:

wasm-pack build -t no-modules

To ease development, you may want to run a local web server hosting the pkg directory. A sample node.js server has been included as serve.js.

The wasm component is written in Rust, and handles the generation of the ELF file from the information gathered by the userscript driver located at pkg/mcorrupt.user.js.

About

Liberate yourself from the microcorruption website

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Packages

No packages published