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
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
f28a852518
New command: date - thanks adnan!
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@114 951d7100-d841-11de-b865-b3884708a8e2
2010-06-01 04:34:53 +00:00
7381375811
New txtcmd: dmesg
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@112 951d7100-d841-11de-b865-b3884708a8e2
2010-05-29 12:49:32 +00:00
3840cbbd04
Added new command: exxxit, which actually exits (for developer's purposes)
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@111 951d7100-d841-11de-b865-b3884708a8e2
2010-05-29 12:42:42 +00:00
590540178e
adduser - replace test123 with the actual username
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@110 951d7100-d841-11de-b865-b3884708a8e2
2010-05-08 20:39:26 +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
fcbce3a6dd
New command: touch
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@107 951d7100-d841-11de-b865-b3884708a8e2
2010-04-24 13:12:31 +00:00
a3bbfab17a
* vi should be in txtcmds/usr/bin/vi
...
* Add txtcmds/usr/bin/last
git-svn-id: https://kippo.googlecode.com/svn/trunk@106 951d7100-d841-11de-b865-b3884708a8e2
2010-04-18 12:42:55 +00:00
1aaf01df15
To prevent suspicion, have only one initial easy password (123456)
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@105 951d7100-d841-11de-b865-b3884708a8e2
2010-04-14 09:38:29 +00:00
99914ad0d8
Add data/ directory, currently only used by pass.db
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@104 951d7100-d841-11de-b865-b3884708a8e2
2010-04-14 09:27:05 +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
bcab01d492
Display an error if trying to run as root, or if kippo.cfg is missing
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@102 951d7100-d841-11de-b865-b3884708a8e2
2010-04-12 17:08:03 +00:00
a7b41cf633
Handle command line options with getopt, adding support for -l
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@100 951d7100-d841-11de-b865-b3884708a8e2
2010-04-06 16:08:49 +00:00
48ecc25cc6
Moved some static commands to txtcmds/
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@99 951d7100-d841-11de-b865-b3884708a8e2
2010-04-06 15:48:40 +00:00
daa46a05fc
New command: adduser / useradd
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@98 951d7100-d841-11de-b865-b3884708a8e2
2010-04-06 14:27:37 +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
ee2aeddf26
Added new random executables
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@96 951d7100-d841-11de-b865-b3884708a8e2
2010-02-23 05:44:36 +00:00
b5c06771c1
New command: apt-get
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@95 951d7100-d841-11de-b865-b3884708a8e2
2010-02-23 05:43:39 +00:00
4438ff5d04
don't read private key as the public key
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@94 951d7100-d841-11de-b865-b3884708a8e2
2009-12-08 05:22:20 +00:00
113ec048ef
"IPv4Address.__getitem__ is deprecated. Use attributes instead." (yvesf)
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@93 951d7100-d841-11de-b865-b3884708a8e2
2009-12-07 05:37:30 +00:00
70f20d600f
Have ping ignore command line options
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@92 951d7100-d841-11de-b865-b3884708a8e2
2009-12-04 05:45:58 +00:00
ab137b2751
reboot should reset cwd
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@91 951d7100-d841-11de-b865-b3884708a8e2
2009-12-03 15:01:44 +00:00
7ff3ce631b
define eofReceived in avatar
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@90 951d7100-d841-11de-b865-b3884708a8e2
2009-12-02 21:13:19 +00:00
fdbe64f65e
wrong directory for propset - fixing
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@89 951d7100-d841-11de-b865-b3884708a8e2
2009-12-02 20:44:05 +00:00
68760f8a3c
Add svn:ignore '*.log' in log/
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@88 951d7100-d841-11de-b865-b3884708a8e2
2009-12-02 20:43:20 +00:00
51f3bfab25
tired
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@87 951d7100-d841-11de-b865-b3884708a8e2
2009-11-27 22:52:30 +00:00
463898b5c1
fix rsa key generation once more
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@86 951d7100-d841-11de-b865-b3884708a8e2
2009-11-27 22:49:32 +00:00
2ac5b46652
Fix finding kippo.cfg
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@85 951d7100-d841-11de-b865-b3884708a8e2
2009-11-27 20:44:01 +00:00
8c4eae2f57
should probably call config() before using it
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@84 951d7100-d841-11de-b865-b3884708a8e2
2009-11-26 21:33:26 +00:00
b4ef820816
New command: history
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@83 951d7100-d841-11de-b865-b3884708a8e2
2009-11-26 15:37:19 +00:00
1508f60838
don't show the yes/no question as the host
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@82 951d7100-d841-11de-b865-b3884708a8e2
2009-11-26 15:36:48 +00:00
76876dd2c2
write keypair to the files from kippo.cfg
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@80 951d7100-d841-11de-b865-b3884708a8e2
2009-11-25 19:38:17 +00:00
04fd72b436
* show client ip address in "w"
...
* a little shell tweak
git-svn-id: https://kippo.googlecode.com/svn/trunk@79 951d7100-d841-11de-b865-b3884708a8e2
2009-11-25 19:02:16 +00:00
6b1120824a
* ctrl-c should empty the line buffer
...
* don't add lines to history if within a command
git-svn-id: https://kippo.googlecode.com/svn/trunk@78 951d7100-d841-11de-b865-b3884708a8e2
2009-11-25 17:10:55 +00:00
a3dd5c0d6e
more realistic looking ssh
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@77 951d7100-d841-11de-b865-b3884708a8e2
2009-11-25 17:09:13 +00:00
51da3b27fd
Fix '..' in resolve_path_wc
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@75 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 21:46:01 +00:00
aa451bc2fd
removed list_files, which was just calling get_path
...
implemented wildcard aware path resolving
git-svn-id: https://kippo.googlecode.com/svn/trunk@74 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 21:35:51 +00:00
8f8814e705
add missing public_key & private_key
...
git-svn-id: https://kippo.googlecode.com/svn/trunk@73 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 18:53:46 +00:00