Commit Graph

2183 Commits

Author SHA1 Message Date
70f6ef861d update to printf 2017-06-04 10:58:29 +00:00
7c0ab33490 disable redirect examples by defualt 2017-06-04 08:25:55 +00:00
258168be86 fallback if uniq option does not exist 2017-06-04 09:34:23 +04:00
e81fa0284b Report actual path in redir event (#520) 2017-06-03 11:10:12 +04:00
e13286a768 SCP: Handle multiple files upload, hash & report files. (#527)
* Handle multiple files upload, hash & report files.

* Don't crash when uploading a single file without specifying directory
2017-06-03 11:09:37 +04:00
aa1c9679bf Add basic nc command (#528) 2017-06-03 11:08:53 +04:00
3908670ed5 Python: Fixed hang & version printing (#533)
* Fixed version printing in python command

* Fix hang with double-exit
2017-06-03 11:08:09 +04:00
7463a61879 Fixed scp command (#524)
* It doesn't hang anymore
* Cut scp header from saved file
2017-06-02 10:09:09 +04:00
e90c5f9024 Minor fix to INSTALL.md, fixed links (#526) 2017-06-02 10:08:37 +04:00
11f3b900c8 logDispatch is required there! (#518)
* logDispatch is required there!

* Remove redundant log,msg() calls

* logDispatch is required there!

* Remove redundant log,msg() calls

* Remove redundant calls to fs.update/chown. We'll call it later after logDispatch()
2017-05-23 11:45:12 +04:00
6e9f39520f Basic printf (#519)
* Implement "printf" command

* Remove dbg print
2017-05-23 11:44:48 +04:00
03321a8455 ELK logstash sample config update (#516)
* Improvements

* Remove dns section (uses deprecated format)
* Add mutate section to remove useless data from documents

* Fixed indent.

* Bring reverse dns lookup back
2017-05-23 11:43:09 +04:00
196f83ff24 set file ownership of downloaded files 2017-05-23 09:41:35 +04:00
4aa5824e87 add pkill 2017-05-22 22:04:48 +04:00
79f01fc6e2 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2017-05-22 21:55:33 +04:00
d421b409ad update contributing instructions 2017-05-22 21:55:15 +04:00
fd5409d673 Fix tftp download url reporting (#517) 2017-05-22 21:54:06 +04:00
ab217aa102 update readme 2017-05-22 21:52:58 +04:00
03c80acb57 remove extra newline after last command 2017-05-22 21:46:36 +04:00
51d43d542a increase sessiosn size from 8 to 12 characters 2017-05-21 17:55:45 +04:00
4e2f24ffd4 Improve dd command (#515)
* Print error for invalid bs/count
* Use count parameter
2017-05-18 17:05:39 +04:00
1cfbb54241 accept 'count' operand to dd 2017-05-17 17:44:03 +04:00
3636eed903 correct exit handling 2017-05-17 17:18:56 +04:00
07207612d6 initial version of dd command 2017-05-17 16:57:56 +04:00
1158a1a55e now use both cowrie.cfg.dist and cowrie.cfg 2017-05-17 16:28:13 +04:00
978ad31541 prep config file for new system 2017-05-16 22:18:34 +04:00
3ee979e24a bin/cowrie now takes additional arguments 2017-05-16 22:12:29 +04:00
7682586c59 add basic ulimit command 2017-05-09 17:48:40 +04:00
f6330bb431 add IPv6 instruction to config file
remove stop/start
2017-05-09 17:29:58 +04:00
77f629c0bf Add support for cowrie args in start script (#504)
* Add support for args for cowrie.

* Print the extra arguments on start.
2017-05-09 13:41:36 +04:00
aa80ecd491 update help for command 2017-05-08 13:42:47 +04:00
7cceaed1c4 update gitignore 2017-05-08 13:42:05 +04:00
210146c246 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2017-05-08 13:39:05 +04:00
9822e7156c update gitignore with new path of key files 2017-05-04 15:44:40 +00:00
68c4952491 file()->open() for Py3 compatibility 2017-05-04 15:42:40 +00:00
9314a50f37 file->open() for py3 compatibility 2017-05-04 15:41:15 +00:00
ffadcd4be6 remove file() usage for Py3 compatibility 2017-05-04 03:56:51 +00:00
4bb2f37835 Open safeoutfile in binary mode (#502) 2017-05-02 13:53:53 +04:00
22aadd2de8 update ignore with moved files 2017-04-30 12:42:00 +00:00
a52592ce89 update changelog, modify cfg.dist with syntax 2017-04-30 12:40:25 +00:00
5b5545924a Use twisted endpoints for listening on ports/addresses (#499)
* Use twisted endpoints for listening on ports/addresses

* Add examples of endpoints
2017-04-30 16:30:59 +04:00
821c14093d logic around pid file mgmt for status command 2017-04-29 19:26:04 +04:00
5ee61e2d1c update stop command for stale pid 2017-04-20 21:46:22 +04:00
f21ecf6e24 start->stop 2017-04-20 21:31:41 +04:00
dcabed5e6e Added 'socketlog' output plugin for writing to a socket. (#496) 2017-04-13 18:16:22 +04:00
28dfaa3369 Update cowrie (#494)
Calling by default activate_venv forces the use of virtual environments on everyone.
If one does not use virtual environments, the systemd service script will fail giving a reason that has nothing to do with this.

I have noticed this problem when i have replaced the systemd service script to deprecate the use of start/stop scripts.

The use of a conditional statements solves this for me.

While investigating this issue, I have also noticed the folllwing:

1-there are two pid files declared:
PIDFILE in cowrie
PIDFile in service.cowrie

2-if you run "bin/cowrie start" as the cowrie user and then you run "service cowrie stop" as root, the execstop command will not be run (this could be the normal behaviour of systemd though).
2017-04-10 07:39:41 +04:00
cba7b27189 Update cowrie.service (#495) 2017-04-10 07:38:40 +04:00
fe5c003c30 Fix #487 2017-03-21 14:44:51 +00:00
3ca23b67e6 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2017-03-19 18:44:54 +04:00
0d3c752f1e ip field in MySQL may contain hostname (#486)
* Update mysql.sql

IP field may contain hostname

* Create update11.sql
2017-03-18 10:28:49 -07:00