Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jywarren/ghost.sh

transfer protocol in/out of JS-based Linux VMs running in your browser; maybe also a mystery/thriller interactive CLI novel
https://github.com/jywarren/ghost.sh

Last synced: about 2 months ago
JSON representation

transfer protocol in/out of JS-based Linux VMs running in your browser; maybe also a mystery/thriller interactive CLI novel

Awesome Lists containing this project

README

        

##Ghosting in JS

* copy the contents of inside.sh to /var/root/ on the js vm
* chmod 777 inside.sh
* run this: 'watch -n 2 /var/root/inside.sh'
* use run() in JS to run shit in the jsvm

###Resurrect

uuencode -m hello.txt hello.b64 > /dev/clipboard

* then run resurrect() in jsvm

it produced...

begin-base64 644 hello.b64
LyogVGhpcyBDIHNvdXJjZSBjYW4gYmUgY29tcGlsZWQgd2l0aDoKCiAgIHRj
YyAtbyBoZWxsbyBoZWxsby5jCgogICBvciBpZiB5b3UgaGF2ZSBtb3JlIHRp
bWU6CgogICBnY2MgLW8gaGVsbG8gaGVsbG8uYyAKKi8KI2luY2x1ZGUgPHN0
ZGxpYi5oPgojaW5jbHVkZSA8c3RkaW8uaD4KCmludCBtYWluKGludCBhcmdj
LCBjaGFyICoqYXJndikKewogICAgcHJpbnRmKCJIZWxsbyBXb3JsZFxuIik7
CiAgICByZXR1cm4gMDsKfQo=
====