Commit Graph

1304 Commits

Author SHA1 Message Date
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
Sam Edwards
b38010b01c busybox: Restructure the whole control flow for simplicity. 2016-10-13 19:07:55 +04:00
Sam Edwards
bffb2e31b7 busybox: Mimic correct "not found" behavior for invalid commands. 2016-10-13 19:07:55 +04:00
Derek Abdine
aafef68e39 Fix #230: jsonlog threading corruption (#283) 2016-10-10 16:21:40 +04:00
Michel Oosterhof
05283b60c3 Fix #226 2016-10-09 06:54:53 +00:00
Michel Oosterhof
7f8e98cc51 formatting for errors 2016-10-08 18:36:29 +00:00
Michel Oosterhof
54f3ca8378 no arg fix for sudo 2016-10-08 18:06:03 +00:00
Michel Oosterhof
5fe9e489db fix for busybox with no arguments 2016-10-08 18:00:52 +00:00
Michel Oosterhof
50eada87d4 change file_download to command.input 2016-10-07 17:54:00 +00:00
Bernhard Essl
18af0e48a4 add Python3 compatible "print" statement (#281)
otherwise the CI bot fails ;)
2016-10-06 07:54:35 +04:00
Michel Oosterhof
7e5fd6bf01 remove dblog_hpfeeds example 2016-10-03 11:22:59 +04:00