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
Michel Oosterhof
5fb34f9ee1
twistedchecker formatting
2016-06-13 08:54:15 +00:00
Michel Oosterhof
50ff8c4362
Merge pull request #187 from davegermiquet/FIXPIPEBYINSERTTOLIST
...
Fixed up SUDO / BusyBOX with a better implementation
2016-06-13 12:47:49 +04:00
davegermiquet
7c655a6c6b
Minor bug fixes
2016-06-12 13:00:02 -04:00
davegermiquet
6259e81bee
Print error out instead of standard out for help and error messages
2016-06-12 12:30:47 -04:00
davegermiquet
115048aae8
Fixed up SUDO with a better implementation
2016-06-12 12:20:32 -04:00
Michel Oosterhof
cd4c4ffad3
remove uptime(reset) functionality
2016-06-10 17:48:36 +04:00
Michel Oosterhof
743b672e85
split off uptime
2016-06-10 17:46:40 +04:00
Michel Oosterhof
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
davegermiquet
4a48507491
Fixed if/Else Statement
2016-06-02 18:52:05 -04:00
davegermiquet
d602ac4b46
ADD IF CONDITION In case connection was lost, or something happens to write
...
terminal to be null
2016-06-02 17:56:54 -04:00
Michel Oosterhof
4be619f96e
Merge pull request #183 from davegermiquet/SUGGESTEDFIX
...
Suggestedfix
2016-06-02 10:06:27 +04:00
davegermiquet
674b6839a8
Fixed CTRL-D issue.
2016-06-01 21:09:14 -04:00
davegermiquet
b869867266
Renamed self.error to self.errorWrite to fix possible problem with webClient
2016-06-01 21:09:14 -04:00
Michel Oosterhof
fdfa04d7fb
few fixes
2016-06-01 22:13:27 +04:00
Michel Oosterhof
83e7c6824f
virtual env instructions
2016-06-01 22:09:44 +04:00