Coding: linux shell exec using php

in coding •  last year  (edited)

The server is runing with the system called: Debian.

I have made a page of website, it can be exec a shell command which like a terminal app.

demo_sx_terminal.PNG

The image has showen the result after I exec, but now there are some problems:
About the command which required admin for example if I run a upgrade command? etc and should I save the output result to the database?

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you, friend!
I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
image.png
please click it!
image.png
(Go to https://steemit.com/~witnesses and type fbslo at the bottom of the page)

The weight is reduced because of the lack of Voting Power. If you vote for me as a witness, you can get my little vote.