Commit Graph

116 Commits

Author SHA1 Message Date
3a7bcc0ff5 Add support for logging downloaded files via dblog
New mysql table "downloads", see doc/sql/update7.sql



git-svn-id: https://kippo.googlecode.com/svn/trunk@224 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 17:31:29 +00:00
b53e8a65d1 Don't send key exchange prematurely
git-svn-id: https://kippo.googlecode.com/svn/trunk@220 951d7100-d841-11de-b865-b3884708a8e2
2012-07-08 16:30:32 +00:00
15777aca0e Another quick interact fix for Putty
git-svn-id: https://kippo.googlecode.com/svn/trunk@219 951d7100-d841-11de-b865-b3884708a8e2
2012-04-13 05:58:58 +00:00
f756438e51 Fix the interact feature to correctly handle line returns when using windows
telnet or putty


git-svn-id: https://kippo.googlecode.com/svn/trunk@218 951d7100-d841-11de-b865-b3884708a8e2
2012-04-13 05:46:16 +00:00
0eaf51c48e Update the uptime command to display real uptime of the honeypot, and zero
load. This closes issue #47

Also added a small change to ps output.


git-svn-id: https://kippo.googlecode.com/svn/trunk@217 951d7100-d841-11de-b865-b3884708a8e2
2012-04-08 16:41:34 +00:00
ace3015574 experiment: print out passed environment variables to the log
git-svn-id: https://kippo.googlecode.com/svn/trunk@216 951d7100-d841-11de-b865-b3884708a8e2
2012-03-27 07:05:28 +00:00
69b20c2282 Don't send banner if the banner file is not found (thanks mark)
git-svn-id: https://kippo.googlecode.com/svn/trunk@215 951d7100-d841-11de-b865-b3884708a8e2
2012-03-03 05:15:08 +00:00
8b336fbb96 don't delete a session from the sessions dict if it's not there
git-svn-id: https://kippo.googlecode.com/svn/trunk@213 951d7100-d841-11de-b865-b3884708a8e2
2011-10-23 16:40:49 +00:00
8845b2b0eb Fixes and restructuring for the session management code, as well as
disconnect handling in general


git-svn-id: https://kippo.googlecode.com/svn/trunk@212 951d7100-d841-11de-b865-b3884708a8e2
2011-10-23 12:27:01 +00:00
f2488b4173 * Write input from the session manager to ttylog with a different ID
* playlog.py now able to colorify the output based on which streams the input
   is coming form


git-svn-id: https://kippo.googlecode.com/svn/trunk@211 951d7100-d841-11de-b865-b3884708a8e2
2011-10-21 18:35:41 +00:00
f8429dfd0f Added a telnet based session management interface for interacting with active
sessions


git-svn-id: https://kippo.googlecode.com/svn/trunk@209 951d7100-d841-11de-b865-b3884708a8e2
2011-10-21 09:29:06 +00:00
796dc1babb Typing ".." in shell raises an exception (Fixes #40)
git-svn-id: https://kippo.googlecode.com/svn/trunk@207 951d7100-d841-11de-b865-b3884708a8e2
2011-04-29 12:27:55 +00:00
853c155bda #36: Support sending a banner before authentication
git-svn-id: https://kippo.googlecode.com/svn/trunk@201 951d7100-d841-11de-b865-b3884708a8e2
2011-02-10 16:33:59 +00:00
ba5c073e44 Include general configuration parameters in the cfg instance passed to
DB loggers


git-svn-id: https://kippo.googlecode.com/svn/trunk@200 951d7100-d841-11de-b865-b3884708a8e2
2011-02-07 17:01:45 +00:00
3f74d2cd44 Workaround for missing log entries by adding a direct method to communicating
with the dbloggers, thus avoiding twisted context/scope problems


git-svn-id: https://kippo.googlecode.com/svn/trunk@199 951d7100-d841-11de-b865-b3884708a8e2
2011-02-06 09:04:44 +00:00
4fde1e5c52 Fix userdb to support passwords containing the ':' character
git-svn-id: https://kippo.googlecode.com/svn/trunk@197 951d7100-d841-11de-b865-b3884708a8e2
2011-02-06 07:55:35 +00:00
950ac23907 Initial support for non-root users. Check your root passwords!
Thanks to Walter de Jong for code
Thanks to Christian Rohling for the push



git-svn-id: https://kippo.googlecode.com/svn/trunk@196 951d7100-d841-11de-b865-b3884708a8e2
2011-02-05 21:53:54 +00:00
7b607acacb Add tab completion for shell
git-svn-id: https://kippo.googlecode.com/svn/trunk@195 951d7100-d841-11de-b865-b3884708a8e2
2011-02-05 18:44:00 +00:00
b06ddcfced Don't perform fake exit on certain SSH clients
git-svn-id: https://kippo.googlecode.com/svn/trunk@193 951d7100-d841-11de-b865-b3884708a8e2
2011-02-03 16:35:54 +00:00
556a0962c5 Tweaks for symbolic links, display /etc/motd on login
git-svn-id: https://kippo.googlecode.com/svn/trunk@192 951d7100-d841-11de-b865-b3884708a8e2
2011-02-03 16:25:45 +00:00
b607e8640c support multiple dblog targets of same type (by common)
git-svn-id: https://kippo.googlecode.com/svn/trunk@186 951d7100-d841-11de-b865-b3884708a8e2
2011-01-17 12:15:24 +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
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
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
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
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
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
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
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
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
dc6432bcdd * Experimental MySQL logging; see kippo.cfg.dist and doc/sql/mysql.sql
* Initial root password now set in kippo.cfg



git-svn-id: https://kippo.googlecode.com/svn/trunk@116 951d7100-d841-11de-b865-b3884708a8e2
2010-06-08 17:37:16 +00:00
8a34f34062 fix deprecation warnings when creating the keypair
git-svn-id: https://kippo.googlecode.com/svn/trunk@115 951d7100-d841-11de-b865-b3884708a8e2
2010-06-01 05:36:14 +00:00
b4d672361b Add support for ctrl-d and ctrl-u
git-svn-id: https://kippo.googlecode.com/svn/trunk@109 951d7100-d841-11de-b865-b3884708a8e2
2010-05-08 20:38:09 +00:00
35d65efd8d Add support for passing environment variables, for example:
PATH=. foobar --args


git-svn-id: https://kippo.googlecode.com/svn/trunk@108 951d7100-d841-11de-b865-b3884708a8e2
2010-04-28 20:02:15 +00:00
7f8f5d2ed9 * Added the ability to add new root passwords to data/pass.db (anydbm). This
is utilized by the passwd command.
 * New kippo.cfg entries: data_path & txtcmds_path


git-svn-id: https://kippo.googlecode.com/svn/trunk@103 951d7100-d841-11de-b865-b3884708a8e2
2010-04-14 09:26:04 +00:00
b7406b54bb Added ability to add commands to the honeypot by adding a textfile in txtcmds/
git-svn-id: https://kippo.googlecode.com/svn/trunk@97 951d7100-d841-11de-b865-b3884708a8e2
2010-04-06 05:35:38 +00:00