Olivier Bilodeau
b4bf14b43d
Achieved maximum compatibility with nc like clients
...
Will figure out how to make it work with both Telnet and nc later.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
7e027fc8f5
Improve compatibility: No longer send a WILL SGA upon connection
...
These are still attempts at improving things.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
29facd6ffe
Protocol changes to prevent Telnet data to appear before password prompt
...
Not perfect because there is no ECHO when entering Username... A proper
fix will need more testing but I need to gather data now.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
92cc6ee597
Refactoring: MyTelnet gets a proper name
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
670274ad83
Naming fix: HoneyPotTelnetAuthTransport -> HoneyPotTelnetAuthProtocol
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
1dfe826231
Removed debug code that I should have removed earlier
...
If repository wasn't working for you before, backport this patch.
Sorry.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
65ec25497d
Fixed nested CRLF replacements
...
\r\r\n was sent instead of \r\n due to the protocol hiearchy
implementation. Fixed it by subclass TelnetTransport and removing the
extra \r.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
b11db57425
Fixed Telnet feature negotiation
...
- all echo bugs resolved with a Telnet client
- A dump client (like ncat) can still perform authentication and
interact
This last point is important since I'm looking at malware right now
which doesn't understand Telnet special bytes and my previous
implementation was preventing it from reaching an authenticated state.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
640652207d
Basic Telnet support implemented
...
A squash merge of GoSecure/cowrie telnet-poc branch:
https://github.com/GoSecure/cowrie/tree/telnet-poc
Rebased on current upstream master.
August 2016 update: Resolved several conflicts when rebasing
2016-08-22 15:56:53 +04:00
Michel Oosterhof
bae58890f5
Revert configparser to fix https://github.com/micheloosterhof/cowrie/issues/224
2016-08-22 10:47:12 +00:00
Michel Oosterhof
d23d5ce932
updated
2016-08-21 12:43:13 +04:00
Michel Oosterhof
27bf5345ee
send to slack
2016-08-21 12:33:29 +04:00
Michel Oosterhof
28f7906756
only check py3.4 for now
2016-08-20 08:29:43 +00:00
Michel Oosterhof
b9a7e4e8ff
explicit conch req
2016-08-20 08:24:05 +00:00
Michel Oosterhof
645f4fe6e5
add configparser dependency
2016-08-20 08:22:23 +00:00
Michel Oosterhof
6759c759e0
add service_identity to silence warnings, may also need for https output clients
2016-08-20 08:07:53 +00:00
Michel Oosterhof
72e34480b7
update dependencies
2016-08-20 08:07:41 +00:00
Michel Oosterhof
c3a0f42fb2
configparser switch
2016-08-20 08:01:56 +00:00
Michel Oosterhof
9e6c146be6
document py3
2016-08-16 12:46:52 +00:00
Michel Oosterhof
94d414b39e
revert back to trial from nosetests
2016-08-16 12:46:11 +00:00
Michel Oosterhof
d03cf51549
get ready for py3
2016-08-16 12:37:47 +00:00
Michel Oosterhof
63d31aaee5
python3 updates
2016-08-16 12:35:42 +00:00
Michel Oosterhof
4a307e0c38
convert testing framework to python3
2016-08-16 12:15:44 +00:00
Michel Oosterhof
66384911c7
twisted does not support python 3.2
2016-08-16 12:08:56 +00:00
Michel Oosterhof
89fd2fb038
spelling error
2016-08-16 12:04:58 +00:00
Michel Oosterhof
00ccafe53b
specify trusty. precise too old
2016-08-16 11:59:31 +00:00
Michel Oosterhof
319087eced
let's try libmpc
2016-08-16 11:54:00 +00:00
Michel Oosterhof
2a6dfcc0d8
install libgmp-dev
2016-08-16 11:49:20 +00:00
Michel Oosterhof
7849fb9768
get package for library.
2016-08-16 11:44:08 +00:00
Michel Oosterhof
e2418366c9
no more python 2.6
2016-08-16 11:41:27 +00:00
Michel Oosterhof
6f2290ce84
change paths for unittests. get ready for travis
2016-08-16 11:39:32 +00:00
Michel Oosterhof
df042e9398
Merge branch 'master' of https://github.com/micheloosterhof/cowrie
2016-08-14 14:34:50 +04:00
Timothy-Barron
a56101f325
fixed do_chgrp in fsctl so it changes GID instead of UID ( #220 )
...
This bug was probably a result of copied code from do_chown
2016-08-11 13:04:58 +03:00
Michel Oosterhof
37d281ad79
add documentation to systemd entry
2016-07-28 15:17:34 +04:00
Michel Oosterhof
57bb3bc886
put pip reqs in requirements.txt
2016-07-28 15:10:04 +04:00
Michel Oosterhof
4cf4b9b1f4
Fix #206
2016-07-28 14:57:21 +04:00
Michel Oosterhof
ccdc056d50
fix #214
2016-07-28 14:47:30 +04:00
Michel Oosterhof
8ba7faae38
formatting, spelling error
2016-07-23 12:26:30 +00:00
ambuakshay
37b20feb7e
Issue#45.. fix for "." and ".." not appearing on command line ( #212 )
...
* Update filetransfer.py
* Update filetransfer.py
* Update filetransfer.py
2016-07-23 11:20:04 +04:00
Michel Oosterhof
629208e4ad
update reboot/shutdown commands to disconnect
2016-07-21 14:23:36 +04:00
Michel Oosterhof
bdf3073510
remove format when message is added
2016-07-19 19:32:02 +04:00
Michel Oosterhof
7f83e43b2b
update splunk docs
2016-07-19 17:52:29 +04:00
Michel Oosterhof
e2ed1dd1c6
splunk HEC as default output
2016-07-19 17:42:30 +04:00
Michel Oosterhof
adb6731f35
splunk http event collector
2016-07-19 17:38:49 +04:00
Michel Oosterhof
2a3fcee166
updated
2016-07-19 01:02:47 +04:00
Michel Oosterhof
cff52095b5
ignore ESC keycodes
2016-07-14 13:30:57 +04:00
Michel Oosterhof
ae3b9eb04a
ignore ctrl-v
2016-07-14 13:26:13 +04:00
Michel Oosterhof
5ac1ad25cf
fix time based logout
2016-07-14 13:17:41 +04:00
Michel Oosterhof
144f1a80fd
add start at boot-time
2016-07-14 07:41:44 +00:00
Michel Oosterhof
40ac3b19e8
first version of systemd service file
2016-07-14 07:28:14 +00:00