Skip to content

Latest commit

 

History

History
72 lines (58 loc) · 1.71 KB

CONTRIBUTING.md

File metadata and controls

72 lines (58 loc) · 1.71 KB

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new pull request (PR)

TODO

  • Remote Shell
  • Take Screenshot
  • File Explorer
  • Download File
  • Upload File
  • Delete file
  • Restart
  • Shutdown
  • Persistence (install at startup)
  • Lock screen
  • Open URL
  • Kill process
  • Add Postgres support
  • Client connection using Websocket
  • Clipboard Monitor
  • Live stream from camera
  • Take photos (webcam)
  • Voice recording

Local Development

# Install dependencies
$ sudo apt install golang git -y

# Get this repository
$ git clone https://github.com/tiagorlampert/CHAOS

# Go into the repository
$ cd CHAOS/

# Run
$ PORT=8080 SQLITE_DATABASE=chaos go run cmd/chaos/main.go

Build Docker Image:

docker build \
  --build-arg APP_VERSION=v5.0.0 \
  --tag tiagorlampert/chaos:v5.0.0 \
  --tag tiagorlampert/chaos:latest -f Dockerfile .
            
docker run -it --rm -e PORT=8080 -e SQLITE_DATABASE=chaos -p 8080:8080 tiagorlampert/chaos:latest

docker push tiagorlampert/chaos:latest
docker push tiagorlampert/chaos:v5.0.0

Deploy on heroku (manual deployment)

$ git clone https://github.com/tiagorlampert/CHAOS
$ cd CHAOS/

$ heroku container:login
$ heroku create
$ heroku container:push web
$ heroku container:release web
$ heroku open

# Can be called from a url to test
# https://dashboard.heroku.com/new?button-url=https://github.com/tiagorlampert/CHAOS&template=https://github.com/tiagorlampert/CHAOS/tree/{branch_with_deploy}