Commit Graph

1135 Commits

Author SHA1 Message Date
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
Michel Oosterhof
b155ddbe15 update docs 2016-07-14 07:04:12 +00:00
Michel Oosterhof
535d8a5e24 add fgrep, egrep, formatting, don't reuse 'path' name 2016-07-12 10:41:29 +04:00
Michel Oosterhof
013b37171d fully commented 2016-07-11 19:22:48 +04:00
Michel Oosterhof
d2ba56e8c0 various naming 2016-07-11 19:16:11 +04:00
Michel Oosterhof
d5e66564b5 various 2016-07-11 19:09:46 +04:00
Michel Oosterhof
0816f0bbe0 updated formatting 2016-07-11 18:57:09 +04:00
Michel Oosterhof
456fab8835 better escaping. 2016-07-11 18:48:53 +04:00
Michel Oosterhof
483032b459 add test case for trial purposes 2016-07-11 18:35:12 +04:00
Michel Oosterhof
c16ed3be25 timeout, spacing, formatting 2016-07-10 21:58:29 +04:00
Michel Oosterhof
4488d7dc9e better ipv6 regex 2016-07-10 21:49:54 +04:00
Dave Germiquet
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
Michel Oosterhof
89e1dc81f4 rename example venv to "cowrie-env" 2016-07-10 12:48:48 +04:00
Michel Oosterhof
06653d655e add @ to wordchars 2016-07-09 13:26:23 +00:00
Russell Troxel
cd62bfe191 Fix Uploads to asciinema server. (#207)
Thanks!
2016-07-09 17:06:31 +04:00
Amogh Pradeep
8c5c0d7201 Added missing dependency (#208) 2016-07-09 17:06:00 +04:00
Michel Oosterhof
62220d581c allow to ls files only: "ls /etc/passwd" 2016-06-29 15:46:08 +00:00
Dave Germiquet
641d7df7ec Fixed shutdown command (#200) 2016-06-27 15:59:30 +04:00
Michel Oosterhof
9b4ceab82b simplify env 2016-06-25 18:22:08 +00:00
Michel Oosterhof
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
Michel Oosterhof
5cbf315df6 Fix https://github.com/micheloosterhof/cowrie/issues/197 2016-06-24 16:09:30 +00:00
Michel Oosterhof
e406d39169 log python/perl command again as command succesful 2016-06-20 13:57:05 +00:00
Michel Oosterhof
c39f059605 fix http://github.com/micheloosterhof/cowrie/issues/195 2016-06-19 20:35:23 +00:00
Michel Oosterhof
99f55e449d move install instructions to INSTALL.md. Update preqreq 2016-06-19 13:39:09 +00:00
nkapu
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
Dave Germiquet
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
Michel Oosterhof
c1e761dd6a close connection correctly 2016-06-16 21:33:32 +04:00
Michel Oosterhof
3d4e782aaa typo fix 2016-06-16 16:21:59 +04:00
Michel Oosterhof
f96a3c0d31 Fix https://github.com/micheloosterhof/cowrie/issues/182 2016-06-16 16:08:57 +04:00
Michel Oosterhof
a64cbe9a41 rewrite 2016-06-15 18:31:22 +04:00
Michel Oosterhof
8db82c7f96 cleanup imports for session.py 2016-06-15 14:01:10 +04:00
Michel Oosterhof
663ab926af reverse activation logging for port mapping 2016-06-15 13:58:14 +04:00
dmitriy-myz
9ffeba80ec forward mapping (#148)
Sorry for the delay! Thanks for the patch!
2016-06-15 13:38:14 +04:00
Michel Oosterhof
bb935ca707 remove unused variable, clean imports 2016-06-15 13:34:01 +04:00
Dave Germiquet
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
Dave Germiquet
5daf4547ef Fixed sh and bash -c (#191) 2016-06-15 08:19:03 +04:00
Michel Oosterhof
9d0fcd92be add ^ to wordchars 2016-06-14 14:47:51 +00:00