Skip to content

Commit

Permalink
Merge pull request #3 from leonardo669/master
Browse files Browse the repository at this point in the history
docs: Documentation only changes
  • Loading branch information
xcaspar authored Jul 23, 2019
2 parents 607b6e3 + 1a7855a commit 07e6af7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ Sh build.sh
The compilation result will be stored in the target directory.


## Deploying
When deploying Chaosblade-exec-cplus, the shell script files under the source’s folders [/src/main/resources/injectionShell] and [/src/main/resources/otherShell] should be deployed on the disk of server separately. Create a new folder in server, put all the shell script files under the new folder, and when you startup chaosblade-exec-cplus jar, you can use the command just like:
```bash
nohup java -jar chaosblade-exec-cplus.jar --server.port=8908 --script.location=/home/admin/cplus/ &
```
the value of parameter "script.location" can be set the location of the new created folder. So that the chaosblade-exec-cplus jar know where to get the script files.


## Restriction
1. If the C++ application doesn’t add '-g' when compiling, Chaosblade-exec-cplus can’t work.
2. If the linux system can’t support yum command to install software, the [GDB], and [expect] software should be manual installed, before use Chaosblade-exec-cplus.


## Contributing
We welcome every contribution, even if it is just a punctuation. See details of [CONTRIBUTING](CONTRIBUTING.md)

Expand Down

0 comments on commit 07e6af7

Please sign in to comment.