how can I run a bash/shell script on a web page
how can I run a bash/shell script on a web page?
Voters
Coder100
You can't do that securely, but you could make a post request to a server you set up to execute it.
MrVoo
Why would you want to do that?
CodingEpic
@MrVoo Because you can run chrome with bash using sandboxes
you could take a look at something like this.
@Highwayman Cool! I checked it out! But I still dont understand it could you help me? (I am trying to run this bash code on a web page: ---chromium-browser --no-sandbox https://google.com
are...you trying to just make a vpn type thing? There are much easier ways of connecting to a Repl than what I just gave you. @CodingEpic
@Highwayman Jus wanna bypass school systems
yeah, instead of doing that, there's a way to access the screen that's brought up by that in the Repl docs: https://docs.replit.com/hosting/streaming-native-graphics-vnc
Just stick the command in a normal bash Repl and then connect using NoVNC as it says in those docs and that'll probably work like you want.
@CodingEpic