1436 Commits

Author SHA1 Message Date
Michel Oosterhof
e4950e3713 Squashed commit of the following:
commit 16466803b98f1dcbe9ba264346bc12a22215e0c4
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sat Sep 24 09:17:06 2016 +0000

    wip

commit e1bbb9bff1b0e69b6300894a858b1fbf8b2215ae
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Fri Sep 23 20:27:19 2016 +0000

    make copy of env. not original

commit fdddad4fc683ab3c61b9330d553a0efd0bd3bbfa
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Fri Sep 23 20:26:49 2016 +0000

    simplify more

commit c31b88dd075a01551be006d03539d5fab2e216a9
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Fri Sep 23 20:17:11 2016 +0000

    simplify command passing

commit 9c7fe9dc0646814e270e06551ffd7c7f69e3acf0
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Fri Sep 23 19:42:32 2016 +0000

    replace command/args -> argv

commit 3ea6dd00947aeb9b1ebf7d7e61ae5888d02c3276
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Fri Sep 23 19:11:49 2016 +0000

    rargs -> args

commit 3eb4e77fc056f3458ce22fe4f8177ca95019c938
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Fri Sep 23 19:06:18 2016 +0000

    rename to CowrieProcess

commit 603c9611d53380163323fc85749970ea323a8582
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Thu Sep 22 19:13:41 2016 +0000

    wip

commit c253b4031476c7e5f912b9cbeb49887ef97023d0
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 21:08:29 2016 +0000

    formatting

commit 730df305057a19a22754ba6d3883e75db653d235
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 21:03:14 2016 +0000

    formatting

commit 1e167e9a535b7173abb32e07ae5157dac53af08d
Author: Dave Germiquet <davegermiquet@trulycanadian.net>
Date:   Wed Sep 7 10:01:43 2016 -0400

    Fixed bug(missing err_data in stdout)

commit 23150cb25581d27e2efc9b43b2a7655f9cd1fcd8
Author: Dave Germiquet <davegermiquet@trulycanadian.net>
Date:   Sun Sep 4 22:02:00 2016 -0400

    Used Stack to keep track of running commands
    Fixed up LOg out
    Took out debug line
    MAde it more like master, (took out unneeded changes)
    Added check back for length
    Fixed up some trouble issues with passwd/and call backs
    Removed debugging logging statements
    Reformatted for master/merge
    Took out parameter in constructor..which broke everything

    Second Implementation Choice

commit daf0c74db8a3357342ac2d448fc68cfef0fc7a28
Author: Dave Germiquet <davegermiquet@trulycanadian.net>
Date:   Sun Sep 4 04:24:22 2016 -0400

    Fixed up PIPE and ; implemetation
    Fixed up WGET, so now it should show prompt by using when commands have stopped.
2016-09-24 09:19:52 +00:00
Michel Oosterhof
12ec797bbb add option to disable ssh 2016-09-23 19:55:34 +00:00
Michel Oosterhof
910256686b typo fix, only impacts log message 2016-09-20 18:22:33 +00:00
Dave Germiquet
dc08166308 Fixed error code and message with wget (#266) 2016-09-20 22:05:42 +04:00
Michel Oosterhof
a8c7f4da4c fix sessoinno 2016-09-19 16:00:26 +00:00
Michel Oosterhof
d0eac4dcba require Twisted 15.2.1 for future logger work 2016-09-19 12:52:52 +04:00
Michel Oosterhof
261d9c95c3 remove debug print statement 2016-09-19 11:40:31 +04:00
Michel Oosterhof
54f13c6467 use getboolean() rather than get() 2016-09-19 11:32:13 +04:00
Michel Oosterhof
8cd1df882f Fix #268 2016-09-19 11:15:14 +04:00
Dave Germiquet
fc8620a2da Added some assertEquals to shell commands (RegExp) (#199) 2016-09-19 10:09:30 +04:00
Michel Oosterhof
4075e55c3d python3 compat 2016-09-18 21:25:50 +00:00
Michel Oosterhof
d6c6d7a788 python 3 compatible. maxdepht = 100 by default 2016-09-18 21:19:49 +00:00
Michel Oosterhof
68455baae6 fix > for telnet 2016-09-18 21:13:58 +00:00
Michel Oosterhof
67c568ba76 new FAQ location 2016-09-18 16:48:49 +00:00
Michel Oosterhof
57a349d291 formatting + debug remove 2016-09-18 16:45:04 +00:00
Michel Oosterhof
a98163ce93 Squashed commit of the following:
commit b9a01e7652625aae03b3a2114a422695694ed0e7
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 15:43:16 2016 +0000

    py3 comp

commit b0d927fb359d187ca520f21c6542bdead04546fd
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 15:31:45 2016 +0000

    wip
2016-09-18 15:44:13 +00:00
Michel Oosterhof
3ea2012e27 earlier fix broke dispatch 2016-09-18 15:37:15 +00:00
Michel Oosterhof
d410925584 remove unused dependencies 2016-09-18 15:20:47 +00:00
Michel Oosterhof
e5ec9bf1de remove unused dependencies 2016-09-18 15:18:57 +00:00
Michel Oosterhof
bb3b05e530 undo Crypto addon? 2016-09-18 15:07:52 +00:00
Michel Oosterhof
91dca9f1c6 use 'open', not 'file' for py3 2016-09-18 14:57:55 +00:00
Michel Oosterhof
1efa964d45 py3 comp 2016-09-18 14:52:36 +00:00
Michel Oosterhof
f388b76937 Squashed commit of the following:
commit 79fff5332ba74bab40d0059e1051ca62614488ff
Merge: 645f25f 39c9fa4
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 14:46:09 2016 +0000

    Merge branch 'configparser' of https://github.com/micheloosterhof/cowrie into configparser

commit 645f25f6f22dbe374b544f08d69b7de2ef0dcb45
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 14:37:46 2016 +0000

    rewrite code for prompt. this had issues with unicode

commit 99adf95f27ef03b229e592f1fa393cf66be3faf0
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 14:15:10 2016 +0000

    can't use "mode"

commit bee2b6693fe009d361a0b117c67d11f37ed21c41
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 14:09:57 2016 +0000

    configparser changes. not working well yet on py2

commit 39c9fa406cca9ede51af8329280af81fff870e31
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 14:37:46 2016 +0000

    rewrite code for prompt. this had issues with unicode

commit 3dd08206fcb4c7dd0a66d20b914e3279947c77de
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 14:15:10 2016 +0000

    can't use "mode"

commit f54272b239409b65ef0292ac328b0a2efccbe6cd
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sun Sep 18 14:09:57 2016 +0000

    configparser changes. not working well yet on py2
2016-09-18 14:51:02 +00:00
Michel Oosterhof
0a1d259cdc 'Crypto' is a missing dependency 2016-09-18 14:41:01 +00:00
Michel Oosterhof
45cbc2b59e switch to configparser 2016-09-18 13:38:20 +00:00
Michel Oosterhof
3fd7116d1e properly separate ssh and telnet session 2016-09-18 13:20:58 +00:00
Michel Oosterhof
7bde19b403 fix 2016-09-18 12:40:17 +00:00
Michel Oosterhof
37db3abed3 initialize flags correctly 2016-09-18 15:57:25 +04:00
Michel Oosterhof
eec4d716f2 set PYTHONPATH 2016-09-18 15:54:23 +04:00
Michel Oosterhof
eacff8c767 add cowrie.command.input for the raw inputted command 2016-09-18 10:27:07 +00:00
Michel Oosterhof
3d8085e86a bannerfile is optional 2016-09-07 12:15:20 +04:00
Michel Oosterhof
0b92ec370d remove default issue.net 2016-09-07 12:10:47 +04:00
Michel Oosterhof
4841a8b83c without semicolon works 2016-09-07 11:36:07 +04:00
Michel Oosterhof
588abd830a set PYTHONPATH explicitly 2016-09-07 11:20:19 +04:00
Dave Germiquet
a438ee8272 Fixed interact by using the correct variable....wrong variable name in interact.py (#254) 2016-09-07 11:17:54 +04:00
Michel Oosterhof
b38add4e1e Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2016-09-07 11:14:34 +04:00
Michel Oosterhof
710a8221ae single space between command and arguments 2016-09-06 17:41:44 +04:00
Dave Germiquet
96447d2789 Fix unit tests due to log path (#249)
* Fix unit tests due to log path

* Add fake formatting function which just returns true
2016-09-06 01:39:38 +04:00
Michel Oosterhof
9c730b7257 implement 'ls -d' flag 2016-09-05 23:16:55 +04:00
Michel Oosterhof
4b9b86356f Fix #219 2016-09-05 23:09:49 +04:00
Michel Oosterhof
d41602a766 log from transport now instead of protocol 2016-09-05 21:59:43 +04:00
Michel Oosterhof
6ea509321f remove SSH specific for logging to enable telnet logging 2016-09-05 21:00:34 +04:00
Michel Oosterhof
21e5ba8b5a i think travis gets upset about pycrypto 2016-09-05 02:23:18 +04:00
Michel Oosterhof
309b4efbec Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2016-09-05 01:22:34 +04:00
Michel Oosterhof
2c77ef44f8 Fix #243: don't log passwd change as file download 2016-09-05 01:22:00 +04:00
dzflack
87bc9237ee add note about raspberry pi installation (#236) 2016-09-05 01:12:32 +04:00
Michel Oosterhof
2bef5c0db8 move lastlog to log/ as suggested by @boozezela 2016-09-05 01:10:39 +04:00
Michel Oosterhof
803f91e91e small tweaks 2016-09-05 01:00:00 +04:00
Michel Oosterhof
35954277e2 roll back trial change 2016-09-05 00:44:11 +04:00
Michel Oosterhof
56fe7c0353 explicitly run cowrie.test 2016-09-05 00:37:16 +04:00