Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustavz/streamlit_terminal
Security Warning: This app allows execution of arbitrary commands which can be used to compromise your system
https://github.com/gustavz/streamlit_terminal
insecure streamlit terminal
Last synced: 25 days ago
JSON representation
Security Warning: This app allows execution of arbitrary commands which can be used to compromise your system
- Host: GitHub
- URL: https://github.com/gustavz/streamlit_terminal
- Owner: gustavz
- License: mit
- Created: 2023-11-02T16:44:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-02T23:31:31.000Z (over 1 year ago)
- Last Synced: 2024-11-19T18:26:05.898Z (3 months ago)
- Topics: insecure, streamlit, terminal
- Language: Python
- Homepage: https://insecure-terminal.streamlit.app/
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Insecure Streamlit Terminal
> ⚠️ Security Warning: This app allows execution of arbitrary commands which can be used to compromise your system.
Never run this in a production environment or on a system with sensitive data.
Always use within a secure, controlled environment and only with trusted users.
This is a hosted terminal with internet access. The possibilties are endless. Use with caution.## Getting Started
1. Build image: `docker build -t streamlit_terminal .`
2. Run container: `docker run -p 80:80 streamlit_terminal`
3. Check if app works: http://0.0.0.0/
4. Export the app: `docker save streamlit_terminal > streamlit_terminal.tar`
5. Deploy to any server and explore the possibilties## A little help to understand the potential
This unrestricted terminal let's you do whatever you want.
For example, you can use it to rewrite the app while it's running.
Try starting with these two simple commands and let your imagination take off from there:
```
echo "app = st.text_area('Modify the running app', open('app.py').read(), height=500)" >> app.py
echo "open('app.py', 'w').write(app)" >> app.py
```