Hey Lobsters :)
bash.rock is my latest side project, a bash interpreter in cloud, it comes with many utilities like curl, Python, ImageMagick, jq, etc. Below are some snippet I created:
Generate random corporate bullshit: https://bash.rocks/w3nEB9
Compress png to webp: https://bash.rocks/YBbaJG
Generate gif with curl, jq and ImageMagick: https://bash.rocks/NBXQ3w
Any suggestions / feedback welcome! :)
A more interesting feature I haven’t fully finished is to turn your random bash snippet into an HTTP web service, like https://bash.rocks/Gxlg31/3/api?url=i.imgur.com/1uYroRF.gif which makes an obvious premium feature in future :p
nice dmesg :)
[Comment removed by author]
Sure, but you could just do that in your regular code, no?
/etc/passwd isn’t very meaningful
that sort of protection doesn’t fix
A=“wd” B=“pass” C=”/etc/” cat “$C$B$A
but also 3. you’re running as root already, and can cat shadow: https://bash.rocks/OJ5oO3
however note that
lastlog
has nobody ever having logged in before.Finally note that jpm1’s dmesg output is obviously a joke output :)
‘noexec’ mountpoints mostly fix this.
it’s running in a cloud container and tmpfs only lives in memory.
so far all requestors of ‘rm -rf /’ are stuck :p
[Comment removed by author]
I love it!
Some feedback:
I put in a 160 line script and it doesn’t scroll on the code editor? only if I use arrow keys.
It’d be really neat if I could create some context, like a few files on the filesystem to work with. Similar to how the html/css/js blocks of codepad work.
Nice project!
Could you provide browser / version? Just played with chrome and it doesn’t show the problem.
That’s a great idea! Would tried to make it in next or future iterations!