-
Update
lib.rswith username, password and payload (base64 encoded) -
Run
wasm-pack build --target no-modules --releaseto compile the library -
Update the built
/pkg/*.jsfile to replace the__wbg_initfunction with the code fromnew_init.js -
Replace the
const base64Wasm = "{{BASE64_ENCODED_WASM}}";in the new init function with the Base64 encoded/pkg/*.wasmfile (you can usebase64 -w 0 *.wasm > base64wasm.txtto get the Base64 encoded string) -
Place the entire updated JavaScript code at the top of the
<script>in thetemplate.htmlfile -
Serve the
template.htmland try it out!
-
Notifications
You must be signed in to change notification settings - Fork 1
nettitude/wasm-smuggler
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published