MCPcopy
hub / github.com/tiagorlampert/CHAOS

github.com/tiagorlampert/CHAOS @v5.0.3 sqlite

repository ↗ · DeepWiki ↗ · release v5.0.3 ↗
1,026 symbols 2,912 edges 118 files 105 documented · 10%
README

CHAOS logo

CHAOS: Remote Administration Tool

CHAOS is a free and open-source Remote Administration Tool that allow generate binaries to control remote operating systems.

Report bug · Request feature · Quick start · Screenshots

Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. YOU MAY USE THIS SOFTWARE AT YOUR OWN RISK. THE USE IS COMPLETE RESPONSIBILITY OF THE END-USER. THE DEVELOPERS ASSUME NO LIABILITY AND ARE NOT RESPONSIBLE FOR ANY MISUSE OR DAMAGE CAUSED BY THIS PROGRAM.

Table of contents

Features

Feature
Reverse Shell X X
Download File X X
Upload File X X
Delete File X X
Screenshot X X
File Explorer X X
Get OS Info X X
Run Hidden X
Restart X X
Shutdown X X
Lock screen X
Sign out X
Open Url X X

Quick start

Some install options are available:

1. Local Development

See more:

# 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

2. Docker

See more:

Linux

# Create a shared directory between the host and container
$ mkdir ~/chaos-container

$ docker run -it -v ~/chaos-container:/database/ -v ~/chaos-container:/temp/ \
  -e PORT=8080 -e SQLITE_DATABASE=chaos -p 8080:8080 tiagorlampert/chaos:latest

Windows

# Create a shared directory between the host and container
$ md c:\chaos-container

$ docker run -it -v c:/chaos-container:/database/ -v c:/chaos-container:/temp/ -e PORT=8080 -e SQLITE_DATABASE=chaos -p 8080:8080 tiagorlampert/chaos:latest

3. Deploy on heroku

Try it now on Heroku with a single click:

Deploy to Heroku

After running go to http://localhost:8080 and login with the default username: admin and password: admin and change the password.

Databases

To connect in a supported database you should set some required environment variables:

  • SQLite:
  • SQLITE_DATABASE = chaos

  • PostgreSQL:

  • POSTGRES_DATABASE = chaos
  • POSTGRES_HOST = localhost
  • POSTGRES_PASSWORD = postgres
  • POSTGRES_PORT = 5432
  • POSTGRES_USER = postgres
  • POSTGRES_SSL_MODE = disable/require //optional

Screenshots

generate

devices

shell

explorer

Contributing

See our contributing guide at CONTRIBUTING.md.

Donate

If you enjoyed this project, give me a cup of coffee. :)

Donate

Copyright and license

The MIT License

Copyright (c) 2017, Tiago Rodrigo Lampert

Extension points exported contracts — how you extend this code

Terminal (Interface)
(no doc) [3 implementers]
client/app/services/services.go
Service (Interface)
(no doc)
services/client/client.go
Service (Interface)
(no doc)
services/auth/auth.go
Service (Interface)
(no doc)
services/user/user.go
Service (Interface)
(no doc)
services/url/url.go
Service (Interface)
(no doc)
services/device/device.go
Repository (Interface)
(no doc)
repositories/auth/auth.go
Repository (Interface)
(no doc)
repositories/user/user.go

Core symbols most depended-on inside this repo

isFunction
called by 40
web/static/js/jquery-3.5.1.js
jQuery
called by 39
web/static/js/jquery-3.5.1.js
_fnCallbackFire
called by 25
web/static/js/datatables/jquery.dataTables.js
callback
called by 22
web/static/js/datatables/jquery.dataTables.js
_fnStringToCss
called by 21
web/static/js/datatables/jquery.dataTables.js
_extends
called by 20
web/static/js/bootstrap.js
param
called by 15
web/static/js/datatables/jquery.dataTables.js
getAll
called by 14
web/static/js/jquery-3.5.1.js

Shape

Function 821
Method 127
Struct 58
Interface 18
TypeAlias 2

Languages

TypeScript71%
Go29%

Modules by API surface

web/static/js/datatables/jquery.dataTables.js156 symbols
web/static/js/sweetalert2.min.js138 symbols
web/static/js/datatables/datatables.min.js128 symbols
web/static/js/jquery-3.5.1.js112 symbols
web/static/js/jquery-3.5.1.slim.min.js72 symbols
web/static/js/popper.min.js53 symbols
web/static/js/bootstrap.js29 symbols
client/app/services/services.go22 symbols
presentation/http/handler.go19 symbols
services/client/client_service.go17 symbols
services/client/client.go12 symbols
web/static/js/bootstrap.min.js11 symbols

Dependencies from manifests, versioned

github.com/BurntSushi/xgbv0.0.0-2020032412594 · 1×
github.com/bytedance/sonicv1.11.6 · 1×
github.com/bytedance/sonic/loaderv0.1.1 · 1×
github.com/cloudwego/base64xv0.1.4 · 1×
github.com/cloudwego/iasmv0.2.0 · 1×
github.com/gabriel-vasile/mimetypev1.4.3 · 1×
github.com/gen2brain/shmv0.0.0-2020022817093 · 1×
github.com/gin-contrib/multitemplatev1.0.1 · 1×
github.com/gin-contrib/ssev0.1.0 · 1×
github.com/go-playground/localesv0.14.1 · 1×

For agents

$ claude mcp add CHAOS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact