Commit Graph

3142 Commits

Author SHA1 Message Date
10d1dfde17 Fix log message (#1073) 2019-03-24 16:51:52 +04:00
0e88350ab0 Optim (#1072)
* small updates
* remove spaces from JSON to compress more
2019-03-24 02:23:25 +04:00
93d1c4112d update greynoise (#1071)
* update greynoise
* flake8 fix for reversedns
2019-03-23 22:19:48 +04:00
140c816569 Add output plugin for greynoise (#1065) 2019-03-23 20:18:42 +04:00
d2581ab52e easier way to get reverse ip (#1070) 2019-03-23 20:17:37 +04:00
18df6243ae fallbacks (#1068) 2019-03-23 20:07:31 +04:00
fafe63188a Reverse dns improvements (#1069)
* handle forwarding requests. better error messages.
2019-03-23 19:41:38 +04:00
8071f72b85 Fix byte error (#1067) 2019-03-23 15:09:55 +04:00
bcf20d85db Log direct-tcpip events to database backends (#1049)
* fix #493
2019-03-19 16:44:21 +04:00
2220afbc86 Reversedns (#1064)
* structured logging for PTR logs, bugfix for timeout
2019-03-19 16:38:52 +04:00
32238d39d0 Merge branch 'master' of https://github.com/cowrie/cowrie 2019-03-19 15:37:10 +04:00
bf46431456 Add output plugin for reverse DNS lookup (#1060)
* Add output plugin for reverse DNS lookup
2019-03-19 15:36:56 +04:00
5047fcadc7 Fix tomcat/oracle directory change error (#1063) 2019-03-19 14:24:10 +04:00
75d6d280a9 Merge branch 'master' of https://github.com/cowrie/cowrie 2019-03-19 14:19:50 +04:00
6010a4c0b0 Add automatic authbind detection (#1047) 2019-03-17 21:09:43 +04:00
ab1355edf4 Add FAQs (#1053) 2019-03-17 11:12:28 +04:00
76aded67d1 Merge branch 'master' of https://github.com/cowrie/cowrie 2019-03-17 11:11:32 +04:00
d13dbecaf8 Shellfixes (#1057)
* fix commands with pipes
* This environ vars belong to shell local scope (set) not to Global scope (env)
make a copy of environ so it can be used distinctly (ie, set and env)
* set command
2019-03-17 11:10:10 +04:00
4e3e1313c0 open 2223 by default. remote superfluous bin/cowrie editing (#1059) 2019-03-15 21:00:02 +04:00
b89c243ff0 pip requirements for development (#1058) 2019-03-15 20:59:36 +04:00
wes
ed3ba94c98 fixes #676 (#1054) 2019-03-15 20:59:06 +04:00
6f49f3874b Add test for ftpget (#1056) 2019-03-15 20:56:47 +04:00
58199d27e6 print newline after ssh -V when reading from config file 2019-03-15 14:40:14 +04:00
b7a0338f46 fix for bytearray on python2 (#1052) 2019-03-14 11:13:33 +04:00
c16c416529 mimic enhancements (#1050)
* mimic enhancements
fix decode for environ variables
proper order for window coords
add environ variables for window line and cols
fix ps display wide to use environ or fallback to 80
2019-03-14 10:15:30 +04:00
ca45ef8d07 Expose SSH key exchange parameters in config file (#1051)
* Added support for getting encryption, compression, and hash methods from
config file
2019-03-14 10:14:15 +04:00
ce6452c204 Disable keyboard-interactive authentication by default with option to enable (#1033) 2019-03-13 07:38:12 +04:00
3d4efad3ec Fix sendall problem with Python3 (#1037)
In python3, messages must be "bytes" to send them, not str.  ".encode()" encodes these strings so they're sent.  In Python2 ".encode()" returns another string, and there things must be "str" to send - so this will not immediately break Python2.

I was a little worried about strange edge cases - things like unicode or non-ascii characters getting to ".encode()", which would then error out.  However - the message going to ".encode()" comes from json.dumps, which _by default_ escapes all non-ascii characters.  We should be good.
2019-03-12 23:38:21 +04:00
03cba74b75 Create home dir for users not in /etc/passwd (#1043)
* add home folders for non-pwd users
2019-03-12 23:29:11 +04:00
07c4d5f849 Overload ReceiveError from Twisted to correctly format log (#1040)
* Overload ReceiveError from Twisted to remove newline from log message
2019-03-12 23:26:20 +04:00
215c77e959 Wc command (#1038)
* wc command
2019-03-12 23:24:11 +04:00
fb24e87d59 update systemd install instructions (#1044) 2019-03-12 23:23:23 +04:00
aaa15a454a remove extra folder created in wget fix pull (#1045)
* fix wget error (sent to client)

* remove extra folder from last pull, Sorry
2019-03-12 23:22:55 +04:00
1df9bd7bbb fix wget error (sent to client) (#1039) 2019-03-12 15:31:16 +04:00
36cf59873e crontab command (#1041)
* crontab command
2019-03-12 15:00:45 +04:00
bc67995345 Chpasswd (#1042)
* chpasswd command
2019-03-12 14:59:56 +04:00
5f83f31abb Fix config usage order and root dir (#1034)
* Fix config file order
2019-03-09 13:10:10 +04:00
3ce157548c change ssh version to [shell] ssh_version 2019-03-07 23:48:51 +04:00
e628cda3a8 Support Vairable SSH version (#1023) 2019-03-07 23:45:24 +04:00
0af74b9e97 Configurable timezone (#1032)
* configurable time zone for logging
2019-03-07 23:40:58 +04:00
ac070d7870 Use all found config files (#1031)
* Use all found config files

Currently - only the first config file found gets used.  Intended usage is to use cowrie.cfg to override settings in cowrie.cfg.dist.  This patch causes both to be used.
2019-03-04 08:49:04 +04:00
253ed34370 Improve config file reader (#1022) 2019-03-03 08:32:28 +04:00
c5406b8ff9 Systemd docs (#1027)
* systemd docs

* updates
2019-03-03 08:28:45 +04:00
2f6c6d9a5d Improve README (#1028) 2019-03-03 08:27:31 +04:00
559395e91f Fix check for the byte value of '!' (#1030) 2019-03-03 08:24:54 +04:00
d8d9a5db55 Remove deprecated functions (#1021) 2019-03-01 01:46:50 +04:00
8e16db0d24 Release 1.5.3 (#1015) 1.5.3 2019-02-12 11:14:15 +04:00
002e333860 [#1009] - correct fs error message and provide pickle fs encoding (#1010)
* [#1009] - correct fs error message and provide pickle fs encoding
2019-02-11 00:20:15 +04:00
e070f96b1f bytes should be prompt so CTRL-L works (#1014)
Fix #1012
2019-02-06 08:45:44 +04:00
54a6b135aa Add Python 3.8-dev to Travis CI (#1013) 2019-02-06 08:37:02 +04:00