Skip to content

Commit

Permalink
Updated to use cowrie v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amerck committed May 10, 2018
1 parent eb2f9c1 commit 4e4229e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion cowrie.run.j2
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ setup_cowrie_conf () {
sed -i "s/listen_endpoints = tcp:2223:interface=0.0.0.0/listen_endpoints = tcp:${telnet_port}:interface=0.0.0.0/g" cowrie.cfg
perl -p -000 -i -e "s/# Enable Telnet support, disabled by default\s+enabled = false/# Enable Telnet support, disabled by default\nenabled = true/g" cowrie.cfg
sed -i "s/version = SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u2/version = SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1.3/g" cowrie.cfg
sed -i "s/#\[output_hpfeeds\]/[output_hpfeeds]/g" cowrie.cfg
perl -p -000 -i -e "s/#\[output_hpfeeds\]\s+#enabled = false/[output_hpfeeds]\nenabled = true/g" cowrie.cfg
sed -i "s/#server = hpfeeds.mysite.org/server = ${server}/g" cowrie.cfg
sed -i "s/#port = 10000/port = ${server_port}/g" cowrie.cfg
sed -i "s/#identifier = abc123/identifier = ${uid}/g" cowrie.cfg
Expand Down
5 changes: 0 additions & 5 deletions cowrie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@
version: "{{ cowrie_version }}"
dest: "{{ cowrie_dir }}"

- name: Cowrie | copy patched requirements.txt file
copy:
src: "requirements.txt"
dest: "{{ cowrie_dir }}/requirements.txt"

- name: Cowrie | update pip
pip:
name: pip
Expand Down
14 changes: 0 additions & 14 deletions requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion vars/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

cowrie_repo: http://github.com/micheloosterhof/cowrie

cowrie_version: v1.2.0
cowrie_version: v1.3.0

cowrie_dir: /opt/cowrie
cowrie_user: cowrie
Expand Down

0 comments on commit 4e4229e

Please sign in to comment.