Commit Graph

2169 Commits

Author SHA1 Message Date
Michel Oosterhof b7a0338f46
fix for bytearray on python2 (#1052) 2019-03-14 11:13:33 +04:00
NunoNovais 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
Mayank Sharma 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
Mehtab Zafar ce6452c204 Disable keyboard-interactive authentication by default with option to enable (#1033) 2019-03-13 07:38:12 +04:00
Running Stream 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
Guilherme Borges 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
NunoNovais 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
NunoNovais 215c77e959 Wc command (#1038)
* wc command
2019-03-12 23:24:11 +04:00
Michel Oosterhof fb24e87d59
update systemd install instructions (#1044) 2019-03-12 23:23:23 +04:00
NunoNovais 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
NunoNovais 1df9bd7bbb fix wget error (sent to client) (#1039) 2019-03-12 15:31:16 +04:00
NunoNovais 36cf59873e crontab command (#1041)
* crontab command
2019-03-12 15:00:45 +04:00
NunoNovais bc67995345 Chpasswd (#1042)
* chpasswd command
2019-03-12 14:59:56 +04:00
Running Stream 5f83f31abb Fix config usage order and root dir (#1034)
* Fix config file order
2019-03-09 13:10:10 +04:00
Michel Oosterhof 3ce157548c change ssh version to [shell] ssh_version 2019-03-07 23:48:51 +04:00
Mehtab Zafar e628cda3a8 Support Vairable SSH version (#1023) 2019-03-07 23:45:24 +04:00
Michel Oosterhof 0af74b9e97
Configurable timezone (#1032)
* configurable time zone for logging
2019-03-07 23:40:58 +04:00
Running Stream 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
Mehtab Zafar 253ed34370 Improve config file reader (#1022) 2019-03-03 08:32:28 +04:00
Michel Oosterhof c5406b8ff9
Systemd docs (#1027)
* systemd docs

* updates
2019-03-03 08:28:45 +04:00
Mehtab Zafar 2f6c6d9a5d Improve README (#1028) 2019-03-03 08:27:31 +04:00
Mehtab Zafar 559395e91f Fix check for the byte value of '!' (#1030) 2019-03-03 08:24:54 +04:00
Mehtab Zafar d8d9a5db55 Remove deprecated functions (#1021) 2019-03-01 01:46:50 +04:00
Michel Oosterhof 8e16db0d24
Release 1.5.3 (#1015) 2019-02-12 11:14:15 +04:00
n3integration 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
Michel Oosterhof e070f96b1f
bytes should be prompt so CTRL-L works (#1014)
Fix #1012
2019-02-06 08:45:44 +04:00
Michel Oosterhof 54a6b135aa
Add Python 3.8-dev to Travis CI (#1013) 2019-02-06 08:37:02 +04:00
Michel Oosterhof 21d9b7f0c2
unset STDOUT default (#1011) 2019-02-05 14:52:12 +04:00
Mehtab Zafar cdd4c182cc Log directly to stdout (#997) 2019-02-01 00:07:30 +04:00
Mehtab Zafar cb37664d80 Fix super() of ftpget for python2 (#1002) 2019-02-01 00:04:34 +04:00
n3integration 0717f27238 [#1004] - support for influxdb connections over tls (#1005)
* [#1004] - support for influxdb connections over tls

* removed blank line from end of file
2019-02-01 00:03:47 +04:00
Michel Oosterhof 73f0db7540
comment fix for flake8 (#1000) 2019-01-27 13:49:48 +04:00
Michel Oosterhof cdc8038529
remove NAWS negotiation to disable NMAP detection (#999) 2019-01-27 12:51:09 +04:00
Mehtab Zafar fece74f44e replace iteritems with items for parsing dict (#994) 2019-01-27 12:49:14 +04:00
Michel Oosterhof 83e78d4a99
fix 'env' command from crashing on py30 (#998) 2019-01-27 12:48:26 +04:00
Mehtab Zafar 1a6b1bc7a5 Encode unicode object before hashing (#993) 2019-01-27 12:29:09 +04:00
Michel Oosterhof b4894c61fa
Duplicates (#995)
* reduce duplicates noise in logs
2019-01-27 12:26:26 +04:00
Michel Oosterhof 22910109c6
Setup (#996)
* set license + long desc
* md->rst
2019-01-27 12:25:40 +04:00
Michel Oosterhof 6168584a29
add docs to indx (#991) 2019-01-20 14:54:19 +04:00
Michel Oosterhof b22c7ba327
Doclink (#990)
* move docs to docs dir and link back
2019-01-20 14:39:37 +04:00
albert-ziegler f80d5bd3d8 Format expression cleanup (#986)
* remove extra brackets

* remove extra argument in format (should be a newline character I assume).
2019-01-18 18:15:57 +04:00
Michel Oosterhof 337ec405b1
update install (#985) 2019-01-15 11:58:17 +04:00
Michel Oosterhof b9821e5c05
update readme with docker instructions (#983) 2019-01-15 11:57:58 +04:00
Michel Oosterhof bdff9601ca
Move to Restructured text (#979)
From Markdown to RestructuredText
2019-01-09 12:05:16 +04:00
Michel Oosterhof 4f26b85569
test case for hex input with echo -e (#974) 2018-12-05 17:59:24 +04:00
noamkov 50b31b409b VT: scan only new files (#968) 2018-12-04 12:01:11 +04:00
Johannes Ullrich 87591ec369 fixed unicode bug (#972) 2018-12-04 12:00:53 +04:00
Michel Oosterhof 2e73ee9fe6
data/ -> etc/ (#971) 2018-11-25 19:00:16 +04:00
Michel Oosterhof bc2338f47f
release 1.5.2 (#969) 2018-11-20 11:53:03 +04:00
Michel Oosterhof 76a7c78913
add tftp test (#965)
* add tftp test

* line length fix
2018-11-19 11:45:14 +04:00