Commit Graph

799 Commits

Author SHA1 Message Date
1b24c69b44 Add xmpp logging (by common)
git-svn-id: https://kippo.googlecode.com/svn/trunk@185 951d7100-d841-11de-b865-b3884708a8e2
2010-12-02 19:39:23 +00:00
9f33a5a3cb fix deprecated md5 calls (Tomasz Miklas)
git-svn-id: https://kippo.googlecode.com/svn/trunk@183 951d7100-d841-11de-b865-b3884708a8e2
2010-11-03 05:20:41 +00:00
cc8aa24d88 Add some documentation to kippo.cfg.dist
git-svn-id: https://kippo.googlecode.com/svn/trunk@180 951d7100-d841-11de-b865-b3884708a8e2
2010-10-31 12:20:07 +00:00
ce1ad9e87c Skip files if they cause trouble
git-svn-id: https://kippo.googlecode.com/svn/trunk@178 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 15:11:50 +00:00
0230b42805 New command: shutdown (jfbethlehem)
git-svn-id: https://kippo.googlecode.com/svn/trunk@177 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 15:08:53 +00:00
05b7471708 Add support for fake client IP address (Janne Snabb)
git-svn-id: https://kippo.googlecode.com/svn/trunk@176 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 14:57:14 +00:00
34a99b876f Fix exception on a command line without a command, like:
PATH=.


git-svn-id: https://kippo.googlecode.com/svn/trunk@174 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 14:11:55 +00:00
b4a2e04d99 Add support for multiple long engines.
NOTE: .cfg changed!


git-svn-id: https://kippo.googlecode.com/svn/trunk@173 951d7100-d841-11de-b865-b3884708a8e2
2010-10-23 12:32:49 +00:00
4af62a5baf fix typo, thanks SURFkees
git-svn-id: https://kippo.googlecode.com/svn/trunk@171 951d7100-d841-11de-b865-b3884708a8e2
2010-10-18 15:31:16 +00:00
b6d5844b71 add support for listening on multiple IP addresses
git-svn-id: https://kippo.googlecode.com/svn/trunk@169 951d7100-d841-11de-b865-b3884708a8e2
2010-08-19 18:21:47 +00:00
8f0eed20b3 remove unnecessary support for requesting terminal title
git-svn-id: https://kippo.googlecode.com/svn/trunk@168 951d7100-d841-11de-b865-b3884708a8e2
2010-08-19 18:19:54 +00:00
e0a478c3b9 Use a common 32bit little-endian format for ttylog. Existing logs on 64bit
systems will be incompatible).

Added a conversion script (convert32.py).


git-svn-id: https://kippo.googlecode.com/svn/trunk@167 951d7100-d841-11de-b865-b3884708a8e2
2010-08-16 16:15:18 +00:00
de1ee43102 re-add the reconnect hack
git-svn-id: https://kippo.googlecode.com/svn/trunk@166 951d7100-d841-11de-b865-b3884708a8e2
2010-08-14 14:15:57 +00:00
10e8b2e3ec try not using reconnecting hack for adbapi to fix Dave_w's problem
git-svn-id: https://kippo.googlecode.com/svn/trunk@165 951d7100-d841-11de-b865-b3884708a8e2
2010-08-14 12:36:20 +00:00
d5df79226e Fix for something I don't remember
git-svn-id: https://kippo.googlecode.com/svn/trunk@164 951d7100-d841-11de-b865-b3884708a8e2
2010-08-14 08:12:18 +00:00
c115dd3952 Updated mysql schema for the new non-blocking mysql code
git-svn-id: https://kippo.googlecode.com/svn/trunk@163 951d7100-d841-11de-b865-b3884708a8e2
2010-08-14 08:10:32 +00:00
68e5d2ec49 Rewrote the mysql code to use adbapi for non-blocking operation
NOTE: schema changes are needed! (update5.sql)


git-svn-id: https://kippo.googlecode.com/svn/trunk@162 951d7100-d841-11de-b865-b3884708a8e2
2010-08-14 07:27:38 +00:00
d089b564b6 Moved filesystem related commands to kippo/commands/fs.py
git-svn-id: https://kippo.googlecode.com/svn/trunk@160 951d7100-d841-11de-b865-b3884708a8e2
2010-07-13 17:06:32 +00:00
eb708a2f08 New commands: cp & mv
git-svn-id: https://kippo.googlecode.com/svn/trunk@159 951d7100-d841-11de-b865-b3884708a8e2
2010-07-13 17:00:53 +00:00
e5ac632312 Added some missing honeyfs/ files
git-svn-id: https://kippo.googlecode.com/svn/trunk@158 951d7100-d841-11de-b865-b3884708a8e2
2010-07-09 08:15:28 +00:00
2452002524 SSH client version is now handled by db logging
git-svn-id: https://kippo.googlecode.com/svn/trunk@157 951d7100-d841-11de-b865-b3884708a8e2
2010-07-06 10:00:59 +00:00
ffa21b06c0 cleanup to test an rss feed
git-svn-id: https://kippo.googlecode.com/svn/trunk@156 951d7100-d841-11de-b865-b3884708a8e2
2010-07-05 17:08:31 +00:00
fafe2f639c Log the client version string during connection
git-svn-id: https://kippo.googlecode.com/svn/trunk@155 951d7100-d841-11de-b865-b3884708a8e2
2010-07-05 16:55:03 +00:00
b2cb068857 create full directory paths if needed when untarring
git-svn-id: https://kippo.googlecode.com/svn/trunk@153 951d7100-d841-11de-b865-b3884708a8e2
2010-06-30 13:24:28 +00:00
690eb07b2e accidentally left 'last' out of the reverted code
git-svn-id: https://kippo.googlecode.com/svn/trunk@152 951d7100-d841-11de-b865-b3884708a8e2
2010-06-30 13:23:53 +00:00
f6665ab796 Revert command module loading change until fixed
git-svn-id: https://kippo.googlecode.com/svn/trunk@151 951d7100-d841-11de-b865-b3884708a8e2
2010-06-30 06:28:00 +00:00
0d70a7b4e0 last improvements + last now uses a plain text file instead of anydbm
git-svn-id: https://kippo.googlecode.com/svn/trunk@150 951d7100-d841-11de-b865-b3884708a8e2
2010-06-29 20:00:02 +00:00
d8b1b0df63 To simplify customization, load kippo/commands/*.py using a directory listing
git-svn-id: https://kippo.googlecode.com/svn/trunk@149 951d7100-d841-11de-b865-b3884708a8e2
2010-06-29 19:15:32 +00:00
aee8bc4d20 Fix some wget error handling
git-svn-id: https://kippo.googlecode.com/svn/trunk@148 951d7100-d841-11de-b865-b3884708a8e2
2010-06-29 19:14:26 +00:00
59eba484a5 Fix lastlog sorting (Janne Snabb)
git-svn-id: https://kippo.googlecode.com/svn/trunk@147 951d7100-d841-11de-b865-b3884708a8e2
2010-06-29 19:13:56 +00:00
9b6677c509 Add support for keyboard-interactive authentication
(contributed by Janne Snabb)


git-svn-id: https://kippo.googlecode.com/svn/trunk@145 951d7100-d841-11de-b865-b3884708a8e2
2010-06-28 19:01:02 +00:00
00664d251a Request the window title with terminal control codes, and parse the result.
The title, as well as screen height & width are now saved to sql->sessions



git-svn-id: https://kippo.googlecode.com/svn/trunk@144 951d7100-d841-11de-b865-b3884708a8e2
2010-06-28 13:17:46 +00:00
3779ba2471 Added patches submitted by Janne Snabb:
* New config option "ssh_addr", which can be used to be bind kippo to a
   specific IP 
 * New config option "out_addr", which tells kippo to bind to a specific IP
   for outgoing connections (wget)
 * wget now sends a fake user-agent
 * anydbm .iterkeys() isn't necessarily available (passwd, last)


git-svn-id: https://kippo.googlecode.com/svn/trunk@143 951d7100-d841-11de-b865-b3884708a8e2
2010-06-27 20:18:22 +00:00
e9fee2d937 Added a simple tool for editing data/pass.db
git-svn-id: https://kippo.googlecode.com/svn/trunk@142 951d7100-d841-11de-b865-b3884708a8e2
2010-06-24 23:12:40 +00:00
c5604e7f66 By default, start recursing from /
git-svn-id: https://kippo.googlecode.com/svn/trunk@141 951d7100-d841-11de-b865-b3884708a8e2
2010-06-24 12:03:31 +00:00
08c78407ab Issue #16:
Last 25 users connecting to honeypot will be seen using 'last'.
anydbm database, logs all in a last-like format.

(by jfbethlehem)



git-svn-id: https://kippo.googlecode.com/svn/trunk@140 951d7100-d841-11de-b865-b3884708a8e2
2010-06-21 17:53:35 +00:00
c535742c38 New command: logout == exit (Janne Snabb)
git-svn-id: https://kippo.googlecode.com/svn/trunk@139 951d7100-d841-11de-b865-b3884708a8e2
2010-06-21 04:57:24 +00:00
d95a85401b Fix #15, touch crashes when trying to touch unreachable files
(by jfbethlehem)


git-svn-id: https://kippo.googlecode.com/svn/trunk@136 951d7100-d841-11de-b865-b3884708a8e2
2010-06-18 18:29:02 +00:00
dbc3e1b13a Fix issue #14, tar hangs when trying to unpack a file without a directory
(by jfbethlehem)


git-svn-id: https://kippo.googlecode.com/svn/trunk@135 951d7100-d841-11de-b865-b3884708a8e2
2010-06-18 18:21:35 +00:00
5158a41fea Don't try to save a non-existant ttylog
git-svn-id: https://kippo.googlecode.com/svn/trunk@128 951d7100-d841-11de-b865-b3884708a8e2
2010-06-17 17:55:07 +00:00
7cb8e06949 Changes to the MySQL schema to be more like jfbethlehem's SQLite schema.
An update2.sql is provided that might update the schema without data loss,
however if you value your data, it's a good idea to create a backup first.



git-svn-id: https://kippo.googlecode.com/svn/trunk@127 951d7100-d841-11de-b865-b3884708a8e2
2010-06-17 17:11:22 +00:00
bd23dd9fd4 the UTC timestamp returned by nowUnix() was skewed by DST
git-svn-id: https://kippo.googlecode.com/svn/trunk@126 951d7100-d841-11de-b865-b3884708a8e2
2010-06-17 09:09:37 +00:00
909985c63a Possible win32 fix for loading the filesystem pickle
git-svn-id: https://kippo.googlecode.com/svn/trunk@125 951d7100-d841-11de-b865-b3884708a8e2
2010-06-17 06:11:23 +00:00
f1381d2e96 Logging improvements:
* redo the logger in a way that allows the host ip from the connection to be
   saved to the db
 * ignore mysql errors (such as connectivity problems)


git-svn-id: https://kippo.googlecode.com/svn/trunk@123 951d7100-d841-11de-b865-b3884708a8e2
2010-06-16 14:51:26 +00:00
7ca121347a Fix dblog breaking
git-svn-id: https://kippo.googlecode.com/svn/trunk@122 951d7100-d841-11de-b865-b3884708a8e2
2010-06-16 10:41:37 +00:00
b88af200e8 * Fix some dblog brokenness
* Set the ttylog column for mysql to "MEDIUMBLOB"
 * Limit the ttylog size written to the database to 10 Megabytes


git-svn-id: https://kippo.googlecode.com/svn/trunk@121 951d7100-d841-11de-b865-b3884708a8e2
2010-06-11 04:59:52 +00:00
97908aad25 Fix broken log parsing
git-svn-id: https://kippo.googlecode.com/svn/trunk@120 951d7100-d841-11de-b865-b3884708a8e2
2010-06-09 09:23:05 +00:00
4c19790e43 Allow sensor name to be configured in kippo.cfg
git-svn-id: https://kippo.googlecode.com/svn/trunk@119 951d7100-d841-11de-b865-b3884708a8e2
2010-06-09 06:50:41 +00:00
1b757c8f64 Have mysql reconnect if disconnected
git-svn-id: https://kippo.googlecode.com/svn/trunk@118 951d7100-d841-11de-b865-b3884708a8e2
2010-06-09 04:46:50 +00:00
dd847cfba7 Log full command line for known/unknown commands
git-svn-id: https://kippo.googlecode.com/svn/trunk@117 951d7100-d841-11de-b865-b3884708a8e2
2010-06-08 19:13:09 +00:00