Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
Update README.md (#85)
Browse files Browse the repository at this point in the history
* Update README.md

Added documentation regarding password for cast-sh.

* Apply suggestions from code review

better usage documentation

Co-Authored-By: Charles Reid <[email protected]>
  • Loading branch information
2 people authored and 0xHericles committed Dec 6, 2019
1 parent 986f648 commit 11c4e7c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ To start the terminal cast application, run:
```
python3 -m cast
```


#### Arguments
```
optional arguments:
Expand All @@ -45,7 +47,19 @@ optional arguments:
--command COMMAND Command to run in the terminal (default: bash)
--cmd-args CMD_ARGS arguments to pass to command (i.e. --cmd-args='arg1
arg2 --flag') (default: )
--password PASSWORD set a password for accessing cast-sh
sessions (default: admin)
```
#### A password can be set using an environment variable as well.
Unix
```
export PASSWORD="weakpassword"
```
Windows
```
set PASSWORD="weakpassword"
```

#### Docker
Build image
```
Expand Down

0 comments on commit 11c4e7c

Please sign in to comment.