From 8d030399de0c8e9461226f966c14cf22efbf37c8 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 22 Jul 2015 01:00:29 +0800 Subject: [PATCH] update --- cowrie/README.md | 8 +++++--- cowrie/docker-compose.yml | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cowrie/README.md b/cowrie/README.md index 63afdb1..c294cd5 100644 --- a/cowrie/README.md +++ b/cowrie/README.md @@ -14,6 +14,7 @@ cowrie: ports: - "2222:2222" volumes: + - dl:/home/cowrie/dl - log:/home/cowrie/log restart: always ``` @@ -22,11 +23,12 @@ cowrie: ``` $ cd ~/fig/cowrie -$ mkdir -p log/tty -$ chmod -R 777 log +$ mkdir -p dl log/tty +$ chmod -R 777 dl log $ tree -F . ├── docker-compose.yml +├── dl/ └── log/ └── tty/ $ docker-compose up -d @@ -39,7 +41,7 @@ $ tail -f log/cowrie.log $ ssh -p 2222 root@server ``` -> You can login as `root` without password. +> You can login as `root` with any password except `root` or `123456`. [1]: https://github.com/micheloosterhof/cowrie [2]: http://github.com/desaster/kippo/ diff --git a/cowrie/docker-compose.yml b/cowrie/docker-compose.yml index f1d65e2..9223f3f 100644 --- a/cowrie/docker-compose.yml +++ b/cowrie/docker-compose.yml @@ -3,5 +3,6 @@ cowrie: ports: - "2222:2222" volumes: + - dl:/home/cowrie/dl - log:/home/cowrie/log restart: always