3176 Commits

Author SHA1 Message Date
ae3b9eb04a ignore ctrl-v 2016-07-14 13:26:13 +04:00
5ac1ad25cf fix time based logout 2016-07-14 13:17:41 +04:00
144f1a80fd add start at boot-time 2016-07-14 07:41:44 +00:00
40ac3b19e8 first version of systemd service file 2016-07-14 07:28:14 +00:00
b155ddbe15 update docs 2016-07-14 07:04:12 +00:00
535d8a5e24 add fgrep, egrep, formatting, don't reuse 'path' name 2016-07-12 10:41:29 +04:00
013b37171d fully commented 2016-07-11 19:22:48 +04:00
d2ba56e8c0 various naming 2016-07-11 19:16:11 +04:00
d5e66564b5 various 2016-07-11 19:09:46 +04:00
0816f0bbe0 updated formatting 2016-07-11 18:57:09 +04:00
456fab8835 better escaping. 2016-07-11 18:48:53 +04:00
483032b459 add test case for trial purposes 2016-07-11 18:35:12 +04:00
c16ed3be25 timeout, spacing, formatting 2016-07-10 21:58:29 +04:00
4488d7dc9e better ipv6 regex 2016-07-10 21:49:54 +04:00
3764b4f93b FIXED XMPP (#205)
* FIXED XMPP
Include ::1 in ev[system]

* Fixed ipv6 stuff

* Needs a : For ipv6
2016-07-10 21:48:48 +04:00
89e1dc81f4 rename example venv to "cowrie-env" 2016-07-10 12:48:48 +04:00
06653d655e add @ to wordchars 2016-07-09 13:26:23 +00:00
cd62bfe191 Fix Uploads to asciinema server. (#207)
Thanks!
2016-07-09 17:06:31 +04:00
8c5c0d7201 Added missing dependency (#208) 2016-07-09 17:06:00 +04:00
62220d581c allow to ls files only: "ls /etc/passwd" 2016-06-29 15:46:08 +00:00
641d7df7ec Fixed shutdown command (#200) 2016-06-27 15:59:30 +04:00
9b4ceab82b simplify env 2016-06-25 18:22:08 +00:00
d78d6c2399 formatting, '-h' option, no option behavior. 2016-06-25 18:17:53 +00:00
1db73be8a0 Quick service implementation (#196)
* Implemented the service command

* Fixed the command not exiting correctly, removed flags from getopt

* removed handle_CTRL_D, lineReceived
2016-06-25 22:10:41 +04:00
5cbf315df6 Fix https://github.com/micheloosterhof/cowrie/issues/197 2016-06-24 16:09:30 +00:00
e406d39169 log python/perl command again as command succesful 2016-06-20 13:57:05 +00:00
c39f059605 fix http://github.com/micheloosterhof/cowrie/issues/195 2016-06-19 20:35:23 +00:00
99f55e449d move install instructions to INSTALL.md. Update preqreq 2016-06-19 13:39:09 +00:00
d2eb56c0f5 start.sh and requirements improvements & no moduli fail fix with key exchanges (#194)
* Extra arguments to start.sh and improved requirements doc

Added possibly to pass extra arguments to twistd in start.sh (e.g. `env XARGS=--nodaemon ./start.sh`). Fixed list of the dependencies based on the issue micheloosterhof/cowrie#132 and added example of dependencies in practice for alpine:3.4.

* Fixes no moduli fail with key exchanges

Tries to fix issue micheloosterhof/cowrie#193

* Missing requirement and fixed logging
2016-06-19 17:36:48 +04:00
c8b7523569 Fixed up sh -c so if its an invalid file it will display command not found (#192) 2016-06-19 10:21:08 +04:00
c1e761dd6a close connection correctly 2016-06-16 21:33:32 +04:00
3d4e782aaa typo fix 2016-06-16 16:21:59 +04:00
f96a3c0d31 Fix https://github.com/micheloosterhof/cowrie/issues/182 2016-06-16 16:08:57 +04:00
a64cbe9a41 rewrite 2016-06-15 18:31:22 +04:00
8db82c7f96 cleanup imports for session.py 2016-06-15 14:01:10 +04:00
663ab926af reverse activation logging for port mapping 2016-06-15 13:58:14 +04:00
9ffeba80ec forward mapping (#148)
Sorry for the delay! Thanks for the patch!
2016-06-15 13:38:14 +04:00
bb935ca707 remove unused variable, clean imports 2016-06-15 13:34:01 +04:00
15cdfa4b10 Cowrie Unit Tests (#188)
* Can run LS in TEST assertion.
Having a problem when assert ends with this:
DirtyReactorAggregateError: Reactor was unclean

* First Test Case Enabled
Modified Example configuration file
Added some test unit cases for all BASE commands
Some more additions to FakeTransport.
Used Official Config file instead of mock config
Separated FakeTransport from unitTests
Added FS commands to testing
Fixed up some problems with grep in test case
You can now run unit tests with trial.
We should probably copy over the data files in a script to a common location....however to run unit tests using trial
trial cowrie/unittests/TestBaseCommands.py
Fixed rmdir test.
Fixed Some Formatting for TwistedChecker
2016-06-15 13:20:52 +04:00
5daf4547ef Fixed sh and bash -c (#191) 2016-06-15 08:19:03 +04:00
9d0fcd92be add ^ to wordchars 2016-06-14 14:47:51 +00:00
5fb34f9ee1 twistedchecker formatting 2016-06-13 08:54:15 +00:00
50ff8c4362 Merge pull request #187 from davegermiquet/FIXPIPEBYINSERTTOLIST
Fixed up SUDO / BusyBOX with a better implementation
2016-06-13 12:47:49 +04:00
7c655a6c6b Minor bug fixes 2016-06-12 13:00:02 -04:00
6259e81bee Print error out instead of standard out for help and error messages 2016-06-12 12:30:47 -04:00
115048aae8 Fixed up SUDO with a better implementation 2016-06-12 12:20:32 -04:00
cd4c4ffad3 remove uptime(reset) functionality 2016-06-10 17:48:36 +04:00
743b672e85 split off uptime 2016-06-10 17:46:40 +04:00
3b185f59ff Merge pull request #184 from davegermiquet/IFCONDITION
ADD IF CONDITION In case connection was lost, or something happens to…
2016-06-06 19:54:53 +04:00
4a48507491 Fixed if/Else Statement 2016-06-02 18:52:05 -04:00