Commit Graph

1314 Commits

Author SHA1 Message Date
Michel Oosterhof
eb8f856a0d typo fix 2016-11-01 21:02:05 +04:00
Michel Oosterhof
b89b87c1f8 contain stdinlog settings in insults.py 2016-11-01 20:48:57 +04:00
fe7ch
2ba1436527 Fix regression when "cat > file" data wasn't hashed at connection lose. (#323)
* Fix regression when "cat > file" data wasn't hashed at connection lose.

* Fix typo in core/protocol.py, revert previous commit for insults.py
2016-11-01 00:07:46 +04:00
Michel Oosterhof
a625dad622 add share/cowrie 2016-10-30 15:14:04 +04:00
Michel Oosterhof
c9c8a0d745 create share/ dir 2016-10-30 15:13:26 +04:00
Michel Oosterhof
3d641e6929 document Mysql dependencies 2016-10-30 10:10:27 +04:00
Michel Oosterhof
88c84e89c0 usage message in function 2016-10-30 10:06:04 +04:00
Michel Oosterhof
321929f408 remove reference to database_mysql 2016-10-28 05:39:08 +00:00
Michel Oosterhof
1f0e9a583f document authbind for telnet 2016-10-28 05:38:43 +00:00
Michel Oosterhof
4668ea73ac Update description 2016-10-27 17:28:16 +04:00
Michel Oosterhof
ba8bf3e552 new script to start/stop 2016-10-27 17:27:29 +04:00
Michel Oosterhof
852a6a0b27 add log message when factory has started 2016-10-27 10:09:34 +04:00
Michel Oosterhof
22db1d01ef rephraes 2016-10-27 04:57:08 +00:00
Michel Oosterhof
8e9f3bafe5 add mounts sample 2016-10-27 04:56:39 +00:00
Michel Oosterhof
704abdfaf1 disable python 3.x testing for now 2016-10-27 04:53:52 +00:00
Michel Oosterhof
69937e3a68 Set default size 80x40 if not negiatioated. Fix #318 2016-10-27 04:49:21 +00:00
Michel Oosterhof
48c9f092e3 Fix #319 2016-10-27 04:44:17 +00:00
Michel Oosterhof
3bd2069f85 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2016-10-25 18:47:39 +00:00
Michel Oosterhof
f2ee269a30 add python2.7-minimal to requirements 2016-10-25 18:47:15 +00:00
Daxda
6289ae5b6f Tiny improvements for the documentation (fixing anchor links) (#317) 2016-10-25 22:43:49 +04:00
Michel Oosterhof
d98239e897 change /proc/mounts from link to normal file 2016-10-25 11:15:16 +00:00
Michel Oosterhof
dea74eb87d Fix #308 2016-10-25 04:57:35 +00:00
Michel Oosterhof
9c74263c83 move PID file to var/run directory 2016-10-24 15:21:32 +04:00
Michel Oosterhof
e3d3891d29 Add etc/ and var/ directory structure for future use 2016-10-24 14:53:43 +04:00
Michel Oosterhof
65e7a01290 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2016-10-23 14:34:53 +00:00
Michel Oosterhof
ec457b18d4 change file() statement to open() 2016-10-23 14:34:32 +00:00
Michel Oosterhof
be4013b1fa improved debugging 2016-10-23 13:12:43 +04:00
Michel Oosterhof
e5c5921f85 change to python-dateutil 2016-10-23 12:37:06 +04:00
Michel Oosterhof
2e87fa099a dateutil needs an extra s 2016-10-23 12:21:47 +04:00
Michel Oosterhof
3feab1611e allow -h switch, fix -v 2016-10-23 03:54:22 +00:00
fe7ch
8c28c8acd6 Replace single character escape with double character escape (#299) 2016-10-21 15:14:42 +04:00
Michel Oosterhof
abef07c810 Revert "Fix #230: jsonlog threading corruption (#283)"
This reverts commit aafef68e39.
2016-10-20 17:58:40 +00:00
Michel Oosterhof
a703e9f3cc Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2016-10-20 17:15:11 +00:00
Michel Oosterhof
3d4f50f004 add dateutil for dshield output 2016-10-19 11:54:55 +04:00
Michel Oosterhof
051cc23546 remove excpetions import 2016-10-18 22:41:12 +04:00
Michel Oosterhof
dc6f26150d remove twisted<11 workaround 2016-10-18 22:33:16 +04:00
Michel Oosterhof
5f0ce75af0 document -p switch 2016-10-18 22:10:31 +04:00
Michel Oosterhof
2ab82ba930 doc fix 2016-10-18 22:10:31 +04:00
Michel Oosterhof
ca6e9a98e7 initalize tac to None 2016-10-18 22:10:31 +04:00
Michel Oosterhof
414569c1ea wip 2016-10-18 22:10:31 +04:00
Michel Oosterhof
d65f7ac7aa move loggers to tac file
move
2016-10-18 22:10:31 +04:00
Michel Oosterhof
45022b7f0e add service_identity to debian package based install 2016-10-18 05:20:04 +00:00
Pedro Worcel
6aeeb72431 Add pycrypto to requirements.txt (#288)
* Add pycrypto to requirements.txt

* Remove crypto dependency.
2016-10-18 09:17:12 +04:00
Michel Oosterhof
8b7fe09f8a Workaround for #287 2016-10-15 15:07:51 +00:00
Sam Edwards
7fec5be3e2 test: Use absolute imports in test_base_commands.
This fixes the tests on Python 3.
2016-10-13 19:07:55 +04:00
Sam Edwards
b5e7d4cc14 fs: Return blank contents for zero-size files lacking a realfile.
This allows reading from files newly created by touch without error.
2016-10-13 19:07:55 +04:00
Sam Edwards
731ec40492 fs: Explore the honeyfs directory for realfile names at init time.
The old method of checking the honeyfs directory whenever a file was
accessed for the first time required that the original path to the file
be known. If the file was renamed, copied, moved to a new directory, or
one of its parent directories was renamed before its first access, its
original path would be completely lost and the real filename would not be
resolved.

This new method ensures that all A_REALFILE attributes are populated
upfront, and the filesystem can be rearranged plenty without breaking
honeyfs.
2016-10-13 19:07:55 +04:00
Sam Edwards
8efaee6f1a fs: Remove realfile() function (which did nothing interesting) and have file_contents call update_realfile directly instead. 2016-10-13 19:07:55 +04:00
Sam Edwards
7f301dfc20 fs: Remove symlink-handling logic from file_contents; that's handled by getfile. 2016-10-13 19:07:55 +04:00
Sam Edwards
6ad3a2ae6b commands: Add > as an alias for touch. Some worms use this as a lazy way to make an empty file. 2016-10-13 19:07:55 +04:00